sinapse-ai 7.1.0 → 7.3.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 (70) hide show
  1. package/.sinapse-ai/data/entity-registry.yaml +777 -881
  2. package/.sinapse-ai/data/registry-update-log.jsonl +2 -0
  3. package/.sinapse-ai/development/agents/sinapse-orqx.md +599 -443
  4. package/.sinapse-ai/install-manifest.yaml +6 -6
  5. package/bin/cli.js +116 -75
  6. package/package.json +2 -1
  7. package/packages/installer/src/wizard/i18n.js +2 -2
  8. package/packages/installer/src/wizard/index.js +14 -0
  9. package/packages/installer/src/wizard/questions.js +3 -3
  10. package/sinapse/agents/sinapse-orqx.md +32 -14
  11. package/squads/claude-code-mastery/CHANGELOG.md +22 -0
  12. package/squads/claude-code-mastery/README.md +146 -0
  13. package/squads/claude-code-mastery/agents/claude-mastery-chief.md +554 -0
  14. package/squads/claude-code-mastery/agents/config-engineer.md +865 -0
  15. package/squads/claude-code-mastery/agents/hooks-architect.md +1013 -0
  16. package/squads/claude-code-mastery/agents/mcp-integrator.md +791 -0
  17. package/squads/claude-code-mastery/agents/project-integrator.md +1196 -0
  18. package/squads/claude-code-mastery/agents/roadmap-sentinel.md +931 -0
  19. package/squads/claude-code-mastery/agents/skill-craftsman.md +1250 -0
  20. package/squads/claude-code-mastery/agents/swarm-orqx.md +1008 -0
  21. package/squads/claude-code-mastery/checklists/agent-team-readiness-checklist.md +88 -0
  22. package/squads/claude-code-mastery/checklists/brownfield-readiness-checklist.md +91 -0
  23. package/squads/claude-code-mastery/checklists/change-checklist.md +75 -0
  24. package/squads/claude-code-mastery/checklists/context-rot-checklist.md +114 -0
  25. package/squads/claude-code-mastery/checklists/integration-audit-checklist.md +104 -0
  26. package/squads/claude-code-mastery/checklists/multi-agent-review-checklist.md +77 -0
  27. package/squads/claude-code-mastery/checklists/pre-push-checklist.md +79 -0
  28. package/squads/claude-code-mastery/data/ci-cd-patterns.yaml +412 -0
  29. package/squads/claude-code-mastery/data/claude-code-quick-ref.yaml +314 -0
  30. package/squads/claude-code-mastery/data/hook-patterns.yaml +512 -0
  31. package/squads/claude-code-mastery/data/mcp-integration-catalog.yaml +323 -0
  32. package/squads/claude-code-mastery/data/project-type-signatures.yaml +335 -0
  33. package/squads/claude-code-mastery/scripts/validate-setup.js +163 -0
  34. package/squads/claude-code-mastery/squad.yaml +205 -0
  35. package/squads/claude-code-mastery/tasks/audit-integration.md +219 -0
  36. package/squads/claude-code-mastery/tasks/audit-settings.md +206 -0
  37. package/squads/claude-code-mastery/tasks/audit-setup.md +225 -0
  38. package/squads/claude-code-mastery/tasks/brownfield-setup.md +322 -0
  39. package/squads/claude-code-mastery/tasks/ci-cd-setup.md +335 -0
  40. package/squads/claude-code-mastery/tasks/claude-md-engineer.md +334 -0
  41. package/squads/claude-code-mastery/tasks/configure-claude-code.md +215 -0
  42. package/squads/claude-code-mastery/tasks/context-rot-audit.md +329 -0
  43. package/squads/claude-code-mastery/tasks/create-agent-definition.md +278 -0
  44. package/squads/claude-code-mastery/tasks/create-rules.md +206 -0
  45. package/squads/claude-code-mastery/tasks/create-team-topology.md +258 -0
  46. package/squads/claude-code-mastery/tasks/diagnose.md +166 -0
  47. package/squads/claude-code-mastery/tasks/enterprise-config.md +346 -0
  48. package/squads/claude-code-mastery/tasks/hook-designer.md +272 -0
  49. package/squads/claude-code-mastery/tasks/integrate-project.md +304 -0
  50. package/squads/claude-code-mastery/tasks/mcp-integration-plan.md +229 -0
  51. package/squads/claude-code-mastery/tasks/mcp-workflow.md +285 -0
  52. package/squads/claude-code-mastery/tasks/multi-project-setup.md +228 -0
  53. package/squads/claude-code-mastery/tasks/optimize-context.md +217 -0
  54. package/squads/claude-code-mastery/tasks/optimize-workflow.md +226 -0
  55. package/squads/claude-code-mastery/tasks/parallel-decomposition.md +293 -0
  56. package/squads/claude-code-mastery/tasks/permission-strategy.md +266 -0
  57. package/squads/claude-code-mastery/tasks/sandbox-setup.md +279 -0
  58. package/squads/claude-code-mastery/tasks/setup-repository.md +230 -0
  59. package/squads/claude-code-mastery/tasks/setup-wizard.md +236 -0
  60. package/squads/claude-code-mastery/tasks/worktree-strategy.md +320 -0
  61. package/squads/claude-code-mastery/templates/claude-md-fullstack.md +147 -0
  62. package/squads/claude-code-mastery/templates/claude-md-library.md +175 -0
  63. package/squads/claude-code-mastery/templates/claude-md-microservices.md +186 -0
  64. package/squads/claude-code-mastery/templates/claude-md-mobile.md +198 -0
  65. package/squads/claude-code-mastery/templates/claude-md-monorepo.md +139 -0
  66. package/squads/claude-code-mastery/templates/github-actions-claude-ci.yml +348 -0
  67. package/squads/claude-code-mastery/templates/github-actions-claude-review.yml +179 -0
  68. package/squads/claude-code-mastery/workflows/wf-audit-complete.yaml +140 -0
  69. package/squads/claude-code-mastery/workflows/wf-knowledge-update.yaml +165 -0
  70. package/squads/claude-code-mastery/workflows/wf-project-setup.yaml +192 -0
@@ -0,0 +1,323 @@
1
+ # MCP Integration Catalog — Recommended Servers by Use Case
2
+ # Squad: claude-code-mastery
3
+ # Last updated: 2026-03-02
4
+
5
+ version: "1.0.0"
6
+
7
+ # MCP (Model Context Protocol) servers extend Claude Code with external capabilities.
8
+ # This catalog organizes servers by use case with installation and cost estimates.
9
+
10
+ categories:
11
+
12
+ # ---------------------------------------------------------------------------
13
+ # DEVELOPMENT — Core dev workflow tools
14
+ # ---------------------------------------------------------------------------
15
+ development:
16
+ description: "Core development workflow tools"
17
+ servers:
18
+ - name: filesystem
19
+ package: "@modelcontextprotocol/server-filesystem"
20
+ transport: stdio
21
+ context_cost_estimate: low
22
+ install_command: "npx -y @modelcontextprotocol/server-filesystem /path/to/allowed/dir"
23
+ use_cases:
24
+ - "Read/write files in sandboxed directories"
25
+ - "List directory contents"
26
+ - "Search files by pattern"
27
+ config_example: |
28
+ {
29
+ "mcpServers": {
30
+ "filesystem": {
31
+ "command": "npx",
32
+ "args": ["-y", "@modelcontextprotocol/server-filesystem", "/Users/me/projects"]
33
+ }
34
+ }
35
+ }
36
+ notes: "Redundant with native Read/Write/Glob tools in Claude Code. Use only for sandboxed access."
37
+
38
+ - name: git
39
+ package: "@modelcontextprotocol/server-git"
40
+ transport: stdio
41
+ context_cost_estimate: low
42
+ install_command: "npx -y @modelcontextprotocol/server-git"
43
+ use_cases:
44
+ - "Git operations (status, diff, log, commit)"
45
+ - "Branch management"
46
+ - "Blame and history analysis"
47
+ notes: "Native Bash tool with git CLI is usually sufficient."
48
+
49
+ - name: docker
50
+ package: "@modelcontextprotocol/server-docker"
51
+ transport: stdio
52
+ context_cost_estimate: low
53
+ install_command: "npx -y @modelcontextprotocol/server-docker"
54
+ use_cases:
55
+ - "Container management (start, stop, list)"
56
+ - "Image management"
57
+ - "Docker Compose operations"
58
+
59
+ - name: github
60
+ package: "@modelcontextprotocol/server-github"
61
+ transport: stdio
62
+ context_cost_estimate: medium
63
+ install_command: "npx -y @modelcontextprotocol/server-github"
64
+ use_cases:
65
+ - "PR management (create, review, merge)"
66
+ - "Issue tracking"
67
+ - "Repository operations"
68
+ - "Code search across repos"
69
+ env_vars:
70
+ - GITHUB_PERSONAL_ACCESS_TOKEN
71
+ notes: "Alternative to gh CLI. Provides structured API access."
72
+
73
+ # ---------------------------------------------------------------------------
74
+ # RESEARCH — Information gathering and documentation
75
+ # ---------------------------------------------------------------------------
76
+ research:
77
+ description: "Information gathering and documentation lookup"
78
+ servers:
79
+ - name: exa
80
+ package: "exa-mcp-server"
81
+ transport: stdio
82
+ context_cost_estimate: medium
83
+ install_command: "npx -y exa-mcp-server"
84
+ use_cases:
85
+ - "Web search with AI-optimized results"
86
+ - "Research and competitive analysis"
87
+ - "Finding code examples and documentation"
88
+ - "Current events and news"
89
+ env_vars:
90
+ - EXA_API_KEY
91
+ config_example: |
92
+ {
93
+ "mcpServers": {
94
+ "exa": {
95
+ "command": "npx",
96
+ "args": ["-y", "exa-mcp-server"],
97
+ "env": { "EXA_API_KEY": "your-key-here" }
98
+ }
99
+ }
100
+ }
101
+
102
+ - name: context7
103
+ package: "@upstash/context7-mcp"
104
+ transport: stdio
105
+ context_cost_estimate: low
106
+ install_command: "npx -y @upstash/context7-mcp"
107
+ use_cases:
108
+ - "Library documentation lookup (React, Next.js, etc.)"
109
+ - "API reference for any npm/pip package"
110
+ - "Up-to-date docs without web search"
111
+ config_example: |
112
+ {
113
+ "mcpServers": {
114
+ "context7": {
115
+ "command": "npx",
116
+ "args": ["-y", "@upstash/context7-mcp"]
117
+ }
118
+ }
119
+ }
120
+ notes: "No API key required. Free tier available."
121
+
122
+ - name: web-search
123
+ package: "@anthropic-ai/web-search-mcp"
124
+ transport: stdio
125
+ context_cost_estimate: medium
126
+ install_command: "npx -y @anthropic-ai/web-search-mcp"
127
+ use_cases:
128
+ - "General web search"
129
+ - "Real-time information lookup"
130
+
131
+ # ---------------------------------------------------------------------------
132
+ # COMMUNICATION — Team notifications and messaging
133
+ # ---------------------------------------------------------------------------
134
+ communication:
135
+ description: "Team communication and notification tools"
136
+ servers:
137
+ - name: slack
138
+ package: "@modelcontextprotocol/server-slack"
139
+ transport: stdio
140
+ context_cost_estimate: medium
141
+ install_command: "npx -y @modelcontextprotocol/server-slack"
142
+ use_cases:
143
+ - "Send messages to Slack channels"
144
+ - "Read channel history for context"
145
+ - "Post build/deploy notifications"
146
+ - "Team standup automation"
147
+ env_vars:
148
+ - SLACK_BOT_TOKEN
149
+ - SLACK_TEAM_ID
150
+
151
+ - name: email
152
+ package: "mcp-server-email"
153
+ transport: stdio
154
+ context_cost_estimate: low
155
+ install_command: "npx -y mcp-server-email"
156
+ use_cases:
157
+ - "Send email notifications"
158
+ - "Read emails for context"
159
+ - "Draft email responses"
160
+ env_vars:
161
+ - EMAIL_SMTP_HOST
162
+ - EMAIL_SMTP_USER
163
+ - EMAIL_SMTP_PASS
164
+
165
+ # ---------------------------------------------------------------------------
166
+ # DATABASE — Data storage and query
167
+ # ---------------------------------------------------------------------------
168
+ database:
169
+ description: "Database access and management"
170
+ servers:
171
+ - name: supabase
172
+ package: "@supabase/mcp-server-supabase"
173
+ transport: stdio
174
+ context_cost_estimate: medium
175
+ install_command: "npx -y @supabase/mcp-server-supabase"
176
+ use_cases:
177
+ - "Database queries and mutations"
178
+ - "Schema inspection"
179
+ - "Migration management"
180
+ - "RLS policy management"
181
+ - "Edge function deployment"
182
+ env_vars:
183
+ - SUPABASE_ACCESS_TOKEN
184
+ config_example: |
185
+ {
186
+ "mcpServers": {
187
+ "supabase": {
188
+ "command": "npx",
189
+ "args": ["-y", "@supabase/mcp-server-supabase", "--access-token", "your-token"]
190
+ }
191
+ }
192
+ }
193
+
194
+ - name: postgres
195
+ package: "@modelcontextprotocol/server-postgres"
196
+ transport: stdio
197
+ context_cost_estimate: medium
198
+ install_command: "npx -y @modelcontextprotocol/server-postgres"
199
+ use_cases:
200
+ - "Direct PostgreSQL queries"
201
+ - "Schema inspection and analysis"
202
+ - "Data exploration"
203
+ env_vars:
204
+ - POSTGRES_CONNECTION_STRING
205
+
206
+ - name: sqlite
207
+ package: "@modelcontextprotocol/server-sqlite"
208
+ transport: stdio
209
+ context_cost_estimate: low
210
+ install_command: "npx -y @modelcontextprotocol/server-sqlite"
211
+ use_cases:
212
+ - "Local SQLite database queries"
213
+ - "Embedded database development"
214
+ - "Prototyping data models"
215
+
216
+ # ---------------------------------------------------------------------------
217
+ # BROWSER — Web automation and testing
218
+ # ---------------------------------------------------------------------------
219
+ browser:
220
+ description: "Browser automation, testing, and web interaction"
221
+ servers:
222
+ - name: playwright
223
+ package: "@anthropic-ai/mcp-server-playwright"
224
+ transport: stdio
225
+ context_cost_estimate: high
226
+ install_command: "npx -y @anthropic-ai/mcp-server-playwright"
227
+ use_cases:
228
+ - "Browser automation and testing"
229
+ - "Screenshot capture for visual verification"
230
+ - "Form filling and interaction testing"
231
+ - "Console log inspection"
232
+ - "E2E test execution"
233
+ notes: "High context cost due to DOM snapshots. Use judiciously."
234
+ config_example: |
235
+ {
236
+ "mcpServers": {
237
+ "playwright": {
238
+ "command": "npx",
239
+ "args": ["-y", "@anthropic-ai/mcp-server-playwright"]
240
+ }
241
+ }
242
+ }
243
+
244
+ - name: puppeteer
245
+ package: "@anthropic-ai/mcp-server-puppeteer"
246
+ transport: stdio
247
+ context_cost_estimate: high
248
+ install_command: "npx -y @anthropic-ai/mcp-server-puppeteer"
249
+ use_cases:
250
+ - "Headless browser automation"
251
+ - "PDF generation"
252
+ - "Screenshot capture"
253
+ notes: "Playwright is generally preferred over Puppeteer for new projects."
254
+
255
+ # ---------------------------------------------------------------------------
256
+ # DESIGN — UI/UX tools
257
+ # ---------------------------------------------------------------------------
258
+ design:
259
+ description: "Design and UI/UX tools"
260
+ servers:
261
+ - name: 21st-dev-magic
262
+ package: "@21st-dev/magic-mcp"
263
+ transport: stdio
264
+ context_cost_estimate: medium
265
+ install_command: "npx -y @21st-dev/magic-mcp"
266
+ use_cases:
267
+ - "Generate UI components from descriptions"
268
+ - "Design system integration"
269
+ - "Component library search"
270
+ env_vars:
271
+ - TWENTY_FIRST_API_KEY
272
+
273
+ - name: figma
274
+ package: "figma-mcp-server"
275
+ transport: stdio
276
+ context_cost_estimate: high
277
+ install_command: "npx -y figma-mcp-server"
278
+ use_cases:
279
+ - "Extract design tokens from Figma files"
280
+ - "Read component specifications"
281
+ - "Design-to-code translation"
282
+ env_vars:
283
+ - FIGMA_ACCESS_TOKEN
284
+
285
+ # ---------------------------------------------------------------------------
286
+ # MONITORING — Observability and error tracking
287
+ # ---------------------------------------------------------------------------
288
+ monitoring:
289
+ description: "Application monitoring and error tracking"
290
+ servers:
291
+ - name: sentry
292
+ package: "@sentry/mcp-server"
293
+ transport: stdio
294
+ context_cost_estimate: medium
295
+ install_command: "npx -y @sentry/mcp-server"
296
+ use_cases:
297
+ - "Query error events and stack traces"
298
+ - "Analyze error frequency and impact"
299
+ - "Debug production issues with context"
300
+ env_vars:
301
+ - SENTRY_AUTH_TOKEN
302
+
303
+ # ---------------------------------------------------------------------------
304
+ # TRANSPORT SELECTION GUIDE
305
+ # ---------------------------------------------------------------------------
306
+ transport_guide:
307
+ stdio:
308
+ description: "Local process communication via stdin/stdout"
309
+ when_to_use: "Local servers, npm packages, most common"
310
+ pros: ["Simple setup", "No network overhead", "Works offline"]
311
+ cons: ["Cannot share across machines", "Process lifecycle management"]
312
+
313
+ http_streamable:
314
+ description: "HTTP-based communication (newer protocol)"
315
+ when_to_use: "Remote servers, cloud-hosted services, team-shared servers"
316
+ pros: ["Shareable", "Language agnostic", "Stateless"]
317
+ cons: ["Network latency", "Requires running server"]
318
+
319
+ sse:
320
+ description: "Server-Sent Events (legacy)"
321
+ when_to_use: "Legacy servers not yet migrated to HTTP Streamable"
322
+ pros: ["Wide support"]
323
+ cons: ["Being deprecated", "One-directional streaming"]
@@ -0,0 +1,335 @@
1
+ # Project Type Signatures — Detection & Configuration Recommendations
2
+ # Squad: claude-code-mastery
3
+ # Last updated: 2026-03-02
4
+
5
+ version: "1.0.0"
6
+
7
+ # Each project type defines detection signals and recommended Claude Code configuration.
8
+ # Used by config-engineer and project-integrator agents to bootstrap projects.
9
+
10
+ project_types:
11
+
12
+ # ---------------------------------------------------------------------------
13
+ monorepo:
14
+ display_name: "Monorepo (Turborepo / Nx / Lerna)"
15
+ detection_files:
16
+ - turbo.json
17
+ - nx.json
18
+ - lerna.json
19
+ - pnpm-workspace.yaml
20
+ detection_patterns:
21
+ - file: package.json
22
+ field: workspaces
23
+ description: "Has 'workspaces' field in root package.json"
24
+ - file: package.json
25
+ field: "scripts.build"
26
+ contains: "turbo"
27
+ recommended_claude_md_template: claude-md-monorepo.md
28
+ recommended_rules:
29
+ - name: monorepo-boundaries
30
+ description: "Enforce package boundaries, prevent cross-package direct imports"
31
+ path_pattern: "packages/**"
32
+ - name: shared-deps
33
+ description: "Validate shared dependency versions across packages"
34
+ recommended_mcp_servers:
35
+ - filesystem
36
+ - git
37
+ - context7
38
+ recommended_hooks:
39
+ - pattern: auto-lint
40
+ event: PostToolUse
41
+ description: "Run eslint on modified files after edits"
42
+ - pattern: damage-control
43
+ event: PreToolUse
44
+ description: "Block destructive commands"
45
+
46
+ # ---------------------------------------------------------------------------
47
+ fullstack-nextjs:
48
+ display_name: "Fullstack Next.js (App Router)"
49
+ detection_files:
50
+ - next.config.js
51
+ - next.config.mjs
52
+ - next.config.ts
53
+ detection_patterns:
54
+ - file: package.json
55
+ field: "dependencies.next"
56
+ description: "Has 'next' in dependencies"
57
+ - file: package.json
58
+ field: "dependencies.react"
59
+ description: "Has 'react' in dependencies"
60
+ - directory: app/
61
+ description: "Uses App Router (app/ directory)"
62
+ - directory: src/app/
63
+ description: "Uses App Router with src/ prefix"
64
+ recommended_claude_md_template: claude-md-fullstack.md
65
+ recommended_rules:
66
+ - name: server-client-boundary
67
+ description: "Enforce 'use client' / 'use server' directives"
68
+ path_pattern: "src/app/**"
69
+ - name: api-route-patterns
70
+ description: "Validate API route handler signatures"
71
+ path_pattern: "src/app/api/**"
72
+ - name: component-patterns
73
+ description: "Enforce component file structure and naming"
74
+ path_pattern: "src/components/**"
75
+ recommended_mcp_servers:
76
+ - filesystem
77
+ - git
78
+ - context7
79
+ - playwright
80
+ - supabase
81
+ recommended_hooks:
82
+ - pattern: auto-lint
83
+ event: PostToolUse
84
+ description: "Run eslint + prettier on save"
85
+ - pattern: damage-control
86
+ event: PreToolUse
87
+ description: "Block rm -rf, git push --force"
88
+
89
+ # ---------------------------------------------------------------------------
90
+ react-library:
91
+ display_name: "React Component Library / Design System"
92
+ detection_files:
93
+ - rollup.config.js
94
+ - rollup.config.mjs
95
+ - tsup.config.ts
96
+ - vite.config.ts
97
+ detection_patterns:
98
+ - file: package.json
99
+ field: "peerDependencies.react"
100
+ description: "React as peer dependency (library pattern)"
101
+ - file: package.json
102
+ field: main
103
+ description: "Has 'main' entry point for distribution"
104
+ - file: package.json
105
+ field: exports
106
+ description: "Has 'exports' map for ESM/CJS"
107
+ - directory: src/components/
108
+ description: "Component source directory"
109
+ recommended_claude_md_template: claude-md-library.md
110
+ recommended_rules:
111
+ - name: public-api-surface
112
+ description: "Track public exports, prevent breaking changes"
113
+ path_pattern: "src/index.ts"
114
+ - name: peer-dep-ranges
115
+ description: "Validate peer dependency version ranges"
116
+ - name: storybook-coverage
117
+ description: "Ensure every exported component has a story"
118
+ path_pattern: "src/**/*.stories.tsx"
119
+ recommended_mcp_servers:
120
+ - filesystem
121
+ - git
122
+ - context7
123
+ recommended_hooks:
124
+ - pattern: auto-lint
125
+ event: PostToolUse
126
+ - pattern: api-surface-check
127
+ event: PostToolUse
128
+ description: "Warn if public API changes detected"
129
+
130
+ # ---------------------------------------------------------------------------
131
+ python-api:
132
+ display_name: "Python API (FastAPI / Django / Flask)"
133
+ detection_files:
134
+ - requirements.txt
135
+ - pyproject.toml
136
+ - setup.py
137
+ - Pipfile
138
+ - poetry.lock
139
+ detection_patterns:
140
+ - file: pyproject.toml
141
+ field: "tool.poetry"
142
+ description: "Uses Poetry for dependency management"
143
+ - file: requirements.txt
144
+ contains: "fastapi"
145
+ description: "FastAPI dependency detected"
146
+ - file: requirements.txt
147
+ contains: "django"
148
+ description: "Django dependency detected"
149
+ - file: requirements.txt
150
+ contains: "flask"
151
+ description: "Flask dependency detected"
152
+ - directory: app/
153
+ description: "Application directory"
154
+ recommended_claude_md_template: claude-md-python-api.md
155
+ recommended_rules:
156
+ - name: type-hints
157
+ description: "Enforce type hints on all function signatures"
158
+ path_pattern: "**/*.py"
159
+ - name: docstrings
160
+ description: "Require docstrings on public functions/classes"
161
+ path_pattern: "**/*.py"
162
+ - name: migration-safety
163
+ description: "Validate Alembic/Django migrations"
164
+ recommended_mcp_servers:
165
+ - filesystem
166
+ - git
167
+ - context7
168
+ - postgres
169
+ recommended_hooks:
170
+ - pattern: auto-lint
171
+ event: PostToolUse
172
+ description: "Run ruff/black on modified Python files"
173
+ - pattern: security-gate
174
+ event: PreToolUse
175
+ description: "Block exposure of .env, secrets"
176
+
177
+ # ---------------------------------------------------------------------------
178
+ mobile-react-native:
179
+ display_name: "Mobile (React Native / Expo)"
180
+ detection_files:
181
+ - app.json
182
+ - app.config.js
183
+ - app.config.ts
184
+ - metro.config.js
185
+ - react-native.config.js
186
+ detection_patterns:
187
+ - file: package.json
188
+ field: "dependencies.react-native"
189
+ description: "Has 'react-native' dependency"
190
+ - file: package.json
191
+ field: "dependencies.expo"
192
+ description: "Has 'expo' dependency"
193
+ - directory: ios/
194
+ description: "iOS native directory"
195
+ - directory: android/
196
+ description: "Android native directory"
197
+ recommended_claude_md_template: claude-md-mobile.md
198
+ recommended_rules:
199
+ - name: platform-imports
200
+ description: "Validate platform-specific imports (.ios.ts, .android.ts)"
201
+ path_pattern: "src/**"
202
+ - name: navigation-patterns
203
+ description: "Enforce React Navigation patterns"
204
+ path_pattern: "src/navigation/**"
205
+ recommended_mcp_servers:
206
+ - filesystem
207
+ - git
208
+ - context7
209
+ recommended_hooks:
210
+ - pattern: damage-control
211
+ event: PreToolUse
212
+ description: "Block destructive native directory operations"
213
+
214
+ # ---------------------------------------------------------------------------
215
+ rust-project:
216
+ display_name: "Rust Project (Cargo)"
217
+ detection_files:
218
+ - Cargo.toml
219
+ - Cargo.lock
220
+ detection_patterns:
221
+ - directory: src/
222
+ description: "Rust source directory"
223
+ - file: Cargo.toml
224
+ field: "[workspace]"
225
+ description: "Cargo workspace (monorepo)"
226
+ recommended_claude_md_template: claude-md-rust.md
227
+ recommended_rules:
228
+ - name: unsafe-audit
229
+ description: "Flag all unsafe blocks for review"
230
+ path_pattern: "src/**/*.rs"
231
+ - name: clippy-compliance
232
+ description: "Ensure clippy warnings are addressed"
233
+ recommended_mcp_servers:
234
+ - filesystem
235
+ - git
236
+ - context7
237
+ recommended_hooks:
238
+ - pattern: auto-lint
239
+ event: PostToolUse
240
+ description: "Run cargo fmt on modified .rs files"
241
+ - pattern: damage-control
242
+ event: PreToolUse
243
+
244
+ # ---------------------------------------------------------------------------
245
+ go-project:
246
+ display_name: "Go Project"
247
+ detection_files:
248
+ - go.mod
249
+ - go.sum
250
+ detection_patterns:
251
+ - file: go.mod
252
+ field: module
253
+ description: "Go module declaration"
254
+ - directory: cmd/
255
+ description: "Go command directory pattern"
256
+ - directory: internal/
257
+ description: "Go internal packages"
258
+ recommended_claude_md_template: claude-md-go.md
259
+ recommended_rules:
260
+ - name: go-conventions
261
+ description: "Enforce Go naming and package conventions"
262
+ path_pattern: "**/*.go"
263
+ recommended_mcp_servers:
264
+ - filesystem
265
+ - git
266
+ - context7
267
+ recommended_hooks:
268
+ - pattern: auto-lint
269
+ event: PostToolUse
270
+ description: "Run gofmt on modified .go files"
271
+
272
+ # ---------------------------------------------------------------------------
273
+ static-site:
274
+ display_name: "Static Site (Astro / Hugo / Gatsby / 11ty)"
275
+ detection_files:
276
+ - astro.config.mjs
277
+ - gatsby-config.js
278
+ - hugo.toml
279
+ - .eleventy.js
280
+ - eleventy.config.js
281
+ detection_patterns:
282
+ - file: package.json
283
+ field: "dependencies.astro"
284
+ - directory: content/
285
+ description: "Content directory for static sites"
286
+ - directory: src/pages/
287
+ description: "Pages directory"
288
+ recommended_claude_md_template: claude-md-static-site.md
289
+ recommended_rules:
290
+ - name: content-frontmatter
291
+ description: "Validate frontmatter in markdown content files"
292
+ path_pattern: "content/**/*.md"
293
+ recommended_mcp_servers:
294
+ - filesystem
295
+ - git
296
+ - context7
297
+ recommended_hooks:
298
+ - pattern: auto-lint
299
+ event: PostToolUse
300
+
301
+ # ---------------------------------------------------------------------------
302
+ sinapse-project:
303
+ display_name: "SINAPSE-Managed Project"
304
+ detection_files:
305
+ - .sinapse-ai/core-config.yaml
306
+ - .sinapse-ai/constitution.md
307
+ detection_patterns:
308
+ - directory: .sinapse-ai/
309
+ description: "SINAPSE core framework directory"
310
+ - directory: .claude/commands/SINAPSE/
311
+ description: "SINAPSE agent commands for Claude"
312
+ - file: .claude/settings.json
313
+ contains: "SINAPSE"
314
+ recommended_claude_md_template: null
315
+ note: "SINAPSE projects already have CLAUDE.md managed by the framework"
316
+ recommended_rules:
317
+ - name: framework-boundary
318
+ description: "Enforce L1-L4 layer protection"
319
+ - name: agent-authority
320
+ description: "Enforce agent delegation matrix"
321
+ - name: story-lifecycle
322
+ description: "Enforce story status transitions"
323
+ recommended_mcp_servers:
324
+ - filesystem
325
+ - git
326
+ - context7
327
+ - coderabbit
328
+ - supabase
329
+ recommended_hooks:
330
+ - pattern: damage-control
331
+ event: PreToolUse
332
+ - pattern: auto-lint
333
+ event: PostToolUse
334
+ - pattern: context-preservation
335
+ event: PreCompact