product-starter: Skill for Claude Code

.claude/skills/fix-error/SKILL.md

fix-error is a skill for Claude Code from jujunjun110/product-starter. It costs 36 tokens per session (464 once invoked), scanned A, original, MIT.

An error-fixing workflow that reads an error message, investigates its root cause in the code, applies an architecture-compliant fix, and runs project checks.

In plain words
What is it for?
Use it to fix TypeScript errors, dependency-direction violations, Prisma schema issues, or lint failures, then verify the project.
Why use it?
It helps avoid temporary workarounds and catches related type, dependency, database, or lint problems after a change.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is jujunjun110/product-starter's own configuration. It tells Claude Code how to work on product-starter itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything product-starter configures →

Reuse

Borrowing it

Nothing to install: this file belongs to jujunjun110/product-starter. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/jujunjun110/product-starter/main/.claude/skills/fix-error/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/jujunjun110/product-starter

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for fix-error

README.md
[![agentmods](https://agentmods.dev/badge/skills/jujunjun110/product-starter/fix-error/github.svg)](https://agentmods.dev/skills/jujunjun110/product-starter/fix-error)
Your own site
<a href="https://agentmods.dev/skills/jujunjun110/product-starter/fix-error"><img src="https://agentmods.dev/badge/skills/jujunjun110/product-starter/fix-error/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for fix-error

Your own site · 80×15
<a href="https://agentmods.dev/skills/jujunjun110/product-starter/fix-error"><img src="https://agentmods.dev/badge/skills/jujunjun110/product-starter/fix-error.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 464 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00036 $0.00464
Opus 5.5 $0.00014 $0.00186
Sonnet 5.5 $0.00007 $0.00093
Haiku 4.5 $0.00004 $0.00046

Measured 1mo ago against content hash c4ac6016ea7f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

fix-error scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/fix-error/SKILL.md · 40 lines

What it actually says

エラー修正スキル

ユーザーがエラーメッセージを貼り付けて「直して」と指示したときに適用する。

手順

  1. エラーメッセージを解析 — エラーの種類と発生箇所を特定
  2. 原因を特定 — コードを読んで根本原因を調査
  3. 修正を実施 — アーキテクチャルールに違反しない形で修正
  4. 検証 — pnpm verify で全チェックがパスすることを確認

よくあるエラーと対処

型エラー(TypeScript)

  • tsc --noEmit で確認
  • 型の不一致を修正。any は使わない

依存方向違反(dependency-cruiser)

  • pnpm depcruise で確認
  • 依存方向: presentation → application → domain ← infrastructure
  • application から infrastructure を直接 import している場合 → Gateway interface 経由に修正
  • presentation/loaders,actions から domain,infrastructure を import している場合 → composition 経由に修正

Prisma エラー

  • スキーマ変更後に pnpm --filter webapp prisma generate を忘れている場合が多い
  • マイグレーションが必要な場合は pnpm db:migrate

lint エラー

  • pnpm lint:fix で自動修正

ルール

  • 修正時もアーキテクチャルール(依存方向、命名規約)を守る
  • 修正後は必ず pnpm verify を実行
  • エラーの根本原因を修正する(場当たり的な回避策は避ける)
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 40 lines · 36 tokens per session scan A c4ac6016ea7f

Subscribe to this mod's changes

fix-error is a skill published in the GitHub repository jujunjun110/product-starter (17 stars, last pushed 4mo ago), licensed MIT. It adds 36 tokens to every session and 464 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

systematic-debugging

Use when debugging a failing test, build error, or runtime issue that isn't immediately obvious. Guides a 4-phase root cause analysis instead of random fix attempts.

open-metadata/OpenMetadata · 37 tokens

log-error-digest

Analyze log files to troubleshoot errors, identify peak error periods, and produce error clustering, frequency statistics, and time distribution reports. Supports JSON, syslog, and Nginx formats with automatic detection. Use when a user uploads a .log file and asks to analyze errors, find patterns, debug issues, or…

zebbern/claude-code-guide · 71 tokens

cwv-optimizer

Diagnose and fix Core Web Vitals issues on AEM Edge Delivery Services pages. Goes deeper than generic CWV advice by understanding EDS-specific performance patterns including the 100KB LCP budget, E-L-D loading phases, block rendering behavior, and third-party script impact. Produces specific fixes for LCP, CLS, and…

adobe/skills · 112 tokens

incident-response-incident-response

Coordinate production incident triage, mitigation, investigation, recovery, and follow-up. Use when responding to outages or other incidents that require structured operational coordination.

rmyndharis/antigravity-skills · 36 tokens

ci-fixer

CI failures - read error, minimal fix, verify.

sipyourdrink-ltd/bernstein · 15 tokens

diagnosing-missing-recordings

Diagnoses why a session recording is missing or was not captured. Use when a user asks why a session has no replay, why recordings aren't appearing, or wants to troubleshoot session replay capture issues for a specific session ID or across their project. Covers SDK diagnostic signals, project settings, sampling…

PostHog/posthog · 76 tokens