@qazuor/claude-code-config 0.1.0

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 (171) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +1248 -0
  3. package/dist/bin.cjs +11886 -0
  4. package/dist/bin.cjs.map +1 -0
  5. package/dist/bin.d.cts +1 -0
  6. package/dist/bin.d.ts +1 -0
  7. package/dist/bin.js +11869 -0
  8. package/dist/bin.js.map +1 -0
  9. package/dist/index.cjs +3887 -0
  10. package/dist/index.cjs.map +1 -0
  11. package/dist/index.d.cts +1325 -0
  12. package/dist/index.d.ts +1325 -0
  13. package/dist/index.js +3835 -0
  14. package/dist/index.js.map +1 -0
  15. package/package.json +86 -0
  16. package/templates/.log/notifications.log +1775 -0
  17. package/templates/agents/README.md +164 -0
  18. package/templates/agents/_registry.json +443 -0
  19. package/templates/agents/design/content-writer.md +353 -0
  20. package/templates/agents/design/ux-ui-designer.md +382 -0
  21. package/templates/agents/engineering/astro-engineer.md +293 -0
  22. package/templates/agents/engineering/db-drizzle-engineer.md +360 -0
  23. package/templates/agents/engineering/express-engineer.md +316 -0
  24. package/templates/agents/engineering/fastify-engineer.md +399 -0
  25. package/templates/agents/engineering/hono-engineer.md +263 -0
  26. package/templates/agents/engineering/mongoose-engineer.md +473 -0
  27. package/templates/agents/engineering/nestjs-engineer.md +429 -0
  28. package/templates/agents/engineering/nextjs-engineer.md +451 -0
  29. package/templates/agents/engineering/node-typescript-engineer.md +347 -0
  30. package/templates/agents/engineering/prisma-engineer.md +432 -0
  31. package/templates/agents/engineering/react-senior-dev.md +394 -0
  32. package/templates/agents/engineering/tanstack-start-engineer.md +447 -0
  33. package/templates/agents/engineering/tech-lead.md +269 -0
  34. package/templates/agents/product/product-functional.md +329 -0
  35. package/templates/agents/product/product-technical.md +578 -0
  36. package/templates/agents/quality/debugger.md +514 -0
  37. package/templates/agents/quality/qa-engineer.md +390 -0
  38. package/templates/agents/specialized/enrichment-agent.md +277 -0
  39. package/templates/agents/specialized/i18n-specialist.md +322 -0
  40. package/templates/agents/specialized/seo-ai-specialist.md +387 -0
  41. package/templates/agents/specialized/tech-writer.md +300 -0
  42. package/templates/code-style/.editorconfig +27 -0
  43. package/templates/code-style/.prettierignore +25 -0
  44. package/templates/code-style/.prettierrc +12 -0
  45. package/templates/code-style/biome.json +78 -0
  46. package/templates/code-style/commitlint.config.js +44 -0
  47. package/templates/commands/README.md +175 -0
  48. package/templates/commands/_registry.json +420 -0
  49. package/templates/commands/add-new-entity.md +211 -0
  50. package/templates/commands/audit/accessibility-audit.md +360 -0
  51. package/templates/commands/audit/performance-audit.md +290 -0
  52. package/templates/commands/audit/security-audit.md +231 -0
  53. package/templates/commands/code-check.md +127 -0
  54. package/templates/commands/five-why.md +225 -0
  55. package/templates/commands/formatting/format-markdown.md +197 -0
  56. package/templates/commands/git/commit.md +247 -0
  57. package/templates/commands/meta/create-agent.md +257 -0
  58. package/templates/commands/meta/create-command.md +312 -0
  59. package/templates/commands/meta/create-skill.md +321 -0
  60. package/templates/commands/meta/help.md +318 -0
  61. package/templates/commands/planning/check-completed-tasks.md +224 -0
  62. package/templates/commands/planning/cleanup-issues.md +248 -0
  63. package/templates/commands/planning/planning-cleanup.md +251 -0
  64. package/templates/commands/planning/sync-planning-github.md +133 -0
  65. package/templates/commands/planning/sync-todos-github.md +203 -0
  66. package/templates/commands/quality-check.md +211 -0
  67. package/templates/commands/run-tests.md +159 -0
  68. package/templates/commands/start-feature-plan.md +232 -0
  69. package/templates/commands/start-refactor-plan.md +244 -0
  70. package/templates/commands/sync-planning.md +176 -0
  71. package/templates/commands/update-docs.md +242 -0
  72. package/templates/docs/CHECKPOINT-SYSTEM.md +504 -0
  73. package/templates/docs/INDEX.md +677 -0
  74. package/templates/docs/RECOMMENDED-HOOKS.md +415 -0
  75. package/templates/docs/_registry.json +329 -0
  76. package/templates/docs/diagrams/README.md +220 -0
  77. package/templates/docs/diagrams/agent-hierarchy.mmd +55 -0
  78. package/templates/docs/diagrams/documentation-map.mmd +61 -0
  79. package/templates/docs/diagrams/tools-relationship.mmd +55 -0
  80. package/templates/docs/diagrams/workflow-decision-tree.mmd +38 -0
  81. package/templates/docs/doc-sync.md +533 -0
  82. package/templates/docs/examples/end-to-end-workflow.md +1505 -0
  83. package/templates/docs/glossary.md +495 -0
  84. package/templates/docs/guides/mockup-prompt-engineering.md +644 -0
  85. package/templates/docs/guides/mockup-setup.md +737 -0
  86. package/templates/docs/learnings/README.md +250 -0
  87. package/templates/docs/learnings/common-architectural-patterns.md +123 -0
  88. package/templates/docs/learnings/common-mistakes-to-avoid.md +149 -0
  89. package/templates/docs/learnings/markdown-formatting-standards.md +104 -0
  90. package/templates/docs/learnings/monorepo-command-execution.md +64 -0
  91. package/templates/docs/learnings/optimization-tips.md +146 -0
  92. package/templates/docs/learnings/planning-linear-sync-workflow.md +70 -0
  93. package/templates/docs/learnings/shell-compatibility-fish.md +46 -0
  94. package/templates/docs/learnings/test-organization-structure.md +68 -0
  95. package/templates/docs/mcp-installation.md +613 -0
  96. package/templates/docs/mcp-servers.md +989 -0
  97. package/templates/docs/notification-installation.md +570 -0
  98. package/templates/docs/quick-start.md +354 -0
  99. package/templates/docs/standards/architecture-patterns.md +1064 -0
  100. package/templates/docs/standards/atomic-commits.md +513 -0
  101. package/templates/docs/standards/code-standards.md +993 -0
  102. package/templates/docs/standards/design-standards.md +656 -0
  103. package/templates/docs/standards/documentation-standards.md +1160 -0
  104. package/templates/docs/standards/testing-standards.md +969 -0
  105. package/templates/docs/system-maintenance.md +604 -0
  106. package/templates/docs/templates/PDR-template.md +561 -0
  107. package/templates/docs/templates/TODOs-template.md +534 -0
  108. package/templates/docs/templates/tech-analysis-template.md +800 -0
  109. package/templates/docs/workflows/README.md +519 -0
  110. package/templates/docs/workflows/atomic-task-protocol.md +955 -0
  111. package/templates/docs/workflows/decision-tree.md +482 -0
  112. package/templates/docs/workflows/edge-cases.md +856 -0
  113. package/templates/docs/workflows/phase-1-planning.md +957 -0
  114. package/templates/docs/workflows/phase-2-implementation.md +896 -0
  115. package/templates/docs/workflows/phase-3-validation.md +792 -0
  116. package/templates/docs/workflows/phase-4-finalization.md +927 -0
  117. package/templates/docs/workflows/quick-fix-protocol.md +505 -0
  118. package/templates/docs/workflows/task-atomization.md +537 -0
  119. package/templates/docs/workflows/task-completion-protocol.md +448 -0
  120. package/templates/hooks/on-notification.sh +28 -0
  121. package/templates/schemas/checkpoint.schema.json +97 -0
  122. package/templates/schemas/code-registry.schema.json +84 -0
  123. package/templates/schemas/pdr.schema.json +314 -0
  124. package/templates/schemas/problems.schema.json +55 -0
  125. package/templates/schemas/tech-analysis.schema.json +404 -0
  126. package/templates/schemas/telemetry.schema.json +298 -0
  127. package/templates/schemas/todos.schema.json +234 -0
  128. package/templates/schemas/workflows.schema.json +69 -0
  129. package/templates/scripts/add-changelogs.sh +105 -0
  130. package/templates/scripts/generate-code-registry.ts +270 -0
  131. package/templates/scripts/health-check.sh +343 -0
  132. package/templates/scripts/sync-registry.sh +40 -0
  133. package/templates/scripts/telemetry-report.ts +36 -0
  134. package/templates/scripts/validate-docs.sh +224 -0
  135. package/templates/scripts/validate-registry.sh +225 -0
  136. package/templates/scripts/validate-schemas.ts +283 -0
  137. package/templates/scripts/validate-structure.sh +165 -0
  138. package/templates/scripts/worktree-cleanup.sh +81 -0
  139. package/templates/scripts/worktree-create.sh +63 -0
  140. package/templates/sessions/planning/.gitkeep +0 -0
  141. package/templates/sessions/planning/archived/.gitkeep +0 -0
  142. package/templates/settings.json +202 -0
  143. package/templates/settings.local.json +138 -0
  144. package/templates/skills/README.md +197 -0
  145. package/templates/skills/_registry.json +473 -0
  146. package/templates/skills/audit/accessibility-audit.md +309 -0
  147. package/templates/skills/audit/performance-audit.md +257 -0
  148. package/templates/skills/audit/security-audit.md +217 -0
  149. package/templates/skills/auth/nextauth-patterns.md +308 -0
  150. package/templates/skills/brand-guidelines.md +240 -0
  151. package/templates/skills/documentation/markdown-formatter.md +302 -0
  152. package/templates/skills/git/git-commit-helper.md +321 -0
  153. package/templates/skills/i18n/i18n-patterns.md +251 -0
  154. package/templates/skills/patterns/error-handling-patterns.md +242 -0
  155. package/templates/skills/patterns/tdd-methodology.md +342 -0
  156. package/templates/skills/qa/qa-criteria-validator.md +383 -0
  157. package/templates/skills/qa/web-app-testing.md +398 -0
  158. package/templates/skills/react/react-hook-form-patterns.md +359 -0
  159. package/templates/skills/state/redux-toolkit-patterns.md +272 -0
  160. package/templates/skills/state/tanstack-query-patterns.md +299 -0
  161. package/templates/skills/state/zustand-patterns.md +301 -0
  162. package/templates/skills/tech/mermaid-diagram-specialist.md +195 -0
  163. package/templates/skills/tech/shadcn-specialist.md +252 -0
  164. package/templates/skills/tech/vercel-specialist.md +297 -0
  165. package/templates/skills/testing/api-app-testing.md +254 -0
  166. package/templates/skills/testing/performance-testing.md +275 -0
  167. package/templates/skills/testing/security-testing.md +348 -0
  168. package/templates/skills/utils/add-memory.md +295 -0
  169. package/templates/skills/utils/json-data-auditor.md +283 -0
  170. package/templates/skills/utils/pdf-creator-editor.md +342 -0
  171. package/templates/tools/format-markdown.sh +185 -0
@@ -0,0 +1,81 @@
1
+ #!/bin/bash
2
+ # Cleanup merged worktrees
3
+
4
+ set -e
5
+
6
+ echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
7
+ echo "🧹 Cleaning up merged worktrees"
8
+ echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
9
+ echo ""
10
+
11
+ # Update main branch
12
+ echo "📡 Fetching latest changes..."
13
+ git fetch origin main
14
+ git checkout main
15
+ git pull origin main
16
+
17
+ echo ""
18
+ echo "🔍 Checking for merged branches..."
19
+ echo ""
20
+
21
+ REMOVED_COUNT=0
22
+ KEPT_COUNT=0
23
+
24
+ # Get list of worktrees
25
+ git worktree list --porcelain | while read -r line; do
26
+ if [[ $line == worktree* ]]; then
27
+ WORKTREE_PATH=${line#worktree }
28
+ CURRENT_PATH="$WORKTREE_PATH"
29
+ elif [[ $line == branch* ]]; then
30
+ BRANCH=${line#branch refs/heads/}
31
+
32
+ # Skip main branch
33
+ if [[ $BRANCH == "main" ]]; then
34
+ continue
35
+ fi
36
+
37
+ # Check if merged
38
+ if git branch --merged main | grep -q "^ $BRANCH\$" 2>/dev/null; then
39
+ echo "🗑️ Removing: $CURRENT_PATH ($BRANCH)"
40
+
41
+ # Remove worktree
42
+ if git worktree remove "$CURRENT_PATH" 2>/dev/null; then
43
+ echo " ✅ Worktree removed"
44
+ else
45
+ echo " ⚠️ Failed to remove worktree (might have uncommitted changes)"
46
+ continue
47
+ fi
48
+
49
+ # Delete local branch
50
+ if git branch -d "$BRANCH" 2>/dev/null; then
51
+ echo " ✅ Branch deleted"
52
+ else
53
+ echo " ⚠️ Failed to delete branch"
54
+ fi
55
+
56
+ REMOVED_COUNT=$((REMOVED_COUNT + 1))
57
+ echo ""
58
+ else
59
+ echo "⏭️ Keeping: $CURRENT_PATH ($BRANCH) - not merged"
60
+ KEPT_COUNT=$((KEPT_COUNT + 1))
61
+ fi
62
+ fi
63
+ done
64
+
65
+ # Prune deleted worktrees
66
+ echo ""
67
+ echo "🔧 Pruning deleted worktrees..."
68
+ git worktree prune
69
+
70
+ echo ""
71
+ echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
72
+ echo "✅ Cleanup complete!"
73
+ echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
74
+ echo "Removed: $REMOVED_COUNT worktree(s)"
75
+ echo "Kept: $KEPT_COUNT worktree(s)"
76
+ echo ""
77
+
78
+ # Show remaining worktrees
79
+ echo "📋 Current worktrees:"
80
+ git worktree list
81
+ echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
@@ -0,0 +1,63 @@
1
+ #!/bin/bash
2
+ # Create worktree with project conventions
3
+
4
+ set -e
5
+
6
+ if [ -z "$1" ]; then
7
+ echo "Usage: ./worktree-create.sh <branch-name> [base-branch]"
8
+ echo ""
9
+ echo "Examples:"
10
+ echo " ./worktree-create.sh feature/auth main"
11
+ echo " ./worktree-create.sh fix/login-bug main"
12
+ echo " ./worktree-create.sh hotfix/critical main"
13
+ echo ""
14
+ exit 1
15
+ fi
16
+
17
+ BRANCH=$1
18
+ BASE_BRANCH=${2:-main}
19
+ WORKTREE_NAME="project-${BRANCH//\//-}"
20
+ WORKTREE_PATH="../${WORKTREE_NAME}"
21
+
22
+ echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
23
+ echo "🌿 Creating Worktree"
24
+ echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
25
+ echo "Branch: $BRANCH"
26
+ echo "Base: $BASE_BRANCH"
27
+ echo "Path: $WORKTREE_PATH"
28
+ echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
29
+ echo ""
30
+
31
+ # Check if base branch exists
32
+ if ! git rev-parse --verify "$BASE_BRANCH" >/dev/null 2>&1; then
33
+ echo "❌ Base branch '$BASE_BRANCH' not found"
34
+ exit 1
35
+ fi
36
+
37
+ # Create worktree
38
+ echo "📁 Creating worktree..."
39
+ git worktree add "$WORKTREE_PATH" -b "$BRANCH" "$BASE_BRANCH"
40
+
41
+ # Navigate to worktree
42
+ cd "$WORKTREE_PATH"
43
+
44
+ # Install dependencies
45
+ echo ""
46
+ echo "📦 Installing dependencies..."
47
+ pnpm install --frozen-lockfile
48
+
49
+ echo ""
50
+ echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
51
+ echo "✅ Worktree created successfully!"
52
+ echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
53
+ echo "📁 Path: $WORKTREE_PATH"
54
+ echo "🌿 Branch: $BRANCH"
55
+ echo ""
56
+ echo "Next steps:"
57
+ echo " cd $WORKTREE_PATH"
58
+ echo " pnpm dev"
59
+ echo ""
60
+ echo "When done:"
61
+ echo " cd ~/projects/your-project"
62
+ echo " git worktree remove $WORKTREE_PATH"
63
+ echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
File without changes
File without changes
@@ -0,0 +1,202 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/claude-code-settings.json",
3
+ "env": {
4
+ "CLAUDE_CODE_ENABLE_TELEMETRY": "0",
5
+ "DISABLE_PROMPT_CACHING": "0",
6
+ "MCP_TIMEOUT": "30000",
7
+ "OTEL_METRIC_EXPORT_INTERVAL": "10000",
8
+ "NODE_ENV": "development"
9
+ },
10
+ "includeCoAuthoredBy": false,
11
+ "permissions": {
12
+ "allow": [
13
+ "Bash(pnpm:*)",
14
+ "Bash(git status:*)",
15
+ "Bash(git diff:*)",
16
+ "Bash(git log:*)",
17
+ "Bash(ls:*)",
18
+ "Bash(cat:*)",
19
+ "Bash(pwd:*)",
20
+ "Bash(cd:*)",
21
+ "Bash(mkdir:*)",
22
+ "Bash(grep:*)",
23
+ "Bash(grep -n:*)",
24
+ "WebFetch(*)",
25
+ "Bash(docker:*)",
26
+ "Bash(docker-compose:*)",
27
+ "Edit",
28
+ "Find",
29
+ "Create",
30
+ "Read",
31
+ "Write",
32
+ "Replace",
33
+ "Bash(tsx:*)",
34
+ "Bash(npx tsx:*)",
35
+ "Bash(claude mcp:*)"
36
+ ],
37
+ "deny": [
38
+ "Bash(git add .)",
39
+ "Bash(rm -rf /)",
40
+ "Bash(sudo rm:*)",
41
+ "Bash(dd:*)",
42
+ "Edit(/etc/**)",
43
+ "Edit(/usr/**)",
44
+ "Edit(~/.ssh/**)"
45
+ ]
46
+ },
47
+ "allowedCommands": [
48
+ "pnpm",
49
+ "npm",
50
+ "node",
51
+ "git",
52
+ "bash",
53
+ "sh",
54
+ "echo",
55
+ "cat",
56
+ "ls",
57
+ "cd",
58
+ "pwd",
59
+ "mkdir",
60
+ "rm",
61
+ "cp",
62
+ "mv",
63
+ "find",
64
+ "grep",
65
+ "sed",
66
+ "awk",
67
+ "curl",
68
+ "wget",
69
+ "tar",
70
+ "gzip",
71
+ "unzip"
72
+ ],
73
+ "alwaysAllowedCommands": [
74
+ "pnpm run typecheck",
75
+ "pnpm run lint",
76
+ "pnpm run test",
77
+ "pnpm run build",
78
+ "pnpm run dev",
79
+ "git status",
80
+ "git diff",
81
+ "git log",
82
+ "git branch"
83
+ ],
84
+ "alwaysAllowReads": [
85
+ "**/*.ts",
86
+ "**/*.tsx",
87
+ "**/*.js",
88
+ "**/*.jsx",
89
+ "**/*.json",
90
+ "**/*.md",
91
+ "**/*.astro",
92
+ "**/*.css",
93
+ "**/*.html",
94
+ "**/package.json",
95
+ "**/tsconfig.json",
96
+ "**/CLAUDE.md",
97
+ "**/.claude/**/*",
98
+ "**/README.md"
99
+ ],
100
+ "alwaysAllowWrites": [
101
+ "**/*.ts",
102
+ "**/*.tsx",
103
+ "**/*.js",
104
+ "**/*.jsx",
105
+ "**/*.astro",
106
+ "**/*.css",
107
+ "**/*.html",
108
+ "**/*.md",
109
+ ".claude/sessions/**/*"
110
+ ],
111
+ "neverAllowWrites": [
112
+ ".claude/commands/**/*",
113
+ "**/node_modules/**/*",
114
+ "**/.git/**/*",
115
+ "**/dist/**/*",
116
+ "**/build/**/*",
117
+ "**/.next/**/*",
118
+ "**/.astro/**/*"
119
+ ],
120
+ "allowedTools": {
121
+ "Edit": true,
122
+ "Bash": [
123
+ "npm",
124
+ "node",
125
+ "ls",
126
+ "cat",
127
+ "git*",
128
+ "find",
129
+ "grep",
130
+ "cd",
131
+ "mkdir",
132
+ "touch",
133
+ "cp",
134
+ "mv",
135
+ "echo",
136
+ "pwd",
137
+ "test",
138
+ "head",
139
+ "tail",
140
+ "less",
141
+ "more",
142
+ "nano",
143
+ "wc",
144
+ "sort",
145
+ "uniq",
146
+ "cut",
147
+ "sed",
148
+ "awk",
149
+ "curl",
150
+ "wget",
151
+ "diff",
152
+ "patch",
153
+ "tar",
154
+ "zip",
155
+ "unzip",
156
+ "jq",
157
+ "npm run*"
158
+ ],
159
+ "Fetch": true,
160
+ "mcp__modelcontextprotocol-server-github__server-github": true
161
+ },
162
+ "defaultMode": "acceptEdits",
163
+ "preferences": {
164
+ "theme": "dark",
165
+ "autoSave": true
166
+ },
167
+ "hooks": {
168
+ "Stop": [
169
+ {
170
+ "hooks": [
171
+ {
172
+ "type": "command",
173
+ "command": "echo -ne '\\007'",
174
+ "timeout": 5
175
+ }
176
+ ]
177
+ }
178
+ ],
179
+ "SubagentStop": [
180
+ {
181
+ "hooks": [
182
+ {
183
+ "type": "command",
184
+ "command": "echo -ne '\\007'",
185
+ "timeout": 5
186
+ }
187
+ ]
188
+ }
189
+ ],
190
+ "Notification": [
191
+ {
192
+ "hooks": [
193
+ {
194
+ "type": "command",
195
+ "command": ".claude/hooks/on-notification.sh",
196
+ "timeout": 10
197
+ }
198
+ ]
199
+ }
200
+ ]
201
+ }
202
+ }
@@ -0,0 +1,138 @@
1
+ {
2
+ "includeCoAuthoredBy": false,
3
+ "permissions": {
4
+ "allow": [
5
+ "Bash(npx markdownlint-cli2:*)",
6
+ "Bash(pnpm format:md:claude:*)",
7
+ "mcp__serena__list_dir",
8
+ "Bash(cat:*)",
9
+ "Bash(pnpm lint:*)",
10
+ "Bash(pnpm typecheck:*)",
11
+ "Bash(pnpm test:*)",
12
+ "Bash(mkdir:*)",
13
+ "Bash(pnpm audit:*)",
14
+ "Bash(pnpm test:coverage:*)",
15
+ "Bash(find:*)",
16
+ "Bash(pnpm planning:sync:*)",
17
+ "Bash(test:*)",
18
+ "mcp__serena__find_symbol",
19
+ "Edit",
20
+ "Read",
21
+ "Bash(git log:*)",
22
+ "LS",
23
+ "Grep",
24
+ "Glob",
25
+ "Bash(pnpm run cleanup:issues:*)",
26
+ "Bash(pnpm run planning:cleanup:*)",
27
+ "Bash(tsx src/scripts/cleanup-issues.ts:*)",
28
+ "Bash(npx tsx:*)",
29
+ "Bash(node --loader tsx src/scripts/cleanup-issues.ts:*)",
30
+ "Bash(pnpm exec tsx:*)",
31
+ "Bash(pnpm run planning:create:*)",
32
+ "Bash(pnpm run planning:sync:*)",
33
+ "WebFetch(domain:www.reddit.com)",
34
+ "WebFetch(domain:docs.github.com)",
35
+ "mcp__serena__search_for_pattern",
36
+ "Bash(tsx src/scripts/planning-sync.ts:*)",
37
+ "Bash(pnpm run lint)",
38
+ "Bash(pnpm run test)",
39
+ "Bash(pnpm run typecheck:*)",
40
+ "Bash(pnpm run test:coverage)",
41
+ "Bash(pnpm exec biome:*)",
42
+ "Bash(pnpm exec vitest:*)",
43
+ "Bash(pnpm run lint:*)",
44
+ "Bash(pnpm run test:*)",
45
+ "Bash(pnpm --filter=@repo/db run typecheck:*)",
46
+ "mcp__serena__get_symbols_overview",
47
+ "Bash(./.claude/scripts/validate-registry.sh:*)",
48
+ "Bash(./sync-registry.sh:*)",
49
+ "Bash(./.claude/scripts/validate-docs.sh:*)",
50
+ "Bash(./.claude/scripts/health-check.sh:*)",
51
+ "WebSearch",
52
+ "Bash(pnpm build:*)",
53
+ "Bash(pnpm vitest run:*)",
54
+ "Bash(pnpm format:*)",
55
+ "Bash(pnpm check:*)",
56
+ "Bash(pnpm test:file:*)",
57
+ "Bash(pnpm biome check:*)",
58
+ "Bash(pnpm run test:coverage:*)",
59
+ "Bash(pnpm --filter=@repo/github-workflow test:coverage:*)",
60
+ "Bash(pnpm lint:md:*)",
61
+ "Bash(pnpm markdownlint-cli2:*)",
62
+ "Bash(pnpm biome lint:*)",
63
+ "Bash(pnpm --filter=@repo/db biome check:*)",
64
+ "Bash(pnpm lint:md:docs:*)",
65
+ "Bash(tee:*)",
66
+ "Bash(pnpm --filter=@repo/schemas run typecheck:*)",
67
+ "Bash(pnpm --filter=@repo/db run test -- pricingPlan)",
68
+ "Bash(pnpm --filter=@repo/service-core run lint:*)",
69
+ "Bash(pnpm --filter=@repo/service-core run typecheck:*)",
70
+ "Bash(pnpm --filter=@repo/service-core run test -- pricingPlan)",
71
+ "Bash(pnpm --filter=@repo/service-core run test -- \"pricingPlan|pricingTier|purchase\")",
72
+ "Bash(pnpm --filter=@repo/service-core run test:*)",
73
+ "Bash(pnpm --filter=@repo/db run test:*)",
74
+ "Bash(pnpm --filter=@repo/schemas run test:*)",
75
+ "Bash(pnpm --filter @repo/service-core test:*)",
76
+ "Bash(pnpm --filter @repo/schemas run lint)",
77
+ "Bash(pnpm --filter @repo/db run lint:*)",
78
+ "Bash(pnpm --filter @repo/service-core run lint:*)",
79
+ "Bash(pnpm --filter @repo/schemas run typecheck:*)",
80
+ "Bash(pnpm --filter @repo/db run typecheck:*)",
81
+ "Bash(pnpm --filter @repo/service-core run typecheck:*)",
82
+ "mcp__serena__find_file",
83
+ "Bash(pnpm test:e2e:*)",
84
+ "Bash(pnpm --filter=api test test/e2e/flows/campaign/scenario-1-complete-flow.test.ts)",
85
+ "Bash(pnpm --filter=@hospeda/api test:e2e test/e2e/flows/campaign/scenario-1-complete-flow.test.ts)",
86
+ "Bash(pnpm --filter @repo/api test:e2e:*)",
87
+ "Bash(pnpm --filter hospeda-api test:e2e:*)",
88
+ "Bash(pnpm --filter @hospeda/api test:e2e:*)",
89
+ "Bash(pnpm --filter hospeda-api test test/e2e/flows/professional-service/debug.test.ts)",
90
+ "Bash(pnpm --filter=hospeda-api test:e2e test/e2e/flows/professional-service/scenario-1-complete-flow.test.ts)",
91
+ "Bash(pnpm --filter=@hospeda/api test:*)",
92
+ "Bash(pnpm --filter=api test test/e2e/flows/professional-service/scenario-1-complete-flow.test.ts)",
93
+ "Bash(pnpm --filter=@hospeda/api run typecheck)",
94
+ "Bash(pnpm --filter=hospeda-api test:e2e:*)",
95
+ "Bash(pnpm run test:e2e:*)",
96
+ "Bash(pnpm --filter=@hospeda/api test:e2e:*)",
97
+ "Bash(pnpm --filter=hospeda-api test:*)",
98
+ "mcp__filesystem__list_directory"
99
+ ],
100
+ "deny": [],
101
+ "ask": []
102
+ },
103
+ "hooks": {
104
+ "Stop": [
105
+ {
106
+ "hooks": [
107
+ {
108
+ "type": "command",
109
+ "command": "echo -ne '\\007'",
110
+ "timeout": 5
111
+ }
112
+ ]
113
+ }
114
+ ],
115
+ "SubagentStop": [
116
+ {
117
+ "hooks": [
118
+ {
119
+ "type": "command",
120
+ "command": "echo -ne '\\007'",
121
+ "timeout": 5
122
+ }
123
+ ]
124
+ }
125
+ ],
126
+ "Notification": [
127
+ {
128
+ "hooks": [
129
+ {
130
+ "type": "command",
131
+ "command": ".claude/hooks/on-notification.sh",
132
+ "timeout": 10
133
+ }
134
+ ]
135
+ }
136
+ ]
137
+ }
138
+ }
@@ -0,0 +1,197 @@
1
+ # Skills
2
+
3
+ This directory contains **reusable skill modules** that provide specialized knowledge and workflows. Skills can be used by multiple agents and are invoked when specific expertise is needed.
4
+
5
+ ## ⚙️ Configuration Required
6
+
7
+ All skills include a `config_required` section in their YAML frontmatter. Configure the required settings in your project before using a skill.
8
+
9
+ **Example skill frontmatter:**
10
+ ```yaml
11
+ ---
12
+ name: skill-name
13
+ category: testing|audit|patterns|tech|utils
14
+ description: Brief description
15
+ usage: When to use this skill
16
+ input: What the skill needs
17
+ output: What the skill produces
18
+ config_required:
19
+ - setting_name: "Description of what to configure"
20
+ ---
21
+ ```
22
+
23
+ ## Skill Categories
24
+
25
+ ### Testing Skills (6 skills)
26
+
27
+ | Skill | Description | When to Use |
28
+ |-------|-------------|-------------|
29
+ | [api-app-testing](testing/api-app-testing.md) | API endpoint testing workflow | Testing APIs during development |
30
+ | [performance-testing](testing/performance-testing.md) | Performance benchmarks and load testing | Validating performance requirements |
31
+ | [security-testing](testing/security-testing.md) | Security testing patterns | Testing security during development |
32
+ | [web-app-testing](qa/web-app-testing.md) | E2E web application testing | Testing web UI flows |
33
+ | [qa-criteria-validator](qa/qa-criteria-validator.md) | Validate against PDR acceptance criteria | Before feature completion |
34
+ | [tdd-methodology](patterns/tdd-methodology.md) | Test-Driven Development workflow | During implementation |
35
+
36
+ ### Audit Skills (3 skills)
37
+
38
+ | Skill | Description | When to Use |
39
+ |-------|-------------|-------------|
40
+ | [security-audit](audit/security-audit.md) | OWASP compliance and penetration testing | Pre-deployment, quarterly reviews |
41
+ | [performance-audit](audit/performance-audit.md) | Core Web Vitals and optimization | Pre-deployment, after major features |
42
+ | [accessibility-audit](audit/accessibility-audit.md) | WCAG 2.1 Level AA compliance | Pre-deployment, after UI changes |
43
+
44
+ ### Pattern Skills (3 skills)
45
+
46
+ | Skill | Description | When to Use |
47
+ |-------|-------------|-------------|
48
+ | [error-handling-patterns](patterns/error-handling-patterns.md) | Error class hierarchy and handling | Implementing error handling |
49
+ | [auth-patterns](auth/nextauth-patterns.md) | Authentication patterns | Implementing auth flows |
50
+ | [i18n-patterns](i18n/i18n-patterns.md) | Internationalization patterns | Adding multi-language support |
51
+
52
+ ### State Management Skills (3 skills)
53
+
54
+ | Skill | Description | When to Use |
55
+ |-------|-------------|-------------|
56
+ | [redux-toolkit-patterns](state/redux-toolkit-patterns.md) | Redux Toolkit patterns | Using Redux for state |
57
+ | [tanstack-query-patterns](state/tanstack-query-patterns.md) | TanStack Query patterns | Server state management |
58
+ | [zustand-patterns](state/zustand-patterns.md) | Zustand patterns | Simple client state |
59
+
60
+ ### React Skills (1 skill)
61
+
62
+ | Skill | Description | When to Use |
63
+ |-------|-------------|-------------|
64
+ | [react-hook-form-patterns](react/react-hook-form-patterns.md) | Form handling with React Hook Form | Building forms |
65
+
66
+ ### Tech Skills (3 skills)
67
+
68
+ | Skill | Description | When to Use |
69
+ |-------|-------------|-------------|
70
+ | [mermaid-diagram-specialist](tech/mermaid-diagram-specialist.md) | Creating Mermaid diagrams | Documentation, architecture |
71
+ | [component-library-specialist](tech/shadcn-specialist.md) | Component library integration | UI implementation |
72
+ | [deployment-platform-specialist](tech/vercel-specialist.md) | Deployment configuration | Deploying applications |
73
+
74
+ ### Utility Skills (3 skills)
75
+
76
+ | Skill | Description | When to Use |
77
+ |-------|-------------|-------------|
78
+ | [add-memory](utils/add-memory.md) | Capture learnings and knowledge | After discovering patterns/issues |
79
+ | [json-data-auditor](utils/json-data-auditor.md) | JSON validation and transformation | Working with JSON data |
80
+ | [pdf-generator](utils/pdf-creator-editor.md) | PDF generation | Creating reports, invoices |
81
+
82
+ ### Git Skills (1 skill)
83
+
84
+ | Skill | Description | When to Use |
85
+ |-------|-------------|-------------|
86
+ | [git-commit-helper](git/git-commit-helper.md) | Conventional commit messages | Creating commits |
87
+
88
+ ### Documentation Skills (1 skill)
89
+
90
+ | Skill | Description | When to Use |
91
+ |-------|-------------|-------------|
92
+ | [markdown-formatter](documentation/markdown-formatter.md) | Markdown formatting standards | Formatting documentation |
93
+
94
+ ### Design Skills (1 skill)
95
+
96
+ | Skill | Description | When to Use |
97
+ |-------|-------------|-------------|
98
+ | [brand-guidelines](brand-guidelines.md) | Brand consistency in UI | Creating UI components |
99
+
100
+ ## Testing vs Audit Skills
101
+
102
+ | Aspect | Testing Skills | Audit Skills |
103
+ |--------|----------------|--------------|
104
+ | **When** | During development (Phase 2) | Before deployment (Phase 3-4) |
105
+ | **Frequency** | Continuous (every commit) | Periodic (quarterly, pre-deploy) |
106
+ | **Duration** | Minutes | 60-90 minutes |
107
+ | **Output** | Pass/Fail + Coverage % | Comprehensive report |
108
+ | **Focus** | Does code work? | Meets standards/compliance? |
109
+
110
+ ## Usage
111
+
112
+ Skills are invoked within agent workflows or directly:
113
+
114
+ ```text
115
+ "Apply the security-testing skill to validate input handling"
116
+ "Use git-commit-helper to generate commit message"
117
+ "Run qa-criteria-validator against the PDR"
118
+ ```
119
+
120
+ ## Skill File Format
121
+
122
+ Each skill file includes:
123
+
124
+ 1. **YAML Frontmatter**
125
+ - `name`: Unique identifier
126
+ - `category`: Skill category
127
+ - `description`: Brief description
128
+ - `usage`: When to use
129
+ - `input`/`output`: What skill needs and produces
130
+ - `config_required`: Configuration directives
131
+
132
+ 2. **Configuration Section**
133
+ - Table of required settings
134
+
135
+ 3. **Skill Content**
136
+ - Purpose
137
+ - Capabilities
138
+ - Workflow steps
139
+ - Best practices
140
+ - Deliverables
141
+
142
+ ## Directory Structure
143
+
144
+ ```text
145
+ skills/
146
+ ├── README.md
147
+ ├── brand-guidelines.md
148
+ ├── audit/
149
+ │ ├── security-audit.md
150
+ │ ├── performance-audit.md
151
+ │ └── accessibility-audit.md
152
+ ├── auth/
153
+ │ └── nextauth-patterns.md
154
+ ├── documentation/
155
+ │ └── markdown-formatter.md
156
+ ├── git/
157
+ │ └── git-commit-helper.md
158
+ ├── i18n/
159
+ │ └── i18n-patterns.md
160
+ ├── patterns/
161
+ │ ├── error-handling-patterns.md
162
+ │ └── tdd-methodology.md
163
+ ├── qa/
164
+ │ ├── qa-criteria-validator.md
165
+ │ └── web-app-testing.md
166
+ ├── react/
167
+ │ └── react-hook-form-patterns.md
168
+ ├── state/
169
+ │ ├── redux-toolkit-patterns.md
170
+ │ ├── tanstack-query-patterns.md
171
+ │ └── zustand-patterns.md
172
+ ├── tech/
173
+ │ ├── mermaid-diagram-specialist.md
174
+ │ ├── shadcn-specialist.md
175
+ │ └── vercel-specialist.md
176
+ ├── testing/
177
+ │ ├── api-app-testing.md
178
+ │ ├── performance-testing.md
179
+ │ └── security-testing.md
180
+ └── utils/
181
+ ├── add-memory.md
182
+ ├── json-data-auditor.md
183
+ └── pdf-creator-editor.md
184
+ ```
185
+
186
+ ## Adding New Skills
187
+
188
+ 1. Create `.md` file in appropriate category folder
189
+ 2. Include YAML frontmatter with `config_required`
190
+ 3. Add `⚙️ Configuration` section with settings table
191
+ 4. Keep content concise (150-300 lines target)
192
+ 5. Update this README
193
+
194
+ ## Related
195
+
196
+ - [Agents](../agents/README.md)
197
+ - [Commands](../commands/README.md)