claude-flow-novice 1.3.0 → 1.3.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.
- package/.claude-flow-novice/preferences/generation.json +147 -0
- package/.claude-flow-novice/preferences/language-configs/javascript.json +51 -0
- package/.claude-flow-novice/preferences/language-configs/python.json +50 -0
- package/.claude-flow-novice/preferences/language-configs/rust.json +237 -0
- package/.claude-flow-novice/preferences/language-configs/typescript.json +54 -0
- package/.claude-flow-novice/preferences/project-local.json +91 -0
- package/.claude-flow-novice/preferences/resource-delegation.json +120 -0
- package/.claude-flow-novice/preferences/team-shared.json +195 -0
- package/.claude-flow-novice/preferences/user-global.json +247 -0
- package/.claude-flow-novice/templates/claude-md-templates/CLAUDE-JAVASCRIPT.md +769 -0
- package/.claude-flow-novice/templates/claude-md-templates/CLAUDE-PYTHON.md +1214 -0
- package/.claude-flow-novice/templates/claude-md-templates/CLAUDE-RUST.md +475 -0
- package/.claude-flow-novice/templates/claude-md-templates/CLAUDE-TYPESCRIPT.md +851 -0
- package/.claude-flow-novice/templates/claude-md-templates/README.md +263 -0
- package/CLAUDE.md +81 -0
- package/README-NPM.md +0 -0
- package/package.json +11 -7
- package/scripts/build/README.md +167 -0
- package/scripts/build/build-config.js +27 -0
- package/scripts/build/build-prompt-copier.sh +30 -0
- package/scripts/build/performance-monitor.js +869 -0
- package/scripts/build/prepare-publish.js +150 -0
- package/scripts/build/typescript-fixer.js +621 -0
- package/scripts/build/unified-builder.sh +428 -0
- package/scripts/build/update-bin-version.js +32 -0
- package/scripts/dev/README.md +264 -0
- package/scripts/dev/claude-flow-wrapper.sh +35 -0
- package/scripts/dev/claude-monitor.py +419 -0
- package/scripts/dev/claude-sparc.sh +562 -0
- package/scripts/dev/claude-wrapper.sh +17 -0
- package/scripts/dev/demo-phase3-compliance.js +172 -0
- package/scripts/dev/demo-task-system.ts +224 -0
- package/scripts/dev/deployment-validator.js +315 -0
- package/scripts/dev/spawn-claude-terminal.sh +32 -0
- package/scripts/dev/start-portal.sh +506 -0
- package/scripts/dev/start-web-ui.js +15 -0
- package/scripts/dev/stop-portal.sh +311 -0
- package/scripts/dev/validate-examples.ts +288 -0
- package/scripts/dev/validate-phase2.cjs +451 -0
- package/scripts/dev/validate-phase2.js +785 -0
- package/scripts/dev/validate-phase3.cjs +208 -0
- package/scripts/dev/validate-security-remediation.js +1 -0
- package/scripts/legacy/README.md +272 -0
- package/scripts/legacy/batch-fix-ts.sh +54 -0
- package/scripts/legacy/build-migration.sh +105 -0
- package/scripts/legacy/build-monitor.js +209 -0
- package/scripts/legacy/build-with-filter.sh +84 -0
- package/scripts/legacy/build-workaround.sh +71 -0
- package/scripts/legacy/fix-ts-advanced.js +358 -0
- package/scripts/legacy/fix-ts-final.sh +50 -0
- package/scripts/legacy/fix-ts-targeted.sh +49 -0
- package/scripts/legacy/fix-typescript-errors.js +305 -0
- package/scripts/legacy/force-build.sh +63 -0
- package/scripts/legacy/optimize-performance.js +400 -0
- package/scripts/legacy/performance-monitor.js +263 -0
- package/scripts/legacy/performance-monitoring.js +532 -0
- package/scripts/legacy/performance-test-runner.js +645 -0
- package/scripts/legacy/quick-fix-ts.js +281 -0
- package/scripts/legacy/safe-build.sh +63 -0
- package/scripts/migration/README.md +434 -0
- package/scripts/migration/install-arm64.js +78 -0
- package/scripts/migration/install.js +83 -0
- package/scripts/migration/migrate-hooks.js +173 -0
- package/scripts/migration/migration-examples.ts +318 -0
- package/scripts/optimization/build-optimizer.js +438 -0
- package/scripts/optimization/config-validator.js +761 -0
- package/scripts/optimization/test-optimization.js +432 -0
- package/scripts/optimization/unified-activation.js +839 -0
- package/scripts/performance/ACTIVATION_COMMANDS.md +292 -0
- package/scripts/performance/sqlite-enhanced-activation.sh +583 -0
- package/scripts/performance/test-enhanced-backend.sh +504 -0
- package/scripts/performance-test-runner.js +698 -0
- package/scripts/security/README.md +339 -0
- package/scripts/security/install-git-hooks.sh +132 -0
- package/scripts/security/ruv-swarm-safe.js +74 -0
- package/scripts/test/README.md +236 -0
- package/scripts/test/check-links.ts +274 -0
- package/scripts/test/check-performance-regression.ts +168 -0
- package/scripts/test/coverage-report.ts +692 -0
- package/scripts/test/generate-swarm-tests.js +633 -0
- package/scripts/test/integration-test-validation.cjs +253 -0
- package/scripts/test/load-test-swarm.js +576 -0
- package/scripts/test/run-phase3-compliance-tests.js +427 -0
- package/scripts/test/test-batch-tasks.ts +29 -0
- package/scripts/test/test-byzantine-resolution.js +246 -0
- package/scripts/test/test-claude-spawn-options.sh +63 -0
- package/scripts/test/test-cli-wizard.js +331 -0
- package/scripts/test/test-comprehensive.js +401 -0
- package/scripts/test/test-coordination-features.ts +238 -0
- package/scripts/test/test-fallback-systems.js +276 -0
- package/scripts/test/test-init-command.ts +302 -0
- package/scripts/test/test-mcp.ts +251 -0
- package/scripts/test/test-runner.ts +568 -0
- package/scripts/test/test-swarm-integration.sh +92 -0
- package/scripts/test/test-swarm.ts +142 -0
- package/scripts/test/validation-summary.ts +408 -0
- package/scripts/utils/README.md +261 -0
- package/scripts/utils/clean-build-artifacts.sh +94 -0
- package/scripts/utils/cleanup-root.sh +69 -0
- package/scripts/utils/fix-cliffy-imports.js +307 -0
- package/scripts/utils/fix-duplicate-imports.js +114 -0
- package/scripts/utils/fix-error-handling.cjs +70 -0
- package/scripts/utils/fix-import-paths.js +104 -0
- package/scripts/utils/fix-imports.js +116 -0
- package/scripts/utils/fix-shebang.js +78 -0
- package/scripts/utils/fix-test-modules.js +27 -0
- package/scripts/utils/fix-timezone-issue-246.js +200 -0
- package/scripts/utils/fix-ts-comprehensive.py +182 -0
- package/scripts/utils/fix-ts-targeted-batch.js +250 -0
- package/scripts/utils/remove-benchmark-conflicts.sh +140 -0
- package/scripts/utils/simple-test-fixer.js +190 -0
- package/scripts/utils/validate-metrics-structure.cjs +144 -0
- package/scripts/verify-mcp-server.js +86 -0
- package/src/cli/simple-commands/__tests__/agent.test.js +291 -0
- package/src/cli/simple-commands/__tests__/memory.test.js +8 -0
- package/src/cli/simple-commands/__tests__/swarm.test.js +371 -0
- package/src/cli/simple-commands/__tests__/task.test.js +8 -0
- package/src/cli/simple-commands/agent.js +216 -0
- package/src/cli/simple-commands/analysis.js +570 -0
- package/src/cli/simple-commands/automation-executor.js +1603 -0
- package/src/cli/simple-commands/automation.js +627 -0
- package/src/cli/simple-commands/batch-manager.js +338 -0
- package/src/cli/simple-commands/claude-telemetry.js +311 -0
- package/src/cli/simple-commands/claude-track.js +102 -0
- package/src/cli/simple-commands/concurrent-display.js +348 -0
- package/src/cli/simple-commands/config.js +319 -0
- package/src/cli/simple-commands/coordination.js +307 -0
- package/src/cli/simple-commands/enhanced-ui-views.js +654 -0
- package/src/cli/simple-commands/enhanced-webui-complete.js +1038 -0
- package/src/cli/simple-commands/fix-hook-variables.js +363 -0
- package/src/cli/simple-commands/github/gh-coordinator.js +605 -0
- package/src/cli/simple-commands/github/github-api.js +624 -0
- package/src/cli/simple-commands/github/init.js +543 -0
- package/src/cli/simple-commands/github.js +377 -0
- package/src/cli/simple-commands/goal.js +145 -0
- package/src/cli/simple-commands/hive-mind/auto-save-middleware.js +311 -0
- package/src/cli/simple-commands/hive-mind/communication.js +740 -0
- package/src/cli/simple-commands/hive-mind/core.js +1031 -0
- package/src/cli/simple-commands/hive-mind/db-optimizer.js +872 -0
- package/src/cli/simple-commands/hive-mind/mcp-wrapper.js +1364 -0
- package/src/cli/simple-commands/hive-mind/memory.js +1292 -0
- package/src/cli/simple-commands/hive-mind/performance-optimizer.js +618 -0
- package/src/cli/simple-commands/hive-mind/performance-test.js +373 -0
- package/src/cli/simple-commands/hive-mind/queen.js +809 -0
- package/src/cli/simple-commands/hive-mind/session-manager.js +1223 -0
- package/src/cli/simple-commands/hive-mind-optimize.js +361 -0
- package/src/cli/simple-commands/hive-mind-wizard.js +281 -0
- package/src/cli/simple-commands/hive-mind.js +3112 -0
- package/src/cli/simple-commands/hive.js +140 -0
- package/src/cli/simple-commands/hook-safety.js +671 -0
- package/src/cli/simple-commands/hooks.js +1268 -0
- package/src/cli/simple-commands/init/.claude/checkpoints/1756224542.json +7 -0
- package/src/cli/simple-commands/init/.claude/checkpoints/1756224544.json +8 -0
- package/src/cli/simple-commands/init/README.md +106 -0
- package/src/cli/simple-commands/init/VALIDATION_ROLLBACK.md +488 -0
- package/src/cli/simple-commands/init/agent-copier.js +347 -0
- package/src/cli/simple-commands/init/batch-init.js +663 -0
- package/src/cli/simple-commands/init/claude-commands/claude-flow-commands.js +438 -0
- package/src/cli/simple-commands/init/claude-commands/optimized-claude-flow-commands.js +876 -0
- package/src/cli/simple-commands/init/claude-commands/optimized-slash-commands.js +356 -0
- package/src/cli/simple-commands/init/claude-commands/optimized-sparc-commands.js +501 -0
- package/src/cli/simple-commands/init/claude-commands/slash-commands.js +57 -0
- package/src/cli/simple-commands/init/claude-commands/sparc-commands.js +296 -0
- package/src/cli/simple-commands/init/copy-revised-templates.js +175 -0
- package/src/cli/simple-commands/init/executable-wrapper.js +122 -0
- package/src/cli/simple-commands/init/gitignore-updater.js +137 -0
- package/src/cli/simple-commands/init/help.js +110 -0
- package/src/cli/simple-commands/init/hive-mind-init.js +749 -0
- package/src/cli/simple-commands/init/index.js +1953 -0
- package/src/cli/simple-commands/init/performance-monitor.js +344 -0
- package/src/cli/simple-commands/init/rollback/backup-manager.js +542 -0
- package/src/cli/simple-commands/init/rollback/index.js +399 -0
- package/src/cli/simple-commands/init/rollback/recovery-manager.js +778 -0
- package/src/cli/simple-commands/init/rollback/rollback-executor.js +521 -0
- package/src/cli/simple-commands/init/rollback/state-tracker.js +486 -0
- package/src/cli/simple-commands/init/sparc/roo-readme.js +61 -0
- package/src/cli/simple-commands/init/sparc/roomodes-config.js +102 -0
- package/src/cli/simple-commands/init/sparc/workflows.js +40 -0
- package/src/cli/simple-commands/init/sparc-structure.js +68 -0
- package/src/cli/simple-commands/init/template-copier.js +640 -0
- package/src/cli/simple-commands/init/templates/CLAUDE.md +1185 -0
- package/src/cli/simple-commands/init/templates/CLAUDE.md.optimized +265 -0
- package/src/cli/simple-commands/init/templates/claude-flow-universal +81 -0
- package/src/cli/simple-commands/init/templates/claude-flow.bat +18 -0
- package/src/cli/simple-commands/init/templates/claude-flow.ps1 +24 -0
- package/src/cli/simple-commands/init/templates/claude-md.js +1101 -0
- package/src/cli/simple-commands/init/templates/commands/analysis/bottleneck-detect.md +162 -0
- package/src/cli/simple-commands/init/templates/commands/automation/auto-agent.md +122 -0
- package/src/cli/simple-commands/init/templates/commands/coordination/swarm-init.md +85 -0
- package/src/cli/simple-commands/init/templates/commands/github/github-swarm.md +121 -0
- package/src/cli/simple-commands/init/templates/commands/helpers/standard-checkpoint-hooks.sh +179 -0
- package/src/cli/simple-commands/init/templates/commands/hooks/notification.md +113 -0
- package/src/cli/simple-commands/init/templates/commands/hooks/post-command.md +116 -0
- package/src/cli/simple-commands/init/templates/commands/hooks/post-edit.md +117 -0
- package/src/cli/simple-commands/init/templates/commands/hooks/post-task.md +112 -0
- package/src/cli/simple-commands/init/templates/commands/hooks/pre-command.md +113 -0
- package/src/cli/simple-commands/init/templates/commands/hooks/pre-edit.md +113 -0
- package/src/cli/simple-commands/init/templates/commands/hooks/pre-search.md +112 -0
- package/src/cli/simple-commands/init/templates/commands/hooks/pre-task.md +111 -0
- package/src/cli/simple-commands/init/templates/commands/hooks/session-end.md +118 -0
- package/src/cli/simple-commands/init/templates/commands/hooks/session-restore.md +118 -0
- package/src/cli/simple-commands/init/templates/commands/hooks/session-start.md +117 -0
- package/src/cli/simple-commands/init/templates/coordination-md.js +340 -0
- package/src/cli/simple-commands/init/templates/coordination.md +16 -0
- package/src/cli/simple-commands/init/templates/enhanced-templates.js +2347 -0
- package/src/cli/simple-commands/init/templates/github-safe-enhanced.js +331 -0
- package/src/cli/simple-commands/init/templates/github-safe.js +106 -0
- package/src/cli/simple-commands/init/templates/memory-bank-md.js +259 -0
- package/src/cli/simple-commands/init/templates/memory-bank.md +16 -0
- package/src/cli/simple-commands/init/templates/readme-files.js +72 -0
- package/src/cli/simple-commands/init/templates/safe-hook-patterns.js +430 -0
- package/src/cli/simple-commands/init/templates/settings.json +109 -0
- package/src/cli/simple-commands/init/templates/settings.json.enhanced +35 -0
- package/src/cli/simple-commands/init/templates/sparc-modes.js +1401 -0
- package/src/cli/simple-commands/init/templates/verification-claude-md.js +432 -0
- package/src/cli/simple-commands/init/validation/config-validator.js +354 -0
- package/src/cli/simple-commands/init/validation/health-checker.js +599 -0
- package/src/cli/simple-commands/init/validation/index.js +388 -0
- package/src/cli/simple-commands/init/validation/mode-validator.js +387 -0
- package/src/cli/simple-commands/init/validation/post-init-validator.js +390 -0
- package/src/cli/simple-commands/init/validation/pre-init-validator.js +290 -0
- package/src/cli/simple-commands/init/validation/test-runner.js +488 -0
- package/src/cli/simple-commands/init.js +4 -0
- package/src/cli/simple-commands/mcp-health.js +163 -0
- package/src/cli/simple-commands/mcp-integration-layer.js +689 -0
- package/src/cli/simple-commands/mcp.js +420 -0
- package/src/cli/simple-commands/memory-consolidation.js +631 -0
- package/src/cli/simple-commands/memory.js +345 -0
- package/src/cli/simple-commands/migrate-hooks.js +63 -0
- package/src/cli/simple-commands/monitor.js +417 -0
- package/src/cli/simple-commands/neural.js +148 -0
- package/src/cli/simple-commands/pair-autofix-only.js +755 -0
- package/src/cli/simple-commands/pair-basic.js +751 -0
- package/src/cli/simple-commands/pair-old.js +623 -0
- package/src/cli/simple-commands/pair-working.js +849 -0
- package/src/cli/simple-commands/pair.js +849 -0
- package/src/cli/simple-commands/performance-hooks.js +149 -0
- package/src/cli/simple-commands/performance-metrics.js +601 -0
- package/src/cli/simple-commands/process-ui-enhanced.js +821 -0
- package/src/cli/simple-commands/process-ui.js +274 -0
- package/src/cli/simple-commands/realtime-update-system.js +659 -0
- package/src/cli/simple-commands/sparc/architecture.js +1750 -0
- package/src/cli/simple-commands/sparc/commands.js +575 -0
- package/src/cli/simple-commands/sparc/completion.js +1831 -0
- package/src/cli/simple-commands/sparc/coordinator.js +1045 -0
- package/src/cli/simple-commands/sparc/index.js +321 -0
- package/src/cli/simple-commands/sparc/phase-base.js +430 -0
- package/src/cli/simple-commands/sparc/pseudocode.js +984 -0
- package/src/cli/simple-commands/sparc/refinement.js +1856 -0
- package/src/cli/simple-commands/sparc/specification.js +736 -0
- package/src/cli/simple-commands/sparc-modes/architect.js +125 -0
- package/src/cli/simple-commands/sparc-modes/ask.js +126 -0
- package/src/cli/simple-commands/sparc-modes/code.js +148 -0
- package/src/cli/simple-commands/sparc-modes/debug.js +112 -0
- package/src/cli/simple-commands/sparc-modes/devops.js +137 -0
- package/src/cli/simple-commands/sparc-modes/docs-writer.js +38 -0
- package/src/cli/simple-commands/sparc-modes/generic.js +34 -0
- package/src/cli/simple-commands/sparc-modes/index.js +201 -0
- package/src/cli/simple-commands/sparc-modes/integration.js +55 -0
- package/src/cli/simple-commands/sparc-modes/mcp.js +38 -0
- package/src/cli/simple-commands/sparc-modes/monitoring.js +38 -0
- package/src/cli/simple-commands/sparc-modes/optimization.js +38 -0
- package/src/cli/simple-commands/sparc-modes/security-review.js +130 -0
- package/src/cli/simple-commands/sparc-modes/sparc-orchestrator.js +167 -0
- package/src/cli/simple-commands/sparc-modes/spec-pseudocode.js +38 -0
- package/src/cli/simple-commands/sparc-modes/supabase-admin.js +149 -0
- package/src/cli/simple-commands/sparc-modes/swarm.js +436 -0
- package/src/cli/simple-commands/sparc-modes/tdd.js +112 -0
- package/src/cli/simple-commands/sparc-modes/tutorial.js +277 -0
- package/src/cli/simple-commands/sparc.js +530 -0
- package/src/cli/simple-commands/start-ui.js +147 -0
- package/src/cli/simple-commands/start-wrapper.js +285 -0
- package/src/cli/simple-commands/start.js +2 -0
- package/src/cli/simple-commands/status.js +303 -0
- package/src/cli/simple-commands/stream-chain-clean.js +221 -0
- package/src/cli/simple-commands/stream-chain-fixed.js +89 -0
- package/src/cli/simple-commands/stream-chain-real.js +408 -0
- package/src/cli/simple-commands/stream-chain-working.js +323 -0
- package/src/cli/simple-commands/stream-chain.js +491 -0
- package/src/cli/simple-commands/stream-processor.js +340 -0
- package/src/cli/simple-commands/swarm-executor.js +253 -0
- package/src/cli/simple-commands/swarm-metrics-integration.js +371 -0
- package/src/cli/simple-commands/swarm-ui.js +741 -0
- package/src/cli/simple-commands/swarm-webui-integration.js +311 -0
- package/src/cli/simple-commands/swarm.js +2277 -0
- package/src/cli/simple-commands/task.js +228 -0
- package/src/cli/simple-commands/templates/mle-star-workflow.json +294 -0
- package/src/cli/simple-commands/timestamp-fix.js +104 -0
- package/src/cli/simple-commands/token-tracker.js +372 -0
- package/src/cli/simple-commands/tool-execution-framework.js +555 -0
- package/src/cli/simple-commands/train-and-stream.js +354 -0
- package/src/cli/simple-commands/training-pipeline.js +874 -0
- package/src/cli/simple-commands/training.js +288 -0
- package/src/cli/simple-commands/verification-hooks.js +336 -0
- package/src/cli/simple-commands/verification-integration.js +464 -0
- package/src/cli/simple-commands/verification-training-integration.js +646 -0
- package/src/cli/simple-commands/verification.js +551 -0
- package/src/cli/simple-commands/web-server.js +929 -0
- package/src/cli/simple-commands/webui-validator.js +136 -0
- package/src/language/README.md +503 -0
- package/src/language/claude-md-generator.js +618 -0
- package/src/language/cli.js +422 -0
- package/src/language/example.js +347 -0
- package/src/language/integration-system.js +619 -0
- package/src/language/language-detector.js +581 -0
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_description": "CLAUDE.md Template Generation Settings - Controls automatic generation of language-specific CLAUDE.md files",
|
|
3
|
+
"_purpose": "This file controls how CLAUDE.md templates are automatically generated for different programming languages and frameworks",
|
|
4
|
+
"_used_in": [
|
|
5
|
+
"src/language/claude-md-generator.js (template generation)",
|
|
6
|
+
"src/language/language-detector.js (framework detection)",
|
|
7
|
+
"src/preferences/preference-manager.js (configuration loading)",
|
|
8
|
+
"src/slash-commands/claude-md.js (slash command execution)",
|
|
9
|
+
"src/npx/claude-md-protection.js (NPX protection system)",
|
|
10
|
+
"scripts/post-install-claude-md.js (postinstall hook)"
|
|
11
|
+
],
|
|
12
|
+
|
|
13
|
+
"autoGenerate": true,
|
|
14
|
+
"_autoGenerate_description": "Whether to automatically generate CLAUDE.md files when a new project language is detected",
|
|
15
|
+
|
|
16
|
+
"includeFrameworkSpecific": true,
|
|
17
|
+
"_includeFrameworkSpecific_description": "Include framework-specific configurations (React hooks, Django settings, etc.)",
|
|
18
|
+
|
|
19
|
+
"includeBestPractices": true,
|
|
20
|
+
"_includeBestPractices_description": "Include language/framework best practices in generated templates",
|
|
21
|
+
|
|
22
|
+
"includeTestingPatterns": true,
|
|
23
|
+
"_includeTestingPatterns_description": "Include testing framework patterns (Jest, pytest, etc.) in templates",
|
|
24
|
+
|
|
25
|
+
"includeDeploymentGuidelines": false,
|
|
26
|
+
"_includeDeploymentGuidelines_description": "Include deployment and CI/CD guidelines in generated templates",
|
|
27
|
+
|
|
28
|
+
"backupExisting": true,
|
|
29
|
+
"_backupExisting_description": "Create backup of existing CLAUDE.md before overwriting with new template",
|
|
30
|
+
|
|
31
|
+
"preserveCustomSections": true,
|
|
32
|
+
"_preserveCustomSections_description": "Preserve custom sections when regenerating templates",
|
|
33
|
+
|
|
34
|
+
"confidenceThreshold": 0.3,
|
|
35
|
+
"_confidenceThreshold_description": "Minimum confidence level (0-1) required for language detection before generating template",
|
|
36
|
+
"languages": {
|
|
37
|
+
"javascript": {
|
|
38
|
+
"enabled": true,
|
|
39
|
+
"includeConcurrentPatterns": true,
|
|
40
|
+
"includeErrorHandling": true,
|
|
41
|
+
"includePerformanceTips": true
|
|
42
|
+
},
|
|
43
|
+
"typescript": {
|
|
44
|
+
"enabled": true,
|
|
45
|
+
"includeStrictConfig": true,
|
|
46
|
+
"includeUtilityTypes": true,
|
|
47
|
+
"includeTestingPatterns": true
|
|
48
|
+
},
|
|
49
|
+
"python": {
|
|
50
|
+
"enabled": true,
|
|
51
|
+
"includePEP8": true,
|
|
52
|
+
"includeAsyncPatterns": true,
|
|
53
|
+
"includeTypeHints": true
|
|
54
|
+
},
|
|
55
|
+
"java": {
|
|
56
|
+
"enabled": true,
|
|
57
|
+
"includeSpringPatterns": false,
|
|
58
|
+
"includeMavenConfig": false
|
|
59
|
+
},
|
|
60
|
+
"go": {
|
|
61
|
+
"enabled": true,
|
|
62
|
+
"includeGoRoutines": true,
|
|
63
|
+
"includeModules": true
|
|
64
|
+
},
|
|
65
|
+
"rust": {
|
|
66
|
+
"enabled": true,
|
|
67
|
+
"includeCargoConfig": true,
|
|
68
|
+
"includeOwnershipPatterns": true
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"frameworks": {
|
|
72
|
+
"react": {
|
|
73
|
+
"enabled": true,
|
|
74
|
+
"includeHooks": true,
|
|
75
|
+
"includeTestingLibrary": true,
|
|
76
|
+
"includePerformanceOptimization": true
|
|
77
|
+
},
|
|
78
|
+
"nextjs": {
|
|
79
|
+
"enabled": true,
|
|
80
|
+
"includeAppRouter": true,
|
|
81
|
+
"includeServerComponents": true,
|
|
82
|
+
"includeISR": true
|
|
83
|
+
},
|
|
84
|
+
"vue": {
|
|
85
|
+
"enabled": true,
|
|
86
|
+
"includeComposition": true,
|
|
87
|
+
"includeVuex": true
|
|
88
|
+
},
|
|
89
|
+
"angular": {
|
|
90
|
+
"enabled": true,
|
|
91
|
+
"includeRxJS": true,
|
|
92
|
+
"includeNgRx": false
|
|
93
|
+
},
|
|
94
|
+
"express": {
|
|
95
|
+
"enabled": true,
|
|
96
|
+
"includeMiddleware": true,
|
|
97
|
+
"includeAuthentication": true,
|
|
98
|
+
"includeValidation": true
|
|
99
|
+
},
|
|
100
|
+
"fastify": {
|
|
101
|
+
"enabled": true,
|
|
102
|
+
"includePlugins": true,
|
|
103
|
+
"includeSchemas": true
|
|
104
|
+
},
|
|
105
|
+
"django": {
|
|
106
|
+
"enabled": true,
|
|
107
|
+
"includeDRF": true,
|
|
108
|
+
"includeAuthentication": true,
|
|
109
|
+
"includeTestCase": true
|
|
110
|
+
},
|
|
111
|
+
"flask": {
|
|
112
|
+
"enabled": true,
|
|
113
|
+
"includeBlueprints": true,
|
|
114
|
+
"includeSQLAlchemy": true,
|
|
115
|
+
"includeJWT": true
|
|
116
|
+
},
|
|
117
|
+
"fastapi": {
|
|
118
|
+
"enabled": true,
|
|
119
|
+
"includePydantic": true,
|
|
120
|
+
"includeAsyncPatterns": true,
|
|
121
|
+
"includeOpenAPI": true
|
|
122
|
+
},
|
|
123
|
+
"spring": {
|
|
124
|
+
"enabled": true,
|
|
125
|
+
"includeBootPatterns": true,
|
|
126
|
+
"includeJPA": false
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"customSections": {
|
|
130
|
+
"includeProjectSpecific": true,
|
|
131
|
+
"includeTeamGuidelines": false,
|
|
132
|
+
"includeDeploymentNotes": false
|
|
133
|
+
},
|
|
134
|
+
"formatting": {
|
|
135
|
+
"maxLineLength": 120,
|
|
136
|
+
"useCodeBlocks": true,
|
|
137
|
+
"includeEmojis": true,
|
|
138
|
+
"sectionHeaders": "##"
|
|
139
|
+
},
|
|
140
|
+
"notifications": {
|
|
141
|
+
"onGeneration": true,
|
|
142
|
+
"onUpdate": true,
|
|
143
|
+
"onValidationIssues": false
|
|
144
|
+
},
|
|
145
|
+
"version": "1.0.0",
|
|
146
|
+
"lastUpdated": "2025-09-24T00:00:00.000Z"
|
|
147
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_description": "JavaScript Language Configuration - Defines JavaScript project detection patterns and best practices",
|
|
3
|
+
"_purpose": "This configuration helps the system recognize JavaScript projects and apply appropriate tooling and patterns",
|
|
4
|
+
"_used_in": [
|
|
5
|
+
"src/language/language-detector.js (project type detection)",
|
|
6
|
+
"src/language/framework-detector.js (JavaScript framework detection)",
|
|
7
|
+
"src/hooks/enhanced/personalization-hooks.js (language-specific behavior)"
|
|
8
|
+
],
|
|
9
|
+
|
|
10
|
+
"name": "JavaScript",
|
|
11
|
+
"extensions": [".js", ".mjs", ".cjs"],
|
|
12
|
+
"_extensions_description": "File extensions that identify JavaScript files (.js=standard, .mjs=ES modules, .cjs=CommonJS)",
|
|
13
|
+
|
|
14
|
+
"packageFiles": ["package.json", ".eslintrc*", "babel.config.*"],
|
|
15
|
+
"_packageFiles_description": "Configuration files that indicate a JavaScript project and its tooling setup",
|
|
16
|
+
"testFrameworks": {
|
|
17
|
+
"_description": "Testing framework detection patterns and priority ordering for JavaScript projects",
|
|
18
|
+
"jest": {
|
|
19
|
+
"patterns": ["jest.config.js", "__tests__", ".test.js", ".spec.js"],
|
|
20
|
+
"priority": 1,
|
|
21
|
+
"_description": "Most popular React/Node.js testing framework"
|
|
22
|
+
},
|
|
23
|
+
"vitest": {
|
|
24
|
+
"patterns": ["vitest.config.js", "vite.config.js"],
|
|
25
|
+
"priority": 2,
|
|
26
|
+
"_description": "Fast testing framework for Vite-based projects"
|
|
27
|
+
},
|
|
28
|
+
"mocha": {
|
|
29
|
+
"patterns": ["mocha.opts", ".mocharc*"],
|
|
30
|
+
"priority": 3,
|
|
31
|
+
"_description": "Traditional JavaScript testing framework"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
|
|
35
|
+
"bestPractices": [
|
|
36
|
+
"Use ES6+ features (arrow functions, destructuring, modules)",
|
|
37
|
+
"Prefer const/let over var",
|
|
38
|
+
"Use async/await over Promise chains",
|
|
39
|
+
"Implement proper error boundaries",
|
|
40
|
+
"Follow ESLint/Prettier configurations"
|
|
41
|
+
],
|
|
42
|
+
"_bestPractices_description": "JavaScript coding standards and recommendations that agents should follow and suggest",
|
|
43
|
+
|
|
44
|
+
"concurrentPatterns": {
|
|
45
|
+
"_description": "Claude Code-specific patterns for optimal JavaScript development workflow",
|
|
46
|
+
"agentCoordination": "Use Claude Code's Task tool for parallel agent execution",
|
|
47
|
+
"fileOperations": "Batch all Read/Write/Edit operations in single message",
|
|
48
|
+
"bashCommands": "Execute multiple bash commands with && or ; separators",
|
|
49
|
+
"todoManagement": "Batch ALL todos in ONE TodoWrite call (5-10+ minimum)"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_description": "Python Language Configuration - Defines Python project patterns, frameworks, and development best practices",
|
|
3
|
+
"_purpose": "This configuration helps detect Python projects and applies Python-specific tooling, linting, and testing patterns",
|
|
4
|
+
"_used_in": [
|
|
5
|
+
"src/language/language-detector.js (Python project detection)",
|
|
6
|
+
"src/language/framework-detector.js (Django/Flask/FastAPI detection)",
|
|
7
|
+
"src/hooks/enhanced/personalization-hooks.js (Python-specific behavior)"
|
|
8
|
+
],
|
|
9
|
+
|
|
10
|
+
"language": "python",
|
|
11
|
+
"_language_description": "Primary language identifier for Python projects",
|
|
12
|
+
|
|
13
|
+
"frameworks": ["django", "flask", "fastapi", "pytest", "pandas", "numpy"],
|
|
14
|
+
"_frameworks_description": "Common Python frameworks and libraries that indicate specialized project types",
|
|
15
|
+
|
|
16
|
+
"best_practices": {
|
|
17
|
+
"_description": "Python development standards and tooling recommendations",
|
|
18
|
+
"file_structure": {
|
|
19
|
+
"src": "Source modules",
|
|
20
|
+
"tests": "Test files (pytest)",
|
|
21
|
+
"docs": "Documentation and examples",
|
|
22
|
+
"config": "Configuration files",
|
|
23
|
+
"scripts": "Utility scripts"
|
|
24
|
+
},
|
|
25
|
+
"linting": {
|
|
26
|
+
"black": true,
|
|
27
|
+
"flake8": true,
|
|
28
|
+
"mypy": true,
|
|
29
|
+
"config_files": ["pyproject.toml", ".flake8", "mypy.ini"]
|
|
30
|
+
},
|
|
31
|
+
"testing": {
|
|
32
|
+
"framework": "pytest",
|
|
33
|
+
"patterns": ["test_*.py", "*_test.py"],
|
|
34
|
+
"coverage": true
|
|
35
|
+
},
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"package_manager": "pip",
|
|
38
|
+
"requirements": "requirements.txt",
|
|
39
|
+
"dev_dependencies": ["black", "flake8", "pytest", "mypy"],
|
|
40
|
+
"virtual_env": true
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"claude_md_template": {
|
|
44
|
+
"concurrent_patterns": "Use asyncio for async operations, threading for I/O",
|
|
45
|
+
"error_handling": "Use try-except blocks, create custom exceptions",
|
|
46
|
+
"code_style": "Follow PEP 8, use type hints, docstrings",
|
|
47
|
+
"testing": "Write pytest tests, use fixtures, parametrize tests",
|
|
48
|
+
"performance": "Use list comprehensions, avoid premature optimization"
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_description": "Rust Language Configuration - Comprehensive Rust project detection, frameworks, and performance-focused development practices",
|
|
3
|
+
"_purpose": "This configuration provides complete Rust ecosystem support including web frameworks, async runtimes, testing, and performance optimization",
|
|
4
|
+
"_used_in": [
|
|
5
|
+
"src/language/language-detector.js (Rust project detection)",
|
|
6
|
+
"src/language/framework-detector.js (Axum/Actix/Rocket detection)",
|
|
7
|
+
"src/hooks/enhanced/personalization-hooks.js (Rust-specific behavior)",
|
|
8
|
+
"config/hooks/fast-file-testing.cjs (Rust testing integration)"
|
|
9
|
+
],
|
|
10
|
+
|
|
11
|
+
"language": "rust",
|
|
12
|
+
"_language_description": "Primary language identifier for Rust projects",
|
|
13
|
+
|
|
14
|
+
"name": "Rust",
|
|
15
|
+
"_name_description": "Display name for the language",
|
|
16
|
+
|
|
17
|
+
"extensions": [".rs", ".toml"],
|
|
18
|
+
"_extensions_description": "File extensions that identify Rust projects (.rs=source files, .toml=configuration)",
|
|
19
|
+
|
|
20
|
+
"packageFiles": ["Cargo.toml", "Cargo.lock", "rust-toolchain.toml", ".cargo/config.toml"],
|
|
21
|
+
"_packageFiles_description": "Configuration files that indicate a Rust project and its tooling setup",
|
|
22
|
+
"frameworks": {
|
|
23
|
+
"web": {
|
|
24
|
+
"axum": {
|
|
25
|
+
"patterns": ["axum", "tokio"],
|
|
26
|
+
"priority": 1,
|
|
27
|
+
"description": "Modern async web framework built on tokio"
|
|
28
|
+
},
|
|
29
|
+
"actix-web": {
|
|
30
|
+
"patterns": ["actix-web", "actix"],
|
|
31
|
+
"priority": 2,
|
|
32
|
+
"description": "Powerful, pragmatic, and extremely fast web framework"
|
|
33
|
+
},
|
|
34
|
+
"rocket": {
|
|
35
|
+
"patterns": ["rocket"],
|
|
36
|
+
"priority": 3,
|
|
37
|
+
"description": "Type-safe, secure web framework with code generation"
|
|
38
|
+
},
|
|
39
|
+
"warp": {
|
|
40
|
+
"patterns": ["warp"],
|
|
41
|
+
"priority": 4,
|
|
42
|
+
"description": "Composable, async web framework"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"async": {
|
|
46
|
+
"tokio": {
|
|
47
|
+
"patterns": ["tokio"],
|
|
48
|
+
"priority": 1,
|
|
49
|
+
"description": "Async runtime for Rust"
|
|
50
|
+
},
|
|
51
|
+
"async-std": {
|
|
52
|
+
"patterns": ["async-std"],
|
|
53
|
+
"priority": 2,
|
|
54
|
+
"description": "Alternative async runtime"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"cli": {
|
|
58
|
+
"clap": {
|
|
59
|
+
"patterns": ["clap"],
|
|
60
|
+
"priority": 1,
|
|
61
|
+
"description": "Command line argument parser"
|
|
62
|
+
},
|
|
63
|
+
"structopt": {
|
|
64
|
+
"patterns": ["structopt"],
|
|
65
|
+
"priority": 2,
|
|
66
|
+
"description": "Parse command line arguments by defining structs"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"serialization": {
|
|
70
|
+
"serde": {
|
|
71
|
+
"patterns": ["serde", "serde_json", "serde_yaml"],
|
|
72
|
+
"priority": 1,
|
|
73
|
+
"description": "Serialization framework"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"testFrameworks": {
|
|
78
|
+
"built-in": {
|
|
79
|
+
"patterns": ["#[test]", "#[cfg(test)]", "tests/"],
|
|
80
|
+
"priority": 1,
|
|
81
|
+
"description": "Rust's built-in testing framework"
|
|
82
|
+
},
|
|
83
|
+
"proptest": {
|
|
84
|
+
"patterns": ["proptest"],
|
|
85
|
+
"priority": 2,
|
|
86
|
+
"description": "Property-based testing framework"
|
|
87
|
+
},
|
|
88
|
+
"criterion": {
|
|
89
|
+
"patterns": ["criterion"],
|
|
90
|
+
"priority": 3,
|
|
91
|
+
"description": "Benchmarking library"
|
|
92
|
+
},
|
|
93
|
+
"quickcheck": {
|
|
94
|
+
"patterns": ["quickcheck"],
|
|
95
|
+
"priority": 4,
|
|
96
|
+
"description": "QuickCheck-style property testing"
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"best_practices": {
|
|
100
|
+
"file_structure": {
|
|
101
|
+
"src": "Source code modules (lib.rs, main.rs, modules/)",
|
|
102
|
+
"tests": "Integration tests directory",
|
|
103
|
+
"benches": "Benchmark tests",
|
|
104
|
+
"examples": "Example code",
|
|
105
|
+
"docs": "Documentation and README",
|
|
106
|
+
"target": "Build artifacts (auto-generated)",
|
|
107
|
+
".cargo": "Cargo configuration"
|
|
108
|
+
},
|
|
109
|
+
"linting": {
|
|
110
|
+
"clippy": true,
|
|
111
|
+
"rustfmt": true,
|
|
112
|
+
"rust_analyzer": true,
|
|
113
|
+
"config_files": ["rustfmt.toml", "clippy.toml", ".cargo/config.toml"],
|
|
114
|
+
"commands": {
|
|
115
|
+
"format": "cargo fmt",
|
|
116
|
+
"lint": "cargo clippy -- -D warnings",
|
|
117
|
+
"check": "cargo check"
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"testing": {
|
|
121
|
+
"framework": "built-in",
|
|
122
|
+
"patterns": ["#[test]", "tests/*.rs", "*_test.rs"],
|
|
123
|
+
"coverage": "cargo tarpaulin",
|
|
124
|
+
"commands": {
|
|
125
|
+
"test": "cargo test",
|
|
126
|
+
"test_release": "cargo test --release",
|
|
127
|
+
"bench": "cargo bench",
|
|
128
|
+
"doc_test": "cargo test --doc"
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
"security": {
|
|
132
|
+
"cargo_audit": {
|
|
133
|
+
"enabled": true,
|
|
134
|
+
"command": "cargo audit",
|
|
135
|
+
"description": "Audit dependencies for security vulnerabilities"
|
|
136
|
+
},
|
|
137
|
+
"cargo_deny": {
|
|
138
|
+
"enabled": true,
|
|
139
|
+
"command": "cargo deny check",
|
|
140
|
+
"config_file": "deny.toml",
|
|
141
|
+
"description": "Lint dependencies for licensing, bans, and advisories"
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
"dependencies": {
|
|
145
|
+
"package_manager": "cargo",
|
|
146
|
+
"manifest": "Cargo.toml",
|
|
147
|
+
"lock_file": "Cargo.lock",
|
|
148
|
+
"dev_dependencies": ["tokio-test", "proptest", "criterion", "cargo-audit", "cargo-deny"],
|
|
149
|
+
"commands": {
|
|
150
|
+
"build": "cargo build",
|
|
151
|
+
"build_release": "cargo build --release",
|
|
152
|
+
"run": "cargo run",
|
|
153
|
+
"clean": "cargo clean",
|
|
154
|
+
"update": "cargo update",
|
|
155
|
+
"tree": "cargo tree"
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
"performance": {
|
|
159
|
+
"optimization": {
|
|
160
|
+
"release_profile": {
|
|
161
|
+
"lto": true,
|
|
162
|
+
"codegen_units": 1,
|
|
163
|
+
"panic": "abort"
|
|
164
|
+
},
|
|
165
|
+
"build_flags": ["--release", "-C target-cpu=native"]
|
|
166
|
+
},
|
|
167
|
+
"profiling": {
|
|
168
|
+
"tools": ["perf", "valgrind", "flamegraph"],
|
|
169
|
+
"commands": {
|
|
170
|
+
"flamegraph": "cargo flamegraph",
|
|
171
|
+
"bench": "cargo bench"
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
"claude_md_template": {
|
|
177
|
+
"concurrent_patterns": "Use tokio for async operations, rayon for parallel computation, channels for communication",
|
|
178
|
+
"error_handling": "Use Result<T, E> types, create custom error enums with thiserror, propagate with ? operator",
|
|
179
|
+
"code_style": "Follow rustfmt, use clippy lints, prefer owned types in APIs, use lifetimes sparingly",
|
|
180
|
+
"testing": "Write unit tests with #[test], integration tests in tests/, use proptest for property testing",
|
|
181
|
+
"performance": "Profile before optimizing, use zero-cost abstractions, prefer stack allocation, avoid unnecessary clones",
|
|
182
|
+
"memory_safety": "Leverage ownership system, use Rc/Arc for shared ownership, RefCell/Mutex for interior mutability",
|
|
183
|
+
"concurrency": "Use tokio for async I/O, rayon for CPU-bound parallelism, avoid shared mutable state"
|
|
184
|
+
},
|
|
185
|
+
"build_commands": {
|
|
186
|
+
"development": {
|
|
187
|
+
"build": "cargo build",
|
|
188
|
+
"test": "cargo test",
|
|
189
|
+
"run": "cargo run",
|
|
190
|
+
"check": "cargo check",
|
|
191
|
+
"format": "cargo fmt",
|
|
192
|
+
"lint": "cargo clippy",
|
|
193
|
+
"doc": "cargo doc --open"
|
|
194
|
+
},
|
|
195
|
+
"production": {
|
|
196
|
+
"build": "cargo build --release",
|
|
197
|
+
"test": "cargo test --release",
|
|
198
|
+
"strip": "cargo build --release && strip target/release/*",
|
|
199
|
+
"optimize": "cargo build --release --target=x86_64-unknown-linux-musl"
|
|
200
|
+
},
|
|
201
|
+
"quality": {
|
|
202
|
+
"audit": "cargo audit",
|
|
203
|
+
"deny": "cargo deny check",
|
|
204
|
+
"outdated": "cargo outdated",
|
|
205
|
+
"coverage": "cargo tarpaulin --out Html"
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
"bestPractices": [
|
|
209
|
+
"Use Rust's ownership system to prevent memory bugs",
|
|
210
|
+
"Prefer Result<T, E> over panicking for error handling",
|
|
211
|
+
"Use cargo clippy for additional linting beyond the compiler",
|
|
212
|
+
"Write comprehensive tests including edge cases",
|
|
213
|
+
"Document public APIs with rustdoc comments",
|
|
214
|
+
"Use serde for serialization instead of manual implementations",
|
|
215
|
+
"Leverage the type system for compile-time guarantees",
|
|
216
|
+
"Use async/await for I/O operations with tokio runtime",
|
|
217
|
+
"Profile before optimizing - Rust is fast by default",
|
|
218
|
+
"Use cargo-audit regularly to check for security vulnerabilities"
|
|
219
|
+
],
|
|
220
|
+
"concurrentPatterns": {
|
|
221
|
+
"agentCoordination": "Use Claude Code's Task tool for parallel agent execution with Rust specialization",
|
|
222
|
+
"fileOperations": "Batch all Read/Write/Edit operations in single message for Cargo.toml and source files",
|
|
223
|
+
"bashCommands": "Execute multiple cargo commands with && separators (cargo fmt && cargo clippy && cargo test)",
|
|
224
|
+
"todoManagement": "Batch ALL todos in ONE TodoWrite call (5-10+ minimum) with Rust-specific tasks",
|
|
225
|
+
"cargoWorkflows": "Combine build, test, and quality checks in single execution pipeline"
|
|
226
|
+
},
|
|
227
|
+
"workspace_support": {
|
|
228
|
+
"enabled": true,
|
|
229
|
+
"config_file": "Cargo.toml",
|
|
230
|
+
"member_detection": ["members", "exclude"],
|
|
231
|
+
"commands": {
|
|
232
|
+
"workspace_build": "cargo build --workspace",
|
|
233
|
+
"workspace_test": "cargo test --workspace",
|
|
234
|
+
"workspace_check": "cargo check --workspace"
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_description": "TypeScript Language Configuration - Defines TypeScript project patterns and type-safe development practices",
|
|
3
|
+
"_purpose": "This configuration enables TypeScript project detection and applies TypeScript-specific tooling and best practices",
|
|
4
|
+
"_used_in": [
|
|
5
|
+
"src/language/language-detector.js (TypeScript project detection)",
|
|
6
|
+
"src/language/framework-detector.js (React/Angular/Node TypeScript detection)",
|
|
7
|
+
"src/hooks/enhanced/personalization-hooks.js (TypeScript-specific behavior)"
|
|
8
|
+
],
|
|
9
|
+
|
|
10
|
+
"language": "typescript",
|
|
11
|
+
"_language_description": "Primary language identifier for TypeScript projects",
|
|
12
|
+
|
|
13
|
+
"frameworks": ["node", "express", "react", "angular", "next", "nest"],
|
|
14
|
+
"_frameworks_description": "Common TypeScript frameworks that indicate specialized project architectures",
|
|
15
|
+
|
|
16
|
+
"best_practices": {
|
|
17
|
+
"_description": "TypeScript development standards and type-safe coding practices",
|
|
18
|
+
"file_structure": {
|
|
19
|
+
"src": "Source code with types",
|
|
20
|
+
"tests": "Test files (Jest, Vitest)",
|
|
21
|
+
"docs": "Documentation",
|
|
22
|
+
"config": "Configuration files",
|
|
23
|
+
"types": "Type definitions"
|
|
24
|
+
},
|
|
25
|
+
"linting": {
|
|
26
|
+
"eslint": true,
|
|
27
|
+
"prettier": true,
|
|
28
|
+
"typescript_eslint": true,
|
|
29
|
+
"config_files": [".eslintrc.json", ".prettierrc.json", "tsconfig.json"]
|
|
30
|
+
},
|
|
31
|
+
"testing": {
|
|
32
|
+
"framework": "jest",
|
|
33
|
+
"patterns": ["*.test.ts", "*.spec.ts"],
|
|
34
|
+
"coverage": true
|
|
35
|
+
},
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"package_manager": "npm",
|
|
38
|
+
"dev_dependencies": ["typescript", "@types/node", "eslint", "prettier", "jest"],
|
|
39
|
+
"scripts": {
|
|
40
|
+
"build": "tsc",
|
|
41
|
+
"test": "jest",
|
|
42
|
+
"lint": "eslint src/",
|
|
43
|
+
"typecheck": "tsc --noEmit"
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"claude_md_template": {
|
|
48
|
+
"concurrent_patterns": "Use Promise.all(), proper async/await with types",
|
|
49
|
+
"error_handling": "Define error types, use Result<T, E> patterns",
|
|
50
|
+
"code_style": "Strict TypeScript config, interface over type when possible",
|
|
51
|
+
"testing": "Type-safe tests, mock with proper typing",
|
|
52
|
+
"performance": "Leverage tree shaking, use strict compiler options"
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_description": "Project-Local Preferences - Project-specific overrides and configurations that supplement global user preferences",
|
|
3
|
+
"_purpose": "This file contains project-specific settings that override global preferences and adapt behavior to this particular project's needs",
|
|
4
|
+
"_used_in": [
|
|
5
|
+
"src/preferences/preference-manager.js (preference merging and override logic)",
|
|
6
|
+
"src/language/language-detector.js (project type and language detection)",
|
|
7
|
+
"src/analytics/project-analytics.js (project-specific analytics and learning)"
|
|
8
|
+
],
|
|
9
|
+
|
|
10
|
+
"project": {
|
|
11
|
+
"_description": "Basic project identification and language information",
|
|
12
|
+
"name": "claude-flow-novice",
|
|
13
|
+
"_name_description": "Project identifier used for analytics and preference scoping",
|
|
14
|
+
|
|
15
|
+
"type": "javascript",
|
|
16
|
+
"_type_description": "Primary project type detected by the system",
|
|
17
|
+
|
|
18
|
+
"framework": "node",
|
|
19
|
+
"_framework_description": "Primary framework detected (node, react, django, etc.)",
|
|
20
|
+
|
|
21
|
+
"initialized": "2025-09-24T14:52:00.000Z",
|
|
22
|
+
"_initialized_description": "Timestamp when project preferences were first created",
|
|
23
|
+
|
|
24
|
+
"language_detected": "javascript",
|
|
25
|
+
"_language_detected_description": "Primary language detected by file analysis",
|
|
26
|
+
|
|
27
|
+
"primary_language": "javascript",
|
|
28
|
+
"_primary_language_description": "Main programming language for this project",
|
|
29
|
+
|
|
30
|
+
"secondary_languages": ["typescript", "python"],
|
|
31
|
+
"_secondary_languages_description": "Additional languages detected in the project codebase"
|
|
32
|
+
},
|
|
33
|
+
|
|
34
|
+
"overrides": {
|
|
35
|
+
"_description": "Project-specific preference overrides that take precedence over global user settings",
|
|
36
|
+
"documentation": {
|
|
37
|
+
"_description": "Documentation generation overrides for this specific project",
|
|
38
|
+
"claude_md_generated": true,
|
|
39
|
+
"_claude_md_generated_description": "Whether CLAUDE.md was auto-generated for this project",
|
|
40
|
+
|
|
41
|
+
"custom_best_practices": true,
|
|
42
|
+
"_custom_best_practices_description": "Enable project-specific best practices in generated documentation",
|
|
43
|
+
|
|
44
|
+
"project_specific_rules": [
|
|
45
|
+
"Focus on concurrent execution patterns",
|
|
46
|
+
"Emphasize SPARC methodology",
|
|
47
|
+
"Highlight swarm coordination"
|
|
48
|
+
],
|
|
49
|
+
"_project_specific_rules_description": "Custom rules that agents should follow for this specific project"
|
|
50
|
+
},
|
|
51
|
+
|
|
52
|
+
"tone": {
|
|
53
|
+
"_description": "Communication style overrides for this project",
|
|
54
|
+
"technical_focus": true,
|
|
55
|
+
"_technical_focus_description": "Emphasize technical depth over general explanations for this project",
|
|
56
|
+
|
|
57
|
+
"minimize_fluff": true,
|
|
58
|
+
"_minimize_fluff_description": "Reduce celebratory language and focus on actionable information"
|
|
59
|
+
},
|
|
60
|
+
|
|
61
|
+
"agents": {
|
|
62
|
+
"_description": "Agent behavior and coordination preferences specific to this project",
|
|
63
|
+
"preferred_agent_types": ["coder", "reviewer", "tester", "researcher"],
|
|
64
|
+
"_preferred_agent_types_description": "Default agent types to prioritize for this project's workflow",
|
|
65
|
+
|
|
66
|
+
"auto_spawn_patterns": {
|
|
67
|
+
"_description": "Automatic agent spawning patterns based on task types",
|
|
68
|
+
"development": ["coder", "tester"],
|
|
69
|
+
"_development_description": "Agents to spawn automatically for development tasks",
|
|
70
|
+
|
|
71
|
+
"analysis": ["researcher", "reviewer"],
|
|
72
|
+
"_analysis_description": "Agents to spawn automatically for analysis tasks",
|
|
73
|
+
|
|
74
|
+
"architecture": ["system-architect", "planner"],
|
|
75
|
+
"_architecture_description": "Agents to spawn automatically for architectural decisions"
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
|
|
80
|
+
"analytics": {
|
|
81
|
+
"_description": "Project-specific analytics and learning settings",
|
|
82
|
+
"track_performance": true,
|
|
83
|
+
"_track_performance_description": "Enable performance tracking for this project's workflows",
|
|
84
|
+
|
|
85
|
+
"optimize_workflows": true,
|
|
86
|
+
"_optimize_workflows_description": "Allow system to optimize workflows based on this project's patterns",
|
|
87
|
+
|
|
88
|
+
"learn_patterns": true,
|
|
89
|
+
"_learn_patterns_description": "Enable pattern learning to improve future task handling for similar projects"
|
|
90
|
+
}
|
|
91
|
+
}
|