create-claude-webapp 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/.claude/agents/acceptance-test-generator.md +256 -0
  2. package/.claude/agents/auth-flow-designer.md +93 -0
  3. package/.claude/agents/code-reviewer.md +193 -0
  4. package/.claude/agents/code-verifier.md +194 -0
  5. package/.claude/agents/deployment-executor.md +90 -0
  6. package/.claude/agents/design-sync.md +226 -0
  7. package/.claude/agents/document-reviewer.md +304 -0
  8. package/.claude/agents/environment-validator.md +100 -0
  9. package/.claude/agents/integration-test-reviewer.md +196 -0
  10. package/.claude/agents/investigator.md +162 -0
  11. package/.claude/agents/prd-creator.md +220 -0
  12. package/.claude/agents/quality-fixer-frontend.md +323 -0
  13. package/.claude/agents/quality-fixer.md +280 -0
  14. package/.claude/agents/requirement-analyzer.md +149 -0
  15. package/.claude/agents/rls-policy-designer.md +86 -0
  16. package/.claude/agents/rule-advisor.md +123 -0
  17. package/.claude/agents/scope-discoverer.md +231 -0
  18. package/.claude/agents/solver.md +173 -0
  19. package/.claude/agents/supabase-migration-generator.md +85 -0
  20. package/.claude/agents/task-decomposer.md +246 -0
  21. package/.claude/agents/task-executor-frontend.md +264 -0
  22. package/.claude/agents/task-executor.md +261 -0
  23. package/.claude/agents/technical-designer-frontend.md +444 -0
  24. package/.claude/agents/technical-designer.md +370 -0
  25. package/.claude/agents/verifier.md +193 -0
  26. package/.claude/agents/work-planner.md +211 -0
  27. package/.claude/commands/add-integration-tests.md +116 -0
  28. package/.claude/commands/build.md +77 -0
  29. package/.claude/commands/db-migrate.md +96 -0
  30. package/.claude/commands/deploy.md +95 -0
  31. package/.claude/commands/design.md +75 -0
  32. package/.claude/commands/diagnose.md +202 -0
  33. package/.claude/commands/front-build.md +116 -0
  34. package/.claude/commands/front-design.md +61 -0
  35. package/.claude/commands/front-plan.md +53 -0
  36. package/.claude/commands/front-reverse-design.md +183 -0
  37. package/.claude/commands/front-review.md +89 -0
  38. package/.claude/commands/implement.md +80 -0
  39. package/.claude/commands/local-dev.md +94 -0
  40. package/.claude/commands/plan.md +61 -0
  41. package/.claude/commands/project-inject.md +76 -0
  42. package/.claude/commands/refine-skill.md +207 -0
  43. package/.claude/commands/reverse-engineer.md +301 -0
  44. package/.claude/commands/review.md +88 -0
  45. package/.claude/commands/setup-auth.md +68 -0
  46. package/.claude/commands/setup-supabase.md +66 -0
  47. package/.claude/commands/setup-vercel.md +71 -0
  48. package/.claude/commands/sync-skills.md +116 -0
  49. package/.claude/commands/task.md +13 -0
  50. package/.claude/skills/coding-standards/SKILL.md +246 -0
  51. package/.claude/skills/documentation-criteria/SKILL.md +184 -0
  52. package/.claude/skills/documentation-criteria/references/adr-template.md +64 -0
  53. package/.claude/skills/documentation-criteria/references/design-template.md +263 -0
  54. package/.claude/skills/documentation-criteria/references/plan-template.md +130 -0
  55. package/.claude/skills/documentation-criteria/references/prd-template.md +109 -0
  56. package/.claude/skills/documentation-criteria/references/task-template.md +38 -0
  57. package/.claude/skills/frontend/technical-spec/SKILL.md +147 -0
  58. package/.claude/skills/frontend/typescript-rules/SKILL.md +136 -0
  59. package/.claude/skills/frontend/typescript-testing/SKILL.md +129 -0
  60. package/.claude/skills/fullstack-integration/SKILL.md +466 -0
  61. package/.claude/skills/implementation-approach/SKILL.md +141 -0
  62. package/.claude/skills/integration-e2e-testing/SKILL.md +146 -0
  63. package/.claude/skills/interview/SKILL.md +345 -0
  64. package/.claude/skills/project-context/SKILL.md +53 -0
  65. package/.claude/skills/stack-auth/SKILL.md +519 -0
  66. package/.claude/skills/subagents-orchestration-guide/SKILL.md +218 -0
  67. package/.claude/skills/supabase/SKILL.md +289 -0
  68. package/.claude/skills/supabase-edge-functions/SKILL.md +386 -0
  69. package/.claude/skills/supabase-local/SKILL.md +328 -0
  70. package/.claude/skills/supabase-testing/SKILL.md +513 -0
  71. package/.claude/skills/task-analyzer/SKILL.md +131 -0
  72. package/.claude/skills/task-analyzer/references/skills-index.yaml +375 -0
  73. package/.claude/skills/technical-spec/SKILL.md +86 -0
  74. package/.claude/skills/typescript-rules/SKILL.md +121 -0
  75. package/.claude/skills/typescript-testing/SKILL.md +155 -0
  76. package/.claude/skills/vercel-deployment/SKILL.md +355 -0
  77. package/.claude/skills/vercel-edge/SKILL.md +407 -0
  78. package/README.md +4 -17
  79. package/package.json +1 -1
@@ -0,0 +1,80 @@
1
+ ---
2
+ description: Orchestrate the complete implementation lifecycle from requirements to deployment
3
+ ---
4
+
5
+ **Command Context**: Full-cycle implementation management (Requirements Analysis → Design → Planning → Implementation → Quality Assurance)
6
+
7
+ Strictly adhere to subagents-orchestration-guide skill and operate as an orchestrator.
8
+
9
+ ## Execution Decision Flow
10
+
11
+ ### 1. Current Situation Assessment
12
+ Instruction Content: $ARGUMENTS
13
+
14
+ **Think deeply** Assess the current situation:
15
+
16
+ | Situation Pattern | Decision Criteria | Next Action |
17
+ |------------------|------------------|-------------|
18
+ | New Requirements | No existing work, new feature/fix request | Start with requirement-analyzer |
19
+ | Flow Continuation | Existing docs/tasks present, continuation directive | Identify next step in subagents-orchestration-guide skill flow |
20
+ | Quality Errors | Error detection, test failures, build errors | Execute quality-fixer |
21
+ | Ambiguous | Intent unclear, multiple interpretations possible | Confirm with user |
22
+
23
+ ### 2. Progress Verification for Continuation
24
+ When continuing existing flow, verify:
25
+ - Latest artifacts (PRD/ADR/Design Doc/Work Plan/Tasks)
26
+ - Current phase position (Requirements/Design/Planning/Implementation/QA)
27
+ - Identify next step in subagents-orchestration-guide skill corresponding flow
28
+
29
+ ### 3. After requirement-analyzer [Stop]
30
+
31
+ When user responds to questions:
32
+ - If response matches any `scopeDependencies.question` → Check `impact` for scale change
33
+ - If scale changes → Re-execute requirement-analyzer with updated context
34
+ - If `confidence: "confirmed"` or no scale change → Proceed to next step
35
+
36
+ ### 4. After Scale Determination: Register All Flow Steps to TodoWrite (Required)
37
+
38
+ After scale determination, **register all steps of the applicable subagents-orchestration-guide skill flow to TodoWrite**. Always include: first "Confirm skill constraints", final "Verify skill fidelity". After registration, proceed through the flow referencing TodoWrite.
39
+
40
+ ### 5. Execute Next Action
41
+
42
+ **Execute the next pending task in TodoWrite**.
43
+
44
+ ## 📋 subagents-orchestration-guide skill Compliance Execution
45
+
46
+ **Pre-execution Checklist (Required)**:
47
+ - [ ] Confirmed relevant subagents-orchestration-guide skill flow
48
+ - [ ] Identified current progress position
49
+ - [ ] Clarified next step
50
+ - [ ] Recognized stopping points → **Use AskUserQuestion for confirmation at all Stop points**
51
+ - [ ] Understood the 4-step cycle after task execution (task-executor → escalation judgment/follow-up → quality-fixer → commit)
52
+
53
+ **Flow Adherence**: Follow "Autonomous Execution Task Management" in subagents-orchestration-guide skill, managing 4 steps with TodoWrite
54
+
55
+ ## 🚨 Sub-agent Invocation Constraints
56
+
57
+ Include the following at the end of prompts when invoking sub-agents, as rule-advisor invocation from sub-agents causes system crash:
58
+ ```
59
+ [Constraint] rule-advisor can only be used by Main AI
60
+ ```
61
+
62
+ ## 🎯 Mandatory Orchestrator Responsibilities
63
+
64
+ ### Task Execution Flow
65
+ Following "Autonomous Execution Task Management" in subagents-orchestration-guide skill, manage these 4 steps with TodoWrite:
66
+ 1. task-executor execution
67
+ 2. Escalation judgment and follow-up
68
+ 3. quality-fixer execution
69
+ 4. git commit
70
+
71
+ ### Test Information Communication
72
+ After acceptance-test-generator execution, when calling work-planner, communicate:
73
+ - Generated integration test file path
74
+ - Generated E2E test file path
75
+ - Explicit note that integration tests run with implementation, E2E tests run after all implementations
76
+
77
+ ## Execution Method
78
+
79
+ All work is executed through sub-agents.
80
+ Sub-agent selection follows subagents-orchestration-guide skill.
@@ -0,0 +1,94 @@
1
+ ---
2
+ description: Start local development environment
3
+ ---
4
+
5
+ Start the local development environment with all services.
6
+
7
+ ## Service Startup
8
+
9
+ ### 1. Start Supabase
10
+ ```bash
11
+ supabase start
12
+ ```
13
+
14
+ Wait for all services to be ready.
15
+
16
+ ### 2. Verify Supabase
17
+ ```bash
18
+ supabase status
19
+ ```
20
+
21
+ Confirm:
22
+ - API URL: http://127.0.0.1:54321
23
+ - Studio URL: http://127.0.0.1:54323
24
+ - Inbucket URL: http://127.0.0.1:54324
25
+
26
+ ### 3. Environment Check
27
+ Verify `.env.local` has correct local values:
28
+ ```env
29
+ NEXT_PUBLIC_SUPABASE_URL=http://127.0.0.1:54321
30
+ NEXT_PUBLIC_SUPABASE_ANON_KEY=<from supabase start>
31
+ SUPABASE_SERVICE_ROLE_KEY=<from supabase start>
32
+ ```
33
+
34
+ ### 4. Apply Migrations
35
+ ```bash
36
+ supabase db reset
37
+ ```
38
+
39
+ ### 5. Generate Types
40
+ ```bash
41
+ supabase gen types typescript --local > src/types/database.types.ts
42
+ ```
43
+
44
+ ### 6. Start Development Server
45
+ ```bash
46
+ npm run dev
47
+ ```
48
+
49
+ ## Service URLs
50
+
51
+ | Service | URL |
52
+ |---------|-----|
53
+ | Application | http://localhost:3000 |
54
+ | Supabase API | http://127.0.0.1:54321 |
55
+ | Supabase Studio | http://127.0.0.1:54323 |
56
+ | Inbucket (Email) | http://127.0.0.1:54324 |
57
+
58
+ ## Stopping Services
59
+
60
+ ### Stop All
61
+ ```bash
62
+ # Stop Supabase (preserves data)
63
+ supabase stop
64
+
65
+ # Stop Supabase and clear data
66
+ supabase stop --no-backup
67
+
68
+ # Stop Next.js dev server
69
+ Ctrl+C
70
+ ```
71
+
72
+ ## Troubleshooting
73
+
74
+ ### Port Conflicts
75
+ ```bash
76
+ # Check what's using a port
77
+ lsof -i :54321
78
+ ```
79
+
80
+ ### Docker Issues
81
+ ```bash
82
+ # Restart Docker
83
+ # Then restart Supabase
84
+ supabase stop --no-backup
85
+ supabase start
86
+ ```
87
+
88
+ ### Database Reset
89
+ ```bash
90
+ supabase db reset
91
+ ```
92
+
93
+ ## Output
94
+ Report local environment status with all service URLs.
@@ -0,0 +1,61 @@
1
+ ---
2
+ description: Create work plan from design document and obtain plan approval
3
+ ---
4
+
5
+ **Command Context**: This command is dedicated to the planning phase.
6
+
7
+ ## Orchestrator Definition
8
+
9
+ **Core Identity**: "I am not a worker. I am an orchestrator." (see subagents-orchestration-guide skill)
10
+
11
+ **Execution Protocol**:
12
+ 1. **Delegate all work** to sub-agents (NEVER create plans yourself)
13
+ 2. **Follow subagents-orchestration-guide skill planning flow exactly**:
14
+ - Execute steps defined below
15
+ - **Stop and obtain approval** for plan content before completion
16
+ 3. **Scope**: Complete when work plan receives approval
17
+
18
+ **CRITICAL**: NEVER skip acceptance-test-generator when user requests test generation.
19
+
20
+ ## Scope Boundaries
21
+
22
+ **Included in this command**:
23
+ - Design document selection
24
+ - E2E test skeleton generation (optional, with user confirmation)
25
+ - Work plan creation with work-planner
26
+ - Plan approval obtainment
27
+
28
+ **Responsibility Boundary**: This command completes with work plan approval.
29
+
30
+ Follow subagents-orchestration-guide skill strictly and create work plan with the following process:
31
+
32
+ ## Execution Process
33
+
34
+ 1. **Design Document Selection**
35
+ ! ls -la docs/design/*.md | head -10
36
+ - Check for existence of design documents, notify user if none exist
37
+ - Present options if multiple exist (can be specified with $ARGUMENTS)
38
+
39
+ 2. **E2E Test Skeleton Generation Confirmation**
40
+ - Confirm with user whether to generate E2E test skeleton first
41
+ - If user wants generation: Generate test skeleton with acceptance-test-generator
42
+ - Pass generation results to next process according to subagents-orchestration-guide skill coordination specification
43
+
44
+ 3. **Work Plan Creation**
45
+ - Create work plan with work-planner
46
+ - Utilize deliverables from previous process according to subagents-orchestration-guide skill coordination specification
47
+ - Interact with user to complete plan and obtain approval for plan content
48
+
49
+ **Think deeply** Create a work plan from the selected design document, clarifying specific implementation steps and risks.
50
+
51
+ **Scope**: Up to work plan creation and obtaining approval for plan content.
52
+
53
+ ## Response at Completion
54
+ ✅ **REQUIRED**: End with the following standard response after plan content approval
55
+ ```
56
+ Planning phase completed.
57
+ - Work plan: docs/plans/[plan-name].md
58
+ - Status: Approved
59
+
60
+ Please provide separate instructions for implementation.
61
+ ```
@@ -0,0 +1,76 @@
1
+ ---
2
+ description: Inject project-specific context into project-context.md
3
+ ---
4
+
5
+ **Command Context**: When using the boilerplate, collect project-specific context and update project-context.md.
6
+
7
+ ## Execution Process
8
+
9
+ ### 1. Current State Verification
10
+ ! ls -la .claude/skills/project-context/SKILL.md
11
+ ! cat package.json | grep -E '"name":|"description":'
12
+
13
+ ### 2. Project Context Collection
14
+
15
+ Interact with the user to collect the following information:
16
+
17
+ ```
18
+ 【Core Project Information】
19
+ 1. What problem does your project solve?
20
+ Examples: "Manual time tracking is inefficient" "Inventory management is person-dependent"
21
+
22
+ 2. Who is the system for?
23
+ Examples: "50-member sales team" "E-commerce site operators"
24
+
25
+ 3. In what situations will it be used?
26
+ Examples: "Field staff entering daily reports" "Month-end aggregation tasks"
27
+
28
+ 【Development Structure】
29
+ - Individual development / Team development (number of members)
30
+ - Development phase (Prototype / Production development / In operation)
31
+
32
+ 【Critical Business Constraints】(Maximum 3)
33
+ Examples: "7-year audit log retention" "Mandatory approval workflow" "Real-time synchronization"
34
+ ```
35
+
36
+ **Think deeply** From the collected information, understand the project's essence and construct context focused on single responsibility.
37
+
38
+ ### 3. Generate project-context.md
39
+
40
+ ## AI Execution Accuracy Maximization Criteria
41
+
42
+ Generated project-context.md must follow these criteria:
43
+
44
+ ### Principles of Description
45
+ 1. **Minimal yet maximally efficient**: Essential information only, eliminate redundancy
46
+ 2. **AI-decidable**: Use only measurable and verifiable criteria ("quickly" → "within 5 seconds")
47
+ 3. **Eliminate ambiguity**: Include specific numbers, conditions, and examples
48
+ 4. **Preferred format**: Describe in "do this" form rather than "don't do that"
49
+
50
+ ### Responsibility Boundaries
51
+ project-context.md's single responsibility is "project-specific contextual information" only:
52
+ - ✅ Include: Project objectives, target users, business constraints
53
+ - ❌ Exclude: Tech stack (→technical-spec skill), implementation principles (→typescript-rules skill), architecture (→technical-spec skill)
54
+
55
+ ### Structure
56
+ ```markdown
57
+ # Project Context
58
+
59
+ ## Project Overview
60
+ - **Problem being solved**: [Specific challenge]
61
+ - **Target users**: [Include number and attributes]
62
+ - **Usage scenarios**: [Specific situations]
63
+
64
+ ## Development Structure
65
+ - **Team composition**: [Number and roles]
66
+ - **Development phase**: [Current stage]
67
+
68
+ ## Business Constraints
69
+ 1. [Measurable constraint]
70
+ 2. [Verifiable requirement]
71
+ ```
72
+
73
+ ### 4. Update skills-index.yaml
74
+ Update the typical-use in the project-context section to match the project.
75
+
76
+ **Scope**: Update project-context skill only. Technology choices are the responsibility of other skills.
@@ -0,0 +1,207 @@
1
+ ---
2
+ description: Implement user skill change requests with maximum precision optimization
3
+ ---
4
+
5
+ Change request: $ARGUMENTS
6
+
7
+ **Think deeply** Extract the TRUE INTENT behind user's change request and implement with MAXIMUM PRECISION to eliminate ALL ambiguity:
8
+
9
+ ## 9 Optimization Perspectives
10
+ 1. Context efficiency vs execution accuracy - Maximum accuracy with minimal description
11
+ 2. Deduplication - Consistency within and across skill files
12
+ 3. Proper responsibility aggregation - Group related content (minimize read operations)
13
+ 4. Clear decision criteria - Measurable standards
14
+ 5. Transform negatives to recommendations - Recommended format (background: including NG examples)
15
+ 6. Consistent notation - Unified expressions
16
+ 7. Explicit prerequisites - Make implicit assumptions visible
17
+ 8. Optimized description order - Most important first, exceptions last
18
+ 9. Clear scope boundaries - What's covered vs what's not
19
+
20
+ ## Execution Flow
21
+
22
+ ### 1. Understand the Request
23
+
24
+ Question template when unspecified:
25
+ ```
26
+ 1. Which skill to modify?
27
+ e.g.: typescript-rules / coding-standards / documentation-criteria
28
+
29
+ 2. Select change type:
30
+ a) Add new criteria (add new standards)
31
+ b) Modify existing criteria (clarify ambiguous descriptions)
32
+ c) Delete criteria (remove obsolete standards)
33
+
34
+ 3. Specific changes:
35
+ e.g.: "Add rule prohibiting 'any' type usage"
36
+ e.g.: "Clarify error handling criteria"
37
+ [User input]
38
+ ```
39
+
40
+ ### 2. Create Design Proposal
41
+
42
+ Target file identification and current state check:
43
+
44
+ ```
45
+ # Tool selection criteria (measurable decisions)
46
+ if skill name is explicitly provided:
47
+ Read: .claude/skills/{skill-name}/SKILL.md direct read
48
+ else if partial skill name known:
49
+ Glob: .claude/skills/*{keyword}*/SKILL.md search
50
+ Read: Check identified file's current state
51
+ else:
52
+ Glob: .claude/skills/*/SKILL.md for full scan
53
+ Confirm target skill selection with user
54
+ ```
55
+
56
+ Design template:
57
+ ```
58
+ 【Current】
59
+ "Handle errors appropriately" (ambiguous: "appropriately" undefined)
60
+
61
+ 【Understanding User Request】
62
+ "Want stricter error handling" → Set measurable criteria
63
+
64
+ 【Proposal】
65
+ "Error handling implementation criteria:
66
+ 1. try-catch required for:
67
+ - External API calls (fetch, axios, etc.)
68
+ - File I/O operations (fs.readFile, etc.)
69
+ - Parsing operations (JSON.parse, parseInt, etc.)
70
+ 2. Required error log items:
71
+ - error.name (error type)
72
+ - error.stack (location)
73
+ - Timestamp (ISO 8601 format)
74
+ 3. User notification criteria:
75
+ - No technical details (NG: stack trace display)
76
+ - Clear action items (recommended: "Please try again")"
77
+
78
+ Proceed with this design? (y/n)
79
+ ```
80
+
81
+ ### 3. Three-Pass Review Process
82
+
83
+ #### Pass 1: Add for Maximum Accuracy【Addition-Only Mode】
84
+ Declaration: "Pass 1: Addition mode execution. Deletions are prohibited."
85
+ - Convert all ambiguous expressions → measurable criteria
86
+ Example: "large" → "100+ lines" "5+ files"
87
+ - Make all implicit prerequisites explicit
88
+ Example: "In TypeScript environment" "Within async functions"
89
+ - Define all exceptions and edge cases
90
+ Example: "When null/undefined" "For empty arrays"
91
+ Report: Count added items (minimum 5 items)
92
+
93
+ #### Pass 2: Critical Modification to Reduce Redundancy【Actual Modification Mode】
94
+ Declaration: "Pass 2: Critical modification mode execution. Actually delete and consolidate redundant parts."
95
+
96
+ Modification work:
97
+ 1. Critically review all Pass 1 additions
98
+ 2. Apply modifications using these criteria:
99
+ - Duplicate concepts → Consolidate
100
+ - Overly detailed explanations → Simplify
101
+ - Overlap with other skills → Replace with references
102
+ 3. Record complete before/after diff (deletion reasons required)
103
+
104
+ Report format:
105
+ ```
106
+ Modified locations: X items
107
+ Deleted/consolidated content:
108
+ - [Before]: "Detailed description"
109
+ [After]: "Concise description"
110
+ [Reason]: Redundancy elimination
111
+ ```
112
+
113
+ #### Pass 3: Accuracy Assurance via Diff Evaluation【Restoration Decision Mode】
114
+ Declaration: "Pass 3: Diff evaluation mode execution. Review all Pass 2 modifications and restore if accuracy compromised."
115
+
116
+ Verification work:
117
+ 1. Evaluate each Pass 2 modification:
118
+ - Does deletion create implementation ambiguity? → Restore
119
+ - Are edge cases still covered? → Restore if missing
120
+ 2. Action mapping:
121
+ - Deletions with accuracy risks → Restore
122
+ - Valid deletions → Keep
123
+
124
+ Final confirmation (required answer):
125
+ "Are necessary and sufficient conditions present for accurate implementation of user requirements?"
126
+
127
+ Report: Number of restored items and final reduction percentage
128
+
129
+ ### 4. Get Approval
130
+
131
+ Present before/after comparison for user approval.
132
+
133
+ ### 5. Implementation
134
+
135
+ 1. Apply changes with appropriate tool (after user approval)
136
+ 2. Final verification with git diff
137
+ 3. Suggest `/sync-skills` execution
138
+
139
+ ## Decision Criteria Checklist
140
+ - [ ] Expressible in "if-then" format ("if X then Y")
141
+ - [ ] Measurable by numbers/counts/states (eliminate subjective judgment)
142
+ - [ ] Related content aggregated in single file (minimize read operations)
143
+ - [ ] Relationships with other skills specified (dependencies/references/delegation)
144
+ - [ ] NG examples included as background information
145
+ - [ ] All prerequisites explicitly stated
146
+
147
+ ## Reduction Pattern Examples
148
+ | Pattern | Before | After |
149
+ |---------|--------|-------|
150
+ | Emotional expressions | "must always" | "execute when (background: build error if skipped)" |
151
+ | Time expressions | "immediately" | "execute first after error detection" |
152
+ | Implicit prerequisites | "implement error handling" | "TypeScript async function error handling" |
153
+ | Unclear order | "consider: A, B, C" | "Priority: 1.A (required), 2.B (recommended), 3.C (optional)" |
154
+ | Redundant explanation | "ensure type safety by defining types, checking types, and preventing type errors" | "type safety (define・check・prevent errors)" |
155
+ | Ambiguous scope | "write tests" | "write unit tests (see typescript-testing skill for E2E tests)" |
156
+
157
+ ## Output Example
158
+
159
+ ```
160
+ === Change Implementation Complete ===
161
+
162
+ 【User Request】
163
+ "Strengthen TypeScript error handling criteria"
164
+
165
+ 【Changes】
166
+ Target: .claude/skills/typescript-rules/SKILL.md
167
+ Section: ## Error Handling
168
+
169
+ Before:
170
+ "Handle errors appropriately"
171
+
172
+ After (3-pass review complete):
173
+ "Error handling implementation criteria:
174
+ 1. try-catch block required for:
175
+ - External API calls (fetch, axios, etc.)
176
+ - File I/O operations (fs.readFile, fs.writeFile, etc.)
177
+ - Exception-prone operations (JSON.parse, parseInt, etc.)
178
+ 2. Required error log items:
179
+ - error.name (error type)
180
+ - error.stack (location)
181
+ - new Date().toISOString() (timestamp)
182
+ 3. User-facing messages:
183
+ - No technical details (NG: stack trace display)
184
+ - Clear action items (recommended: "Please try again")"
185
+
186
+ 【Improvement Metrics】
187
+ - Decision clarity: 0% → 100% (all measurable)
188
+ - Ambiguous expressions: 1 → 0
189
+ - NG examples included as background
190
+
191
+ Run /sync-skills for metadata synchronization.
192
+ ```
193
+
194
+ ## Execution Order
195
+ 1. Understand user request
196
+ 2. Analyze current state
197
+ 3. Design changes with 9 perspectives
198
+ 4. 3-pass review process
199
+ 5. User approval
200
+ 6. Apply changes
201
+ 7. Suggest sync-skills
202
+
203
+ **Scope**: Understanding user change requests and implementing with maximum accuracy
204
+
205
+ ## Error Handling
206
+ - **Skill not found**: Display available skill list
207
+ - **Large change detected**: Suggest phased implementation for 50%+ changes