@takuma-hirai/hirai-method 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.
- package/.claude/.stale-harness-state/last-check +0 -0
- package/.claude/CommonRules.md +121 -0
- package/.claude/agents/01-core-development/api-designer.md +237 -0
- package/.claude/agents/01-core-development/backend-developer.md +222 -0
- package/.claude/agents/01-core-development/design-bridge.md +127 -0
- package/.claude/agents/01-core-development/electron-pro.md +240 -0
- package/.claude/agents/01-core-development/frontend-developer.md +133 -0
- package/.claude/agents/01-core-development/fullstack-developer.md +235 -0
- package/.claude/agents/01-core-development/graphql-architect.md +238 -0
- package/.claude/agents/01-core-development/microservices-architect.md +239 -0
- package/.claude/agents/01-core-development/mobile-developer.md +283 -0
- package/.claude/agents/01-core-development/ui-designer.md +174 -0
- package/.claude/agents/01-core-development/websocket-engineer.md +150 -0
- package/.claude/agents/03-infrastructure/azure-infra-engineer.md +53 -0
- package/.claude/agents/03-infrastructure/cloud-architect.md +277 -0
- package/.claude/agents/03-infrastructure/database-administrator.md +287 -0
- package/.claude/agents/03-infrastructure/deployment-engineer.md +287 -0
- package/.claude/agents/03-infrastructure/devops-engineer.md +287 -0
- package/.claude/agents/03-infrastructure/devops-incident-responder.md +287 -0
- package/.claude/agents/03-infrastructure/docker-expert.md +278 -0
- package/.claude/agents/03-infrastructure/incident-responder.md +287 -0
- package/.claude/agents/03-infrastructure/kubernetes-specialist.md +287 -0
- package/.claude/agents/03-infrastructure/network-engineer.md +287 -0
- package/.claude/agents/03-infrastructure/platform-engineer.md +287 -0
- package/.claude/agents/03-infrastructure/security-engineer.md +277 -0
- package/.claude/agents/03-infrastructure/sre-engineer.md +287 -0
- package/.claude/agents/03-infrastructure/terraform-engineer.md +287 -0
- package/.claude/agents/03-infrastructure/terragrunt-expert.md +307 -0
- package/.claude/agents/03-infrastructure/windows-infra-admin.md +52 -0
- package/.claude/agents/04-quality-security/accessibility-tester.md +277 -0
- package/.claude/agents/04-quality-security/ad-security-reviewer.md +56 -0
- package/.claude/agents/04-quality-security/ai-writing-auditor.md +77 -0
- package/.claude/agents/04-quality-security/architect-reviewer.md +287 -0
- package/.claude/agents/04-quality-security/chaos-engineer.md +277 -0
- package/.claude/agents/04-quality-security/code-reviewer.md +287 -0
- package/.claude/agents/04-quality-security/compliance-auditor.md +277 -0
- package/.claude/agents/04-quality-security/debugger.md +287 -0
- package/.claude/agents/04-quality-security/error-detective.md +287 -0
- package/.claude/agents/04-quality-security/penetration-tester.md +287 -0
- package/.claude/agents/04-quality-security/performance-engineer.md +287 -0
- package/.claude/agents/04-quality-security/powershell-security-hardening.md +54 -0
- package/.claude/agents/04-quality-security/qa-expert.md +287 -0
- package/.claude/agents/04-quality-security/security-auditor.md +287 -0
- package/.claude/agents/04-quality-security/test-automator.md +287 -0
- package/.claude/agents/04-quality-security/ui-ux-tester.md +234 -0
- package/.claude/agents/06-developer-experience/build-engineer.md +286 -0
- package/.claude/agents/06-developer-experience/cli-developer.md +286 -0
- package/.claude/agents/06-developer-experience/dependency-manager.md +286 -0
- package/.claude/agents/06-developer-experience/documentation-engineer.md +276 -0
- package/.claude/agents/06-developer-experience/dx-optimizer.md +286 -0
- package/.claude/agents/06-developer-experience/git-workflow-manager.md +286 -0
- package/.claude/agents/06-developer-experience/legacy-modernizer.md +286 -0
- package/.claude/agents/06-developer-experience/mcp-developer.md +275 -0
- package/.claude/agents/06-developer-experience/powershell-module-architect.md +58 -0
- package/.claude/agents/06-developer-experience/powershell-ui-architect.md +135 -0
- package/.claude/agents/06-developer-experience/readme-generator.md +238 -0
- package/.claude/agents/06-developer-experience/refactoring-specialist.md +286 -0
- package/.claude/agents/06-developer-experience/slack-expert.md +232 -0
- package/.claude/agents/06-developer-experience/tooling-engineer.md +286 -0
- package/.claude/agents/09-meta-orchestration/agent-installer.md +97 -0
- package/.claude/agents/09-meta-orchestration/agent-organizer.md +287 -0
- package/.claude/agents/09-meta-orchestration/codebase-orchestrator.md +249 -0
- package/.claude/agents/09-meta-orchestration/context-manager.md +287 -0
- package/.claude/agents/09-meta-orchestration/error-coordinator.md +287 -0
- package/.claude/agents/09-meta-orchestration/it-ops-orchestrator.md +60 -0
- package/.claude/agents/09-meta-orchestration/knowledge-synthesizer.md +287 -0
- package/.claude/agents/09-meta-orchestration/multi-agent-coordinator.md +287 -0
- package/.claude/agents/09-meta-orchestration/performance-monitor.md +287 -0
- package/.claude/agents/09-meta-orchestration/task-distributor.md +287 -0
- package/.claude/agents/09-meta-orchestration/workflow-orchestrator.md +287 -0
- package/.claude/agents/10-research-analysis/competitive-analyst.md +287 -0
- package/.claude/agents/10-research-analysis/data-researcher.md +287 -0
- package/.claude/agents/10-research-analysis/market-researcher.md +287 -0
- package/.claude/agents/10-research-analysis/project-idea-validator.md +269 -0
- package/.claude/agents/10-research-analysis/research-analyst.md +287 -0
- package/.claude/agents/10-research-analysis/scientific-literature-researcher.md +151 -0
- package/.claude/agents/10-research-analysis/search-specialist.md +287 -0
- package/.claude/agents/10-research-analysis/trend-analyst.md +287 -0
- package/.claude/archive/README.md +47 -0
- package/.claude/archive/agents/02-language-specialists/angular-architect.md +287 -0
- package/.claude/archive/agents/02-language-specialists/cpp-pro.md +277 -0
- package/.claude/archive/agents/02-language-specialists/csharp-developer.md +287 -0
- package/.claude/archive/agents/02-language-specialists/django-developer.md +287 -0
- package/.claude/archive/agents/02-language-specialists/dotnet-core-expert.md +287 -0
- package/.claude/archive/agents/02-language-specialists/dotnet-framework-4.8-expert.md +306 -0
- package/.claude/archive/agents/02-language-specialists/elixir-expert.md +311 -0
- package/.claude/archive/agents/02-language-specialists/expo-react-native-expert.md +268 -0
- package/.claude/archive/agents/02-language-specialists/fastapi-developer.md +287 -0
- package/.claude/archive/agents/02-language-specialists/flutter-expert.md +287 -0
- package/.claude/archive/agents/02-language-specialists/golang-pro.md +277 -0
- package/.claude/archive/agents/02-language-specialists/java-architect.md +287 -0
- package/.claude/archive/agents/02-language-specialists/javascript-pro.md +277 -0
- package/.claude/archive/agents/02-language-specialists/kotlin-specialist.md +287 -0
- package/.claude/archive/agents/02-language-specialists/laravel-specialist.md +287 -0
- package/.claude/archive/agents/02-language-specialists/nextjs-developer.md +287 -0
- package/.claude/archive/agents/02-language-specialists/node-specialist.md +124 -0
- package/.claude/archive/agents/02-language-specialists/php-pro.md +287 -0
- package/.claude/archive/agents/02-language-specialists/powershell-5.1-expert.md +59 -0
- package/.claude/archive/agents/02-language-specialists/powershell-7-expert.md +57 -0
- package/.claude/archive/agents/02-language-specialists/python-pro.md +277 -0
- package/.claude/archive/agents/02-language-specialists/rails-expert.md +358 -0
- package/.claude/archive/agents/02-language-specialists/react-specialist.md +287 -0
- package/.claude/archive/agents/02-language-specialists/rust-engineer.md +287 -0
- package/.claude/archive/agents/02-language-specialists/spring-boot-engineer.md +287 -0
- package/.claude/archive/agents/02-language-specialists/sql-pro.md +287 -0
- package/.claude/archive/agents/02-language-specialists/swift-expert.md +287 -0
- package/.claude/archive/agents/02-language-specialists/symfony-specialist.md +354 -0
- package/.claude/archive/agents/02-language-specialists/typescript-pro.md +277 -0
- package/.claude/archive/agents/02-language-specialists/vue-expert.md +287 -0
- package/.claude/archive/agents/05-data-ai/ai-engineer.md +287 -0
- package/.claude/archive/agents/05-data-ai/data-analyst.md +277 -0
- package/.claude/archive/agents/05-data-ai/data-engineer.md +287 -0
- package/.claude/archive/agents/05-data-ai/data-scientist.md +287 -0
- package/.claude/archive/agents/05-data-ai/database-optimizer.md +287 -0
- package/.claude/archive/agents/05-data-ai/llm-architect.md +287 -0
- package/.claude/archive/agents/05-data-ai/machine-learning-engineer.md +277 -0
- package/.claude/archive/agents/05-data-ai/ml-engineer.md +287 -0
- package/.claude/archive/agents/05-data-ai/mlops-engineer.md +287 -0
- package/.claude/archive/agents/05-data-ai/nlp-engineer.md +287 -0
- package/.claude/archive/agents/05-data-ai/postgres-pro.md +287 -0
- package/.claude/archive/agents/05-data-ai/prompt-engineer.md +287 -0
- package/.claude/archive/agents/05-data-ai/reinforcement-learning-engineer.md +277 -0
- package/.claude/archive/agents/07-specialized-domains/api-documenter.md +277 -0
- package/.claude/archive/agents/07-specialized-domains/blockchain-developer.md +287 -0
- package/.claude/archive/agents/07-specialized-domains/embedded-systems.md +287 -0
- package/.claude/archive/agents/07-specialized-domains/fintech-engineer.md +287 -0
- package/.claude/archive/agents/07-specialized-domains/game-developer.md +287 -0
- package/.claude/archive/agents/07-specialized-domains/healthcare-admin.md +199 -0
- package/.claude/archive/agents/07-specialized-domains/iot-engineer.md +287 -0
- package/.claude/archive/agents/07-specialized-domains/m365-admin.md +48 -0
- package/.claude/archive/agents/07-specialized-domains/mobile-app-developer.md +287 -0
- package/.claude/archive/agents/07-specialized-domains/payment-integration.md +287 -0
- package/.claude/archive/agents/07-specialized-domains/quant-analyst.md +287 -0
- package/.claude/archive/agents/07-specialized-domains/risk-manager.md +287 -0
- package/.claude/archive/agents/07-specialized-domains/seo-specialist.md +184 -0
- package/.claude/archive/agents/08-business-product/business-analyst.md +287 -0
- package/.claude/archive/agents/08-business-product/content-marketer.md +287 -0
- package/.claude/archive/agents/08-business-product/customer-success-manager.md +287 -0
- package/.claude/archive/agents/08-business-product/legal-advisor.md +287 -0
- package/.claude/archive/agents/08-business-product/license-engineer.md +295 -0
- package/.claude/archive/agents/08-business-product/product-manager.md +287 -0
- package/.claude/archive/agents/08-business-product/project-manager.md +287 -0
- package/.claude/archive/agents/08-business-product/sales-engineer.md +287 -0
- package/.claude/archive/agents/08-business-product/scrum-master.md +287 -0
- package/.claude/archive/agents/08-business-product/technical-writer.md +287 -0
- package/.claude/archive/agents/08-business-product/ux-researcher.md +287 -0
- package/.claude/archive/agents/08-business-product/wordpress-master.md +316 -0
- package/.claude/archive/skills/competitive-ads-extractor/SKILL.md +293 -0
- package/.claude/archive/skills/developer-growth-analysis/SKILL.md +322 -0
- package/.claude/archive/skills/document-docx/LICENSE.txt +30 -0
- package/.claude/archive/skills/document-docx/SKILL.md +197 -0
- package/.claude/archive/skills/document-docx/docx-js.md +350 -0
- package/.claude/archive/skills/document-docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
- package/.claude/archive/skills/document-docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
- package/.claude/archive/skills/document-docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
- package/.claude/archive/skills/document-docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
- package/.claude/archive/skills/document-docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
- package/.claude/archive/skills/document-docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
- package/.claude/archive/skills/document-docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
- package/.claude/archive/skills/document-docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
- package/.claude/archive/skills/document-docx/ooxml/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
- package/.claude/archive/skills/document-docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
- package/.claude/archive/skills/document-docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
- package/.claude/archive/skills/document-docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
- package/.claude/archive/skills/document-docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
- package/.claude/archive/skills/document-docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
- package/.claude/archive/skills/document-docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
- package/.claude/archive/skills/document-docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
- package/.claude/archive/skills/document-docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
- package/.claude/archive/skills/document-docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
- package/.claude/archive/skills/document-docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
- package/.claude/archive/skills/document-docx/ooxml/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
- package/.claude/archive/skills/document-docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
- package/.claude/archive/skills/document-docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
- package/.claude/archive/skills/document-docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
- package/.claude/archive/skills/document-docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
- package/.claude/archive/skills/document-docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
- package/.claude/archive/skills/document-docx/ooxml/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
- package/.claude/archive/skills/document-docx/ooxml/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
- package/.claude/archive/skills/document-docx/ooxml/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
- package/.claude/archive/skills/document-docx/ooxml/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
- package/.claude/archive/skills/document-docx/ooxml/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
- package/.claude/archive/skills/document-docx/ooxml/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
- package/.claude/archive/skills/document-docx/ooxml/schemas/mce/mc.xsd +75 -0
- package/.claude/archive/skills/document-docx/ooxml/schemas/microsoft/wml-2010.xsd +560 -0
- package/.claude/archive/skills/document-docx/ooxml/schemas/microsoft/wml-2012.xsd +67 -0
- package/.claude/archive/skills/document-docx/ooxml/schemas/microsoft/wml-2018.xsd +14 -0
- package/.claude/archive/skills/document-docx/ooxml/schemas/microsoft/wml-cex-2018.xsd +20 -0
- package/.claude/archive/skills/document-docx/ooxml/schemas/microsoft/wml-cid-2016.xsd +13 -0
- package/.claude/archive/skills/document-docx/ooxml/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
- package/.claude/archive/skills/document-docx/ooxml/schemas/microsoft/wml-symex-2015.xsd +8 -0
- package/.claude/archive/skills/document-docx/ooxml/scripts/pack.py +159 -0
- package/.claude/archive/skills/document-docx/ooxml/scripts/unpack.py +29 -0
- package/.claude/archive/skills/document-docx/ooxml/scripts/validate.py +69 -0
- package/.claude/archive/skills/document-docx/ooxml/scripts/validation/__init__.py +15 -0
- package/.claude/archive/skills/document-docx/ooxml/scripts/validation/base.py +951 -0
- package/.claude/archive/skills/document-docx/ooxml/scripts/validation/docx.py +274 -0
- package/.claude/archive/skills/document-docx/ooxml/scripts/validation/pptx.py +315 -0
- package/.claude/archive/skills/document-docx/ooxml/scripts/validation/redlining.py +279 -0
- package/.claude/archive/skills/document-docx/ooxml.md +610 -0
- package/.claude/archive/skills/document-docx/scripts/__init__.py +1 -0
- package/.claude/archive/skills/document-docx/scripts/document.py +1276 -0
- package/.claude/archive/skills/document-docx/scripts/templates/comments.xml +3 -0
- package/.claude/archive/skills/document-docx/scripts/templates/commentsExtended.xml +3 -0
- package/.claude/archive/skills/document-docx/scripts/templates/commentsExtensible.xml +3 -0
- package/.claude/archive/skills/document-docx/scripts/templates/commentsIds.xml +3 -0
- package/.claude/archive/skills/document-docx/scripts/templates/people.xml +3 -0
- package/.claude/archive/skills/document-docx/scripts/utilities.py +374 -0
- package/.claude/archive/skills/document-pdf/LICENSE.txt +30 -0
- package/.claude/archive/skills/document-pdf/SKILL.md +294 -0
- package/.claude/archive/skills/document-pdf/forms.md +205 -0
- package/.claude/archive/skills/document-pdf/reference.md +612 -0
- package/.claude/archive/skills/document-pdf/scripts/check_bounding_boxes.py +70 -0
- package/.claude/archive/skills/document-pdf/scripts/check_bounding_boxes_test.py +226 -0
- package/.claude/archive/skills/document-pdf/scripts/check_fillable_fields.py +12 -0
- package/.claude/archive/skills/document-pdf/scripts/convert_pdf_to_images.py +35 -0
- package/.claude/archive/skills/document-pdf/scripts/create_validation_image.py +41 -0
- package/.claude/archive/skills/document-pdf/scripts/extract_form_field_info.py +152 -0
- package/.claude/archive/skills/document-pdf/scripts/fill_fillable_fields.py +114 -0
- package/.claude/archive/skills/document-pdf/scripts/fill_pdf_form_with_annotations.py +108 -0
- package/.claude/archive/skills/document-pptx/LICENSE.txt +30 -0
- package/.claude/archive/skills/document-pptx/SKILL.md +484 -0
- package/.claude/archive/skills/document-pptx/html2pptx.md +625 -0
- package/.claude/archive/skills/document-pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
- package/.claude/archive/skills/document-pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
- package/.claude/archive/skills/document-pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
- package/.claude/archive/skills/document-pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
- package/.claude/archive/skills/document-pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
- package/.claude/archive/skills/document-pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
- package/.claude/archive/skills/document-pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
- package/.claude/archive/skills/document-pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
- package/.claude/archive/skills/document-pptx/ooxml/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
- package/.claude/archive/skills/document-pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
- package/.claude/archive/skills/document-pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
- package/.claude/archive/skills/document-pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
- package/.claude/archive/skills/document-pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
- package/.claude/archive/skills/document-pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
- package/.claude/archive/skills/document-pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
- package/.claude/archive/skills/document-pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
- package/.claude/archive/skills/document-pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
- package/.claude/archive/skills/document-pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
- package/.claude/archive/skills/document-pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
- package/.claude/archive/skills/document-pptx/ooxml/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
- package/.claude/archive/skills/document-pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
- package/.claude/archive/skills/document-pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
- package/.claude/archive/skills/document-pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
- package/.claude/archive/skills/document-pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
- package/.claude/archive/skills/document-pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
- package/.claude/archive/skills/document-pptx/ooxml/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
- package/.claude/archive/skills/document-pptx/ooxml/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
- package/.claude/archive/skills/document-pptx/ooxml/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
- package/.claude/archive/skills/document-pptx/ooxml/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
- package/.claude/archive/skills/document-pptx/ooxml/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
- package/.claude/archive/skills/document-pptx/ooxml/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
- package/.claude/archive/skills/document-pptx/ooxml/schemas/mce/mc.xsd +75 -0
- package/.claude/archive/skills/document-pptx/ooxml/schemas/microsoft/wml-2010.xsd +560 -0
- package/.claude/archive/skills/document-pptx/ooxml/schemas/microsoft/wml-2012.xsd +67 -0
- package/.claude/archive/skills/document-pptx/ooxml/schemas/microsoft/wml-2018.xsd +14 -0
- package/.claude/archive/skills/document-pptx/ooxml/schemas/microsoft/wml-cex-2018.xsd +20 -0
- package/.claude/archive/skills/document-pptx/ooxml/schemas/microsoft/wml-cid-2016.xsd +13 -0
- package/.claude/archive/skills/document-pptx/ooxml/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
- package/.claude/archive/skills/document-pptx/ooxml/schemas/microsoft/wml-symex-2015.xsd +8 -0
- package/.claude/archive/skills/document-pptx/ooxml/scripts/pack.py +159 -0
- package/.claude/archive/skills/document-pptx/ooxml/scripts/unpack.py +29 -0
- package/.claude/archive/skills/document-pptx/ooxml/scripts/validate.py +69 -0
- package/.claude/archive/skills/document-pptx/ooxml/scripts/validation/__init__.py +15 -0
- package/.claude/archive/skills/document-pptx/ooxml/scripts/validation/base.py +951 -0
- package/.claude/archive/skills/document-pptx/ooxml/scripts/validation/docx.py +274 -0
- package/.claude/archive/skills/document-pptx/ooxml/scripts/validation/pptx.py +315 -0
- package/.claude/archive/skills/document-pptx/ooxml/scripts/validation/redlining.py +279 -0
- package/.claude/archive/skills/document-pptx/ooxml.md +427 -0
- package/.claude/archive/skills/document-pptx/scripts/html2pptx.js +979 -0
- package/.claude/archive/skills/document-pptx/scripts/inventory.py +1020 -0
- package/.claude/archive/skills/document-pptx/scripts/rearrange.py +231 -0
- package/.claude/archive/skills/document-pptx/scripts/replace.py +385 -0
- package/.claude/archive/skills/document-pptx/scripts/thumbnail.py +450 -0
- package/.claude/archive/skills/document-xlsx/LICENSE.txt +30 -0
- package/.claude/archive/skills/document-xlsx/SKILL.md +289 -0
- package/.claude/archive/skills/document-xlsx/recalc.py +178 -0
- package/.claude/archive/skills/image-enhancer/SKILL.md +99 -0
- package/.claude/archive/skills/meeting-insights-analyzer/SKILL.md +327 -0
- package/.claude/archive/skills/slack-gif-creator/LICENSE.txt +202 -0
- package/.claude/archive/skills/slack-gif-creator/SKILL.md +646 -0
- package/.claude/archive/skills/slack-gif-creator/core/color_palettes.py +302 -0
- package/.claude/archive/skills/slack-gif-creator/core/easing.py +230 -0
- package/.claude/archive/skills/slack-gif-creator/core/frame_composer.py +469 -0
- package/.claude/archive/skills/slack-gif-creator/core/gif_builder.py +246 -0
- package/.claude/archive/skills/slack-gif-creator/core/typography.py +357 -0
- package/.claude/archive/skills/slack-gif-creator/core/validators.py +264 -0
- package/.claude/archive/skills/slack-gif-creator/core/visual_effects.py +494 -0
- package/.claude/archive/skills/slack-gif-creator/requirements.txt +4 -0
- package/.claude/archive/skills/slack-gif-creator/templates/bounce.py +106 -0
- package/.claude/archive/skills/slack-gif-creator/templates/explode.py +331 -0
- package/.claude/archive/skills/slack-gif-creator/templates/fade.py +329 -0
- package/.claude/archive/skills/slack-gif-creator/templates/flip.py +291 -0
- package/.claude/archive/skills/slack-gif-creator/templates/kaleidoscope.py +211 -0
- package/.claude/archive/skills/slack-gif-creator/templates/morph.py +329 -0
- package/.claude/archive/skills/slack-gif-creator/templates/move.py +293 -0
- package/.claude/archive/skills/slack-gif-creator/templates/pulse.py +268 -0
- package/.claude/archive/skills/slack-gif-creator/templates/shake.py +127 -0
- package/.claude/archive/skills/slack-gif-creator/templates/slide.py +291 -0
- package/.claude/archive/skills/slack-gif-creator/templates/spin.py +269 -0
- package/.claude/archive/skills/slack-gif-creator/templates/wiggle.py +300 -0
- package/.claude/archive/skills/slack-gif-creator/templates/zoom.py +312 -0
- package/.claude/archive/skills/twitter-algorithm-optimizer/SKILL.md +327 -0
- package/.claude/archive/skills/video-downloader/SKILL.md +99 -0
- package/.claude/archive/skills/video-downloader/scripts/download_video.py +145 -0
- package/.claude/bash-whitelist-requests/2026-05-28-grep-find-rg.md +68 -0
- package/.claude/bash-whitelist-requests/2026-06-01-readonly-filters.md +76 -0
- package/.claude/bash-whitelist.txt +124 -0
- package/.claude/commands/agent-introspect.md +89 -0
- package/.claude/commands/apply-rules.md +363 -0
- package/.claude/commands/approve-design.md +219 -0
- package/.claude/commands/approve-org-money.md +267 -0
- package/.claude/commands/build.md +234 -0
- package/.claude/commands/commit.md +97 -0
- package/.claude/commands/context-fetch.md +113 -0
- package/.claude/commands/create-tool.md +496 -0
- package/.claude/commands/design-review.md +138 -0
- package/.claude/commands/design.md +807 -0
- package/.claude/commands/discharge-byproduct.md +208 -0
- package/.claude/commands/doc-review.md +165 -0
- package/.claude/commands/document-pair.md +76 -0
- package/.claude/commands/error-triage.md +435 -0
- package/.claude/commands/eval.md +70 -0
- package/.claude/commands/evolve.md +49 -0
- package/.claude/commands/finish-task.md +105 -0
- package/.claude/commands/gan-build.md +91 -0
- package/.claude/commands/gan-design.md +82 -0
- package/.claude/commands/gate-bypass.md +77 -0
- package/.claude/commands/gate-clear.md +45 -0
- package/.claude/commands/gate-status.md +46 -0
- package/.claude/commands/harness-audit.md +151 -0
- package/.claude/commands/hearing.md +138 -0
- package/.claude/commands/impact-check.md +486 -0
- package/.claude/commands/init-tasks.md +49 -0
- package/.claude/commands/instinct-export.md +47 -0
- package/.claude/commands/instinct-import.md +41 -0
- package/.claude/commands/instinct-status.md +43 -0
- package/.claude/commands/investigate.md +547 -0
- package/.claude/commands/learn.md +55 -0
- package/.claude/commands/lint-rules.md +400 -0
- package/.claude/commands/mode.md +58 -0
- package/.claude/commands/modify-feature.md +209 -0
- package/.claude/commands/module-review.md +149 -0
- package/.claude/commands/move-section.md +67 -0
- package/.claude/commands/new-draft.md +67 -0
- package/.claude/commands/new-feature.md +286 -0
- package/.claude/commands/new-task.md +156 -0
- package/.claude/commands/notification.md +107 -0
- package/.claude/commands/pm-start.md +119 -0
- package/.claude/commands/projects.md +32 -0
- package/.claude/commands/promote.md +43 -0
- package/.claude/commands/rasis-report.md +1323 -0
- package/.claude/commands/release-note.md +130 -0
- package/.claude/commands/reply-watch.md +149 -0
- package/.claude/commands/requirement.md +352 -0
- package/.claude/commands/resume-state.md +187 -0
- package/.claude/commands/reviewpr.md +118 -0
- package/.claude/commands/save-state.md +100 -0
- package/.claude/commands/sentry-pr.md +157 -0
- package/.claude/commands/start-task.md +87 -0
- package/.claude/commands/system-review.md +147 -0
- package/.claude/commands/task-bypass.md +70 -0
- package/.claude/commands/task-estimate.md +100 -0
- package/.claude/commands/template-apply.md +89 -0
- package/.claude/commands/test-design.md +116 -0
- package/.claude/commands/transfer-mismatch.md +317 -0
- package/.claude/commands/verify.md +51 -0
- package/.claude/evals/grader-loop-mode-autonomy.sh +165 -0
- package/.claude/evals/grader-system-reminder-attention.sh +99 -0
- package/.claude/evals/loop-mode-autonomy.md +121 -0
- package/.claude/evals/loop-mode-autonomy.results.template.md +133 -0
- package/.claude/evals/system-reminder-attention.md +123 -0
- package/.claude/evals/system-reminder-attention.results.template.md +93 -0
- package/.claude/evals/system-reminder-attention.runner.md +353 -0
- package/.claude/harness-config.local.yml +48 -0
- package/.claude/harness-config.yml +534 -0
- package/.claude/hooks/agent-marker-clear.sh +43 -0
- package/.claude/hooks/agent-marker-set.sh +40 -0
- package/.claude/hooks/agent-router-suggest.sh +123 -0
- package/.claude/hooks/autonomous-action-guard.sh +242 -0
- package/.claude/hooks/byproduct-discharge-guard.sh +128 -0
- package/.claude/hooks/check-md-mermaid.sh +144 -0
- package/.claude/hooks/check-required-env.sh +95 -0
- package/.claude/hooks/check-serena-mcp.sh +123 -0
- package/.claude/hooks/confidence-gate.sh +139 -0
- package/.claude/hooks/context-budget.sh +233 -0
- package/.claude/hooks/delegation-guard.sh +99 -0
- package/.claude/hooks/dispatcher-manifest.tsv +38 -0
- package/.claude/hooks/draft-flow-guard.sh +304 -0
- package/.claude/hooks/failure-loop-detect.sh +139 -0
- package/.claude/hooks/gateguard.sh +209 -0
- package/.claude/hooks/improvement-proposal.sh +112 -0
- package/.claude/hooks/init-tasks-on-start.sh +34 -0
- package/.claude/hooks/lib/bypass-logger.sh +82 -0
- package/.claude/hooks/lib/confidence-gate/bypass.sh +48 -0
- package/.claude/hooks/lib/confidence-gate/extract.sh +99 -0
- package/.claude/hooks/lib/confidence-gate/major-agent-filter.sh +59 -0
- package/.claude/hooks/lib/confidence-gate/messages.sh +53 -0
- package/.claude/hooks/lib/config-loader.sh +784 -0
- package/.claude/hooks/lib/delegation-guard/bash-whitelist.sh +323 -0
- package/.claude/hooks/lib/delegation-guard/git-deny.sh +188 -0
- package/.claude/hooks/lib/delegation-guard/protected-paths.sh +105 -0
- package/.claude/hooks/lib/delegation-guard/subagent-detect.sh +40 -0
- package/.claude/hooks/lib/dispatcher-core.sh +454 -0
- package/.claude/hooks/lib/improvement-proposal/aggregate.py +466 -0
- package/.claude/hooks/lib/improvement-proposal/cache.sh +78 -0
- package/.claude/hooks/lib/mode-loader.sh +80 -0
- package/.claude/hooks/lib/next-actions-parser.sh +153 -0
- package/.claude/hooks/lib/project-root.sh +60 -0
- package/.claude/hooks/list-md-plan-first-reminder.sh +143 -0
- package/.claude/hooks/loop-auto-progress-reminder.sh +108 -0
- package/.claude/hooks/loop-confirmation-detector.sh +241 -0
- package/.claude/hooks/mode-asana-prompt.sh +61 -0
- package/.claude/hooks/mode-enforce.sh +57 -0
- package/.claude/hooks/mode-session-start.sh +93 -0
- package/.claude/hooks/next-actions-surface.sh +136 -0
- package/.claude/hooks/notification-dispatcher.sh +9 -0
- package/.claude/hooks/notify.sh +27 -0
- package/.claude/hooks/parallel-subagent-reminder.sh +469 -0
- package/.claude/hooks/post-tool-use-dispatcher.sh +9 -0
- package/.claude/hooks/pre-tool-use-dispatcher.sh +9 -0
- package/.claude/hooks/reviewer-count-guard.sh +313 -0
- package/.claude/hooks/session-help-surface.sh +192 -0
- package/.claude/hooks/session-start-dispatcher.sh +9 -0
- package/.claude/hooks/session-start-wrapper.sh +156 -0
- package/.claude/hooks/stale-harness-detect.sh +422 -0
- package/.claude/hooks/stop-dispatcher.sh +9 -0
- package/.claude/hooks/stop.sh +25 -0
- package/.claude/hooks/subagent-stop-dispatcher.sh +9 -0
- package/.claude/hooks/task-rule-guard.sh +317 -0
- package/.claude/hooks/tests/run-tests.sh +23 -0
- package/.claude/hooks/tests/test-agent-marker-warn.sh +86 -0
- package/.claude/hooks/tests/test-check-required-env.sh +138 -0
- package/.claude/hooks/tests/test-confidence-gate.sh +170 -0
- package/.claude/hooks/tests/test-config-env-override.sh +220 -0
- package/.claude/hooks/tests/test-gate-disable.sh +118 -0
- package/.claude/hooks/tests/test-improvement-proposal.sh +284 -0
- package/.claude/hooks/tool-call-slip-detector.sh +188 -0
- package/.claude/hooks/user-prompt-submit-dispatcher.sh +9 -0
- package/.claude/hooks/why-x5-reminder.sh +45 -0
- package/.claude/hooks/why-x5-violation-detect.sh +152 -0
- package/.claude/hooks/workflow-guard.sh +263 -0
- package/.claude/mode.yml +28 -0
- package/.claude/project-rules/development-process.md +8 -0
- package/.claude/project-rules/git-workflow.md +8 -0
- package/.claude/project-rules/modes.md +8 -0
- package/.claude/project-rules/self-improvement.md +8 -0
- package/.claude/project-rules/task-management.md +8 -0
- package/.claude/project-rules/why-x5-output.md +8 -0
- package/.claude/project-rules/workflow.md +8 -0
- package/.claude/rules/development-process.md +293 -0
- package/.claude/rules/git-workflow.md +71 -0
- package/.claude/rules/modes.md +189 -0
- package/.claude/rules/self-improvement.md +76 -0
- package/.claude/rules/task-management.md +261 -0
- package/.claude/rules/why-x5-output.md +97 -0
- package/.claude/rules/workflow.md +157 -0
- package/.claude/rules-details/README.md +67 -0
- package/.claude/rules-details/development-process/confidence-gate.md +22 -0
- package/.claude/rules-details/development-process/cross-repo-write.md +35 -0
- package/.claude/rules-details/development-process/delegation-requirements.md +158 -0
- package/.claude/rules-details/development-process/harness-sync.md +21 -0
- package/.claude/rules-details/development-process/origin.md +13 -0
- package/.claude/rules-details/development-process/parallelization-origin.md +22 -0
- package/.claude/rules-details/development-process/research-reuse.md +22 -0
- package/.claude/rules-details/development-process/staging-strategy.md +47 -0
- package/.claude/rules-details/modes/artifacts.md +34 -0
- package/.claude/rules-details/modes/compliance-items.md +120 -0
- package/.claude/rules-details/modes/five-layer-enforcement.md +46 -0
- package/.claude/rules-details/modes/mode-hooks.md +51 -0
- package/.claude/rules-details/modes/origin.md +17 -0
- package/.claude/rules-details/self-improvement/l4-mechanics.md +36 -0
- package/.claude/rules-details/self-improvement/origin.md +8 -0
- package/.claude/rules-details/self-improvement/related-skills.md +35 -0
- package/.claude/rules-details/self-improvement/when-to-use-layers.md +39 -0
- package/.claude/rules-details/task-management/hook-enforcement.md +25 -0
- package/.claude/rules-details/task-management/mandatory-reading.md +20 -0
- package/.claude/rules-details/task-management/origin.md +12 -0
- package/.claude/rules-details/task-management/parking-lot.md +26 -0
- package/.claude/rules-details/task-management/plan-first.md +44 -0
- package/.claude/rules-details/task-management/six-articles.md +68 -0
- package/.claude/rules-details/task-management/task-migration.md +16 -0
- package/.claude/rules-details/task-management/ui-detection.md +11 -0
- package/.claude/rules-details/why-x5-output/examples.md +41 -0
- package/.claude/rules-details/why-x5-output/feedback-memory.md +14 -0
- package/.claude/rules-details/why-x5-output/origin.md +10 -0
- package/.claude/rules-details/why-x5-output/v1-v10-history.md +19 -0
- package/.claude/rules-details/workflow/10-stage.md +43 -0
- package/.claude/rules-details/workflow/14-stage.md +52 -0
- package/.claude/rules-details/workflow/byproduct-discharge.md +39 -0
- package/.claude/rules-details/workflow/draft-flow-guard.md +31 -0
- package/.claude/rules-details/workflow/fan-out.md +70 -0
- package/.claude/rules-details/workflow/mece-20.md +36 -0
- package/.claude/rules-details/workflow/origin.md +14 -0
- package/.claude/rules-details/workflow/refactoring.md +48 -0
- package/.claude/rules-details/workflow/related-skills.md +22 -0
- package/.claude/rules-details/workflow/reviewer-prompt.md +100 -0
- package/.claude/rules-details/workflow/session-persistence.md +46 -0
- package/.claude/rules-details/workflow/workflow-guard.md +36 -0
- package/.claude/scripts/__pycache__/harness-audit.cpython-313.pyc +0 -0
- package/.claude/scripts/agent-stocktake.py +421 -0
- package/.claude/scripts/check-md-mermaid.mjs +138 -0
- package/.claude/scripts/generate-settings.sh +0 -0
- package/.claude/scripts/harness-audit.py +1547 -0
- package/.claude/scripts/hc-config.sh +2265 -0
- package/.claude/scripts/init-tasks.sh +117 -0
- package/.claude/scripts/lib/enforcement-matrix-parse.sh +81 -0
- package/.claude/scripts/lib/hc-config-metadata.sh +190 -0
- package/.claude/scripts/lib/hc-config-web-server.js +1528 -0
- package/.claude/scripts/lib/hc-config-web-ui/app.js +1054 -0
- package/.claude/scripts/lib/hc-config-web-ui/index.html +130 -0
- package/.claude/scripts/lib/hc-config-web-ui/style.css +522 -0
- package/.claude/scripts/new-task-helper.sh +432 -0
- package/.claude/scripts/observe-repair.sh +437 -0
- package/.claude/scripts/observe-rotate.sh +311 -0
- package/.claude/scripts/statusline.sh +239 -0
- package/.claude/settings.generated.preview.json +211 -0
- package/.claude/settings.json +215 -0
- package/.claude/settings.local.example.json +20 -0
- package/.claude/settings.local.json +36 -0
- package/.claude/skills/agent-introspection-debugging/SKILL.md +123 -0
- package/.claude/skills/agent-router/README.md +137 -0
- package/.claude/skills/agent-router/SKILL.md +74 -0
- package/.claude/skills/agent-router/dispatch-table.yml +352 -0
- package/.claude/skills/agent-router/router.py +1086 -0
- package/.claude/skills/agent-router/samples/representative_prompts.txt +24 -0
- package/.claude/skills/agent-router/tests/__init__.py +0 -0
- package/.claude/skills/agent-router/tests/test_router.py +762 -0
- package/.claude/skills/artifacts-builder/LICENSE.txt +202 -0
- package/.claude/skills/artifacts-builder/SKILL.md +74 -0
- package/.claude/skills/artifacts-builder/scripts/bundle-artifact.sh +54 -0
- package/.claude/skills/artifacts-builder/scripts/init-artifact.sh +322 -0
- package/.claude/skills/artifacts-builder/scripts/shadcn-components.tar.gz +0 -0
- package/.claude/skills/brand-guidelines/LICENSE.txt +202 -0
- package/.claude/skills/brand-guidelines/SKILL.md +73 -0
- package/.claude/skills/canvas-design/LICENSE.txt +202 -0
- package/.claude/skills/canvas-design/SKILL.md +130 -0
- package/.claude/skills/canvas-design/canvas-fonts/ArsenalSC-OFL.txt +93 -0
- package/.claude/skills/canvas-design/canvas-fonts/ArsenalSC-Regular.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/BigShoulders-Bold.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/BigShoulders-OFL.txt +93 -0
- package/.claude/skills/canvas-design/canvas-fonts/BigShoulders-Regular.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/Boldonse-OFL.txt +93 -0
- package/.claude/skills/canvas-design/canvas-fonts/Boldonse-Regular.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/BricolageGrotesque-Bold.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/BricolageGrotesque-OFL.txt +93 -0
- package/.claude/skills/canvas-design/canvas-fonts/BricolageGrotesque-Regular.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/CrimsonPro-Bold.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/CrimsonPro-Italic.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/CrimsonPro-OFL.txt +93 -0
- package/.claude/skills/canvas-design/canvas-fonts/CrimsonPro-Regular.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/DMMono-OFL.txt +93 -0
- package/.claude/skills/canvas-design/canvas-fonts/DMMono-Regular.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/EricaOne-OFL.txt +94 -0
- package/.claude/skills/canvas-design/canvas-fonts/EricaOne-Regular.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/GeistMono-Bold.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/GeistMono-OFL.txt +93 -0
- package/.claude/skills/canvas-design/canvas-fonts/GeistMono-Regular.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/Gloock-OFL.txt +93 -0
- package/.claude/skills/canvas-design/canvas-fonts/Gloock-Regular.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/IBMPlexMono-Bold.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/IBMPlexMono-OFL.txt +93 -0
- package/.claude/skills/canvas-design/canvas-fonts/IBMPlexMono-Regular.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/IBMPlexSerif-Bold.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/IBMPlexSerif-BoldItalic.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/IBMPlexSerif-Italic.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/IBMPlexSerif-Regular.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/InstrumentSans-Bold.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/InstrumentSans-BoldItalic.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/InstrumentSans-Italic.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/InstrumentSans-OFL.txt +93 -0
- package/.claude/skills/canvas-design/canvas-fonts/InstrumentSans-Regular.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/InstrumentSerif-Italic.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/InstrumentSerif-Regular.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/Italiana-OFL.txt +93 -0
- package/.claude/skills/canvas-design/canvas-fonts/Italiana-Regular.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/JetBrainsMono-Bold.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/JetBrainsMono-OFL.txt +93 -0
- package/.claude/skills/canvas-design/canvas-fonts/JetBrainsMono-Regular.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/Jura-Light.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/Jura-Medium.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/Jura-OFL.txt +93 -0
- package/.claude/skills/canvas-design/canvas-fonts/LibreBaskerville-OFL.txt +93 -0
- package/.claude/skills/canvas-design/canvas-fonts/LibreBaskerville-Regular.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/Lora-Bold.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/Lora-BoldItalic.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/Lora-Italic.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/Lora-OFL.txt +93 -0
- package/.claude/skills/canvas-design/canvas-fonts/Lora-Regular.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/NationalPark-Bold.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/NationalPark-OFL.txt +93 -0
- package/.claude/skills/canvas-design/canvas-fonts/NationalPark-Regular.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/NothingYouCouldDo-OFL.txt +93 -0
- package/.claude/skills/canvas-design/canvas-fonts/NothingYouCouldDo-Regular.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/Outfit-Bold.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/Outfit-OFL.txt +93 -0
- package/.claude/skills/canvas-design/canvas-fonts/Outfit-Regular.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/PixelifySans-Medium.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/PixelifySans-OFL.txt +93 -0
- package/.claude/skills/canvas-design/canvas-fonts/PoiretOne-OFL.txt +93 -0
- package/.claude/skills/canvas-design/canvas-fonts/PoiretOne-Regular.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/RedHatMono-Bold.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/RedHatMono-OFL.txt +93 -0
- package/.claude/skills/canvas-design/canvas-fonts/RedHatMono-Regular.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/Silkscreen-OFL.txt +93 -0
- package/.claude/skills/canvas-design/canvas-fonts/Silkscreen-Regular.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/SmoochSans-Medium.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/SmoochSans-OFL.txt +93 -0
- package/.claude/skills/canvas-design/canvas-fonts/Tektur-Medium.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/Tektur-OFL.txt +93 -0
- package/.claude/skills/canvas-design/canvas-fonts/Tektur-Regular.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/WorkSans-Bold.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/WorkSans-BoldItalic.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/WorkSans-Italic.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/WorkSans-OFL.txt +93 -0
- package/.claude/skills/canvas-design/canvas-fonts/WorkSans-Regular.ttf +0 -0
- package/.claude/skills/canvas-design/canvas-fonts/YoungSerif-OFL.txt +93 -0
- package/.claude/skills/canvas-design/canvas-fonts/YoungSerif-Regular.ttf +0 -0
- package/.claude/skills/changelog-generator/SKILL.md +104 -0
- package/.claude/skills/check-md-mermaid/SKILL.md +62 -0
- package/.claude/skills/connect/SKILL.md +156 -0
- package/.claude/skills/connect-apps/SKILL.md +80 -0
- package/.claude/skills/content-research-writer/SKILL.md +538 -0
- package/.claude/skills/continuous-agent-loop/SKILL.md +187 -0
- package/.claude/skills/continuous-learning-v2/SKILL.md +238 -0
- package/.claude/skills/continuous-learning-v2/config.json +35 -0
- package/.claude/skills/continuous-learning-v2/hooks/observe.sh +333 -0
- package/.claude/skills/continuous-learning-v2/instinct-cli.py +406 -0
- package/.claude/skills/domain-name-brainstormer/SKILL.md +212 -0
- package/.claude/skills/eval-harness/SKILL.md +100 -0
- package/.claude/skills/eval-harness/swe-bench/README.md +80 -0
- package/.claude/skills/eval-harness/swe-bench/config.yml +29 -0
- package/.claude/skills/eval-harness/swe-bench/docker/Dockerfile +25 -0
- package/.claude/skills/eval-harness/swe-bench/docker/docker-compose.yml +18 -0
- package/.claude/skills/eval-harness/swe-bench/results/dry-run-2026-05-04.json +137 -0
- package/.claude/skills/eval-harness/swe-bench/results/dry-run-comparison-2026-05-04.md +112 -0
- package/.claude/skills/eval-harness/swe-bench/results/dry-run-improved-2026-05-04.json +165 -0
- package/.claude/skills/eval-harness/swe-bench/results/raw/astropy__astropy-12907.patch +12 -0
- package/.claude/skills/eval-harness/swe-bench/results/raw/astropy__astropy-12907.txt +322 -0
- package/.claude/skills/eval-harness/swe-bench/results/raw/astropy__astropy-12907.whole-file.txt +322 -0
- package/.claude/skills/eval-harness/swe-bench/runner.py +845 -0
- package/.claude/skills/eval-harness/swe-bench/scoring.py +298 -0
- package/.claude/skills/eval-harness/swe-bench/tasks/fetch_tasks.py +81 -0
- package/.claude/skills/eval-harness/swe-bench/tasks/lite-50.json +702 -0
- package/.claude/skills/file-organizer/SKILL.md +433 -0
- package/.claude/skills/gan-style-harness/SKILL.md +111 -0
- package/.claude/skills/gateguard/.gateguard.yml +47 -0
- package/.claude/skills/gateguard/SKILL.md +99 -0
- package/.claude/skills/internal-comms/LICENSE.txt +202 -0
- package/.claude/skills/internal-comms/SKILL.md +32 -0
- package/.claude/skills/internal-comms/examples/3p-updates.md +47 -0
- package/.claude/skills/internal-comms/examples/company-newsletter.md +65 -0
- package/.claude/skills/internal-comms/examples/faq-answers.md +30 -0
- package/.claude/skills/internal-comms/examples/general-comms.md +16 -0
- package/.claude/skills/invoice-organizer/SKILL.md +446 -0
- package/.claude/skills/karpathy-guidelines/SKILL.md +67 -0
- package/.claude/skills/langsmith-fetch/SKILL.md +485 -0
- package/.claude/skills/lead-research-assistant/SKILL.md +199 -0
- package/.claude/skills/mcp-builder/LICENSE.txt +202 -0
- package/.claude/skills/mcp-builder/SKILL.md +328 -0
- package/.claude/skills/mcp-builder/reference/evaluation.md +602 -0
- package/.claude/skills/mcp-builder/reference/mcp_best_practices.md +915 -0
- package/.claude/skills/mcp-builder/reference/node_mcp_server.md +916 -0
- package/.claude/skills/mcp-builder/reference/python_mcp_server.md +752 -0
- package/.claude/skills/mcp-builder/scripts/connections.py +151 -0
- package/.claude/skills/mcp-builder/scripts/evaluation.py +373 -0
- package/.claude/skills/mcp-builder/scripts/example_evaluation.xml +22 -0
- package/.claude/skills/mcp-builder/scripts/requirements.txt +2 -0
- package/.claude/skills/raffle-winner-picker/SKILL.md +159 -0
- package/.claude/skills/repo-map/README.md +125 -0
- package/.claude/skills/repo-map/SKILL.md +128 -0
- package/.claude/skills/repo-map/examples/sample-output.md +1194 -0
- package/.claude/skills/repo-map/repo-map.py +715 -0
- package/.claude/skills/salesforce-e2e-testing/SKILL.md +116 -0
- package/.claude/skills/salesforce-e2e-testing/catalog-template.md +161 -0
- package/.claude/skills/salesforce-e2e-testing/methodology.md +179 -0
- package/.claude/skills/salesforce-e2e-testing/observation-rules.md +280 -0
- package/.claude/skills/salesforce-e2e-testing/pattern-taxonomy.md +392 -0
- package/.claude/skills/salesforce-e2e-testing/procedure-template.md +376 -0
- package/.claude/skills/skill-creator/LICENSE.txt +202 -0
- package/.claude/skills/skill-creator/SKILL.md +209 -0
- package/.claude/skills/skill-creator/scripts/init_skill.py +303 -0
- package/.claude/skills/skill-creator/scripts/package_skill.py +110 -0
- package/.claude/skills/skill-creator/scripts/quick_validate.py +65 -0
- package/.claude/skills/skill-share/SKILL.md +80 -0
- package/.claude/skills/tailored-resume-generator/SKILL.md +345 -0
- package/.claude/skills/template-skill/SKILL.md +6 -0
- package/.claude/skills/theme-factory/LICENSE.txt +202 -0
- package/.claude/skills/theme-factory/SKILL.md +59 -0
- package/.claude/skills/theme-factory/theme-showcase.pdf +0 -0
- package/.claude/skills/theme-factory/themes/arctic-frost.md +19 -0
- package/.claude/skills/theme-factory/themes/botanical-garden.md +19 -0
- package/.claude/skills/theme-factory/themes/desert-rose.md +19 -0
- package/.claude/skills/theme-factory/themes/forest-canopy.md +19 -0
- package/.claude/skills/theme-factory/themes/golden-hour.md +19 -0
- package/.claude/skills/theme-factory/themes/midnight-galaxy.md +19 -0
- package/.claude/skills/theme-factory/themes/modern-minimalist.md +19 -0
- package/.claude/skills/theme-factory/themes/ocean-depths.md +19 -0
- package/.claude/skills/theme-factory/themes/sunset-boulevard.md +19 -0
- package/.claude/skills/theme-factory/themes/tech-innovation.md +19 -0
- package/.claude/skills/verification-loop/SKILL.md +129 -0
- package/.claude/skills/webapp-testing/LICENSE.txt +202 -0
- package/.claude/skills/webapp-testing/SKILL.md +96 -0
- package/.claude/skills/webapp-testing/examples/console_logging.py +35 -0
- package/.claude/skills/webapp-testing/examples/element_discovery.py +40 -0
- package/.claude/skills/webapp-testing/examples/static_html_automation.py +33 -0
- package/.claude/skills/webapp-testing/scripts/with_server.py +106 -0
- package/.claude/templates/docs/draft/_DRAFT_TEMPLATE.md +162 -0
- package/.claude/templates/docs/draft/_TEST_DESIGN_TEMPLATE.md +76 -0
- package/.claude/templates/docs/tasks/_TASK_TEMPLATE.md +276 -0
- package/.claude/templates/docs/tasks/list.md +80 -0
- package/.claude/templates/docs/tasks/parking-lot.md +82 -0
- package/.claude/templates/settings.user-level.json.template +306 -0
- package/.claude/tests/SMOKE-CLASSIFICATION.md +199 -0
- package/.claude/tests/action-space-count-smoke.sh +130 -0
- package/.claude/tests/agent-router-suggest-wiring-smoke.sh +188 -0
- package/.claude/tests/audit-followups-smoke.sh +158 -0
- package/.claude/tests/autonomous-action-guard-relaxation-smoke.sh +479 -0
- package/.claude/tests/autonomous-action-guard-smoke.sh +187 -0
- package/.claude/tests/check-serena-mcp-smoke.sh +156 -0
- package/.claude/tests/common-rules-import-smoke.sh +209 -0
- package/.claude/tests/confidence-gate-smoke.sh +220 -0
- package/.claude/tests/config-feature-toggles-smoke.sh +389 -0
- package/.claude/tests/context-budget-smoke.sh +222 -0
- package/.claude/tests/custom-pm-commands-smoke.sh +93 -0
- package/.claude/tests/delegation-guard-code-smoke.sh +244 -0
- package/.claude/tests/delegation-guard-deny-layers-smoke.sh +356 -0
- package/.claude/tests/delegation-guard-readonly-filter-smoke.sh +205 -0
- package/.claude/tests/delegation-guard-search-whitelist-smoke.sh +152 -0
- package/.claude/tests/delegation-guard-segment-smoke.sh +109 -0
- package/.claude/tests/dispatcher-blocker-invariance-smoke.sh +700 -0
- package/.claude/tests/dispatcher-core-smoke.sh +452 -0
- package/.claude/tests/dispatcher-merge-matrix-smoke.sh +825 -0
- package/.claude/tests/dispatcher-success-stdout-smoke.sh +290 -0
- package/.claude/tests/draft-flow-guard-approved-dir-smoke.sh +234 -0
- package/.claude/tests/draft-flow-guard-smoke.sh +194 -0
- package/.claude/tests/dual-mode-portability-smoke.sh +131 -0
- package/.claude/tests/effective-hook-matrix-smoke.sh +261 -0
- package/.claude/tests/enforcement-mismatch-smoke.sh +263 -0
- package/.claude/tests/fixtures/cascade-sample.jsonl +9 -0
- package/.claude/tests/fixtures/next-actions/case-clean.md +14 -0
- package/.claude/tests/fixtures/next-actions/case-with-red.md +16 -0
- package/.claude/tests/fixtures/next-actions/case-with-yellow-only.md +14 -0
- package/.claude/tests/fixtures/normal-broken-scatter.jsonl +5 -0
- package/.claude/tests/fixtures/task-71/blocker-baseline.tsv +24 -0
- package/.claude/tests/fixtures/task-71/settings-inventory.tsv +37 -0
- package/.claude/tests/fixtures/transcript-50pct.jsonl +2 -0
- package/.claude/tests/fixtures/transcript-60pct.jsonl +2 -0
- package/.claude/tests/fixtures/transcript-80pct.jsonl +2 -0
- package/.claude/tests/fixtures/transcript-95pct.jsonl +2 -0
- package/.claude/tests/fixtures/workflow-guard/case-2-mid.json +21 -0
- package/.claude/tests/fixtures/workflow-guard/case-3-blocked.json +33 -0
- package/.claude/tests/fixtures/workflow-guard/case-4-clean.json +27 -0
- package/.claude/tests/fixtures/workflow-guard/case-8-modify.json +23 -0
- package/.claude/tests/fixtures/workflow-guard/inputs/case-1.json +1 -0
- package/.claude/tests/fixtures/workflow-guard/inputs/case-2.json +1 -0
- package/.claude/tests/fixtures/workflow-guard/inputs/case-3.json +1 -0
- package/.claude/tests/fixtures/workflow-guard/inputs/case-4.json +1 -0
- package/.claude/tests/fixtures/workflow-guard/inputs/case-5.json +1 -0
- package/.claude/tests/fixtures/workflow-guard/inputs/case-6.json +1 -0
- package/.claude/tests/fixtures/workflow-guard/inputs/case-7.json +1 -0
- package/.claude/tests/fixtures/workflow-guard/inputs/case-8.json +1 -0
- package/.claude/tests/gateguard-smoke.sh +213 -0
- package/.claude/tests/git-deny-mainline-policy-smoke.sh +222 -0
- package/.claude/tests/harness-audit-c-batch-smoke.sh +270 -0
- package/.claude/tests/harness-audit-compare-smoke.sh +186 -0
- package/.claude/tests/harness-audit-pipeline-health-smoke.sh +326 -0
- package/.claude/tests/harness-config-local-smoke.sh +232 -0
- package/.claude/tests/hc-config-git-policy-smoke.sh +241 -0
- package/.claude/tests/hc-config-key-parity-smoke.sh +149 -0
- package/.claude/tests/hc-config-migration-smoke.sh +251 -0
- package/.claude/tests/hc-config-script-smoke.sh +1106 -0
- package/.claude/tests/hc-config-tui-smoke.sh +801 -0
- package/.claude/tests/hc-config-web-ui-smoke.sh +3224 -0
- package/.claude/tests/hook-cwd-robustness-smoke.sh +206 -0
- package/.claude/tests/hook-frequency-tweaks-smoke.sh +312 -0
- package/.claude/tests/improvement-proposal-cache-smoke.sh +238 -0
- package/.claude/tests/install-sh-overwrite-all-smoke.sh +274 -0
- package/.claude/tests/install-sh-regen-settings-smoke.sh +301 -0
- package/.claude/tests/install-sh-sync-drift-smoke.sh +285 -0
- package/.claude/tests/layer-b-context-isolation-smoke.sh +392 -0
- package/.claude/tests/list-md-plan-first-reminder-smoke.sh +313 -0
- package/.claude/tests/loop-auto-progress-smoke.sh +372 -0
- package/.claude/tests/loop-confirmation-detector-smoke.sh +674 -0
- package/.claude/tests/new-task-batch-update-smoke.sh +664 -0
- package/.claude/tests/next-actions-hooks-smoke.sh +283 -0
- package/.claude/tests/npx-cli-smoke.sh +696 -0
- package/.claude/tests/observe-flock-smoke.sh +223 -0
- package/.claude/tests/observe-jq-parse-smoke.sh +250 -0
- package/.claude/tests/observe-repair-smoke.sh +475 -0
- package/.claude/tests/observe-rotate-smoke.sh +428 -0
- package/.claude/tests/observe-subagent-stop-smoke.sh +476 -0
- package/.claude/tests/parallel-subagent-reminder-smoke.sh +918 -0
- package/.claude/tests/project-root-smoke.sh +140 -0
- package/.claude/tests/project-rules-protection-smoke.sh +199 -0
- package/.claude/tests/review-required-min-count-smoke.sh +286 -0
- package/.claude/tests/reviewer-count-guard-smoke.sh +490 -0
- package/.claude/tests/rule-architecture-smoke.sh +418 -0
- package/.claude/tests/rule-change-draft-flow-guard-smoke.sh +343 -0
- package/.claude/tests/run-all-smokes.sh +340 -0
- package/.claude/tests/session-help-surface-smoke.sh +224 -0
- package/.claude/tests/session-start-parallel-smoke.sh +165 -0
- package/.claude/tests/sessionstart-budget-smoke.sh +185 -0
- package/.claude/tests/sessionstart-footprint-smoke.sh +258 -0
- package/.claude/tests/settings-dispatcher-baseline-smoke.sh +709 -0
- package/.claude/tests/settings-generation-feature-pruning-smoke.sh +196 -0
- package/.claude/tests/stale-harness-detect-smoke.sh +974 -0
- package/.claude/tests/statusline-smoke.sh +180 -0
- package/.claude/tests/task-rule-guard-smoke.sh +656 -0
- package/.claude/tests/tool-call-slip-detector-smoke.sh +101 -0
- package/.claude/tests/wave-precheck-template-smoke.sh +159 -0
- package/.claude/tests/why-x5-violation-detect-smoke.sh +157 -0
- package/.claude/tests/workflow-guard-smoke.sh +266 -0
- package/CLAUDE.md +75 -0
- package/LICENSE +21 -0
- package/README.md +790 -0
- package/bin/cli.js +395 -0
- package/docs/INVENTORY.md +163 -0
- package/install.sh +769 -0
- package/package.json +25 -0
|
File without changes
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
# CommonRules.md — HIRAI メソッド 共通規範
|
|
2
|
+
|
|
3
|
+
> 本 file は `.claude/` に配置され、CLAUDE.md から `@.claude/CommonRules.md` で auto-expand される。
|
|
4
|
+
> Claude Code memory file import 機能で session 開始時に CLAUDE.md と同等に load される。
|
|
5
|
+
>
|
|
6
|
+
> **責務分離**:
|
|
7
|
+
> - CLAUDE.md = project 固有 (Tech Stack / User Context / Implementation Status / Commands (project 固有 dev command))
|
|
8
|
+
> - CommonRules.md (本 file) = harness 共通 (Development Policy / Autonomous Progression / Rules / Critical Operational Lessons 等)
|
|
9
|
+
>
|
|
10
|
+
> 本 file は `install.sh --update` で自動同期される (CLAUDE.md は保護対象、project 固有編集を維持)。
|
|
11
|
+
|
|
12
|
+
## Development Policy
|
|
13
|
+
|
|
14
|
+
- **TDD**: テスト先行(テスト専門エージェント `tdd-guide` / `test-automator` / `qa-expert` で観点出し → Red → Green → Refactor)
|
|
15
|
+
- **サブエージェント委譲(Hook 強制 + 背景起動 + 順序整合性 + Task 登録 + Bash deny 反射)**:
|
|
16
|
+
- メインは `src/` `tests/` `scripts/` の Read/Write/Edit/Bash 禁止 → すべて Agent tool 経由
|
|
17
|
+
- **Agent tool は `run_in_background: true` 必須**(メインを user 対話に常時開放)
|
|
18
|
+
- **タスク順序整合性はメインが保証**(依存解決 / 並行判定 / commit conflict 防止)
|
|
19
|
+
- **サブエージェント起動時は必ず TaskCreate**(subagent_id を metadata に記録、Claude Code 内蔵タスクリストに表示)
|
|
20
|
+
- **Bash deny / whitelist 不在 / 委譲ガード block は loop 停止理由にしない**(自動的に Agent 委譲で再試行 — `development-process.md` §5)
|
|
21
|
+
- 詳細は [`.claude/rules/development-process.md`](.claude/rules/development-process.md)
|
|
22
|
+
- **指摘対応**: 根本原因 → 修正 → 再発防止策を `.claude/rules/` に追加提案
|
|
23
|
+
- **タスク管理(メイン専任)**: `docs/tasks/list.md` で一元管理、サブエージェントに委譲しない
|
|
24
|
+
- **設計→承認→タスク追加**: `docs/draft/` 起案 → user 承認 → `docs/tasks/` 反映。設計なしのタスク追加禁止
|
|
25
|
+
- **外部 library / framework 仕様確認**: context7 MCP を default 利用 (既知 library でも training data outdated 回避)、fallback chain (context7 → WebFetch → GitHub code search / Exa) の詳細は `.claude/rules/development-process.md` §「研究と再利用」参照
|
|
26
|
+
|
|
27
|
+
## Autonomous Progression(自律進行ルール)
|
|
28
|
+
|
|
29
|
+
user から **タスクと方針の承認**を得た後は、実装・commit・push・本番デプロイ・migration 適用まで自律的に進める。Wave / commit ごとに進行可否を逐一問わない。
|
|
30
|
+
|
|
31
|
+
### 自律実行可(user 確認不要、戦術判断のみ)
|
|
32
|
+
- 承認済み設計書(`docs/tasks/task-N-*.md` or `docs/draft/<slug>.md` で frontmatter `approved_at:` 記載済)に基づく **実装** (`src/` `apps/` `packages/` 等)
|
|
33
|
+
- テスト追加・修正、ローカル `git commit`(feature branch 上のみ)
|
|
34
|
+
- 実装中の方式選択 / branch 命名 / commit メッセージ / build green までの試行錯誤
|
|
35
|
+
- サブエージェント委譲、ローカルサーバー起動、`docs/tasks/list.md` ステータス同期
|
|
36
|
+
- `<追加のみ・破壊的変更なしの DB migration 等、プロジェクト固有の自律実行範囲>`
|
|
37
|
+
|
|
38
|
+
### chat で必ず確認(クリティカル / 戦略判断 / task-21 W2.5 拡張)
|
|
39
|
+
- **設計文書 (要件 / 基本設計 / 詳細設計 / 機能一覧) の新規追加** — 必ず `docs/draft/<slug>.md` 経由で起こす。`docs/` 直下への直接 Write は `draft-flow-guard.sh` (commit `6ed9337`) が、**team-default / strict preset では BLOCK / harness-dev preset では advisory** (理由: ハーネス自身の設計 draft / docs 編集を妨げないため)。現 effective 状態は `bash .claude/scripts/hc-config.sh --summary` 参照
|
|
40
|
+
- **仕様変更 / scope 拡張** — 承認済 draft の §3 採用案からの逸脱
|
|
41
|
+
- **戦略的判断** — architecture 選択 / 採用技術スタック変更 / 既存 task の優先順入替
|
|
42
|
+
- 承認外の設計変更、破壊的 DB 変更(DROP / 既存 RLS 削除)、データ削除
|
|
43
|
+
- secrets ローテーション、`git push --force` / `git reset --hard` / `git branch -D`
|
|
44
|
+
- `git push origin main|stg*` (protected-branch-push-deny で別 layer block 維持)、`gh pr merge` (user 明示承認必須)
|
|
45
|
+
- (緩和、task #39 由来) feature branch への `git push` および `gh pr create` は自律実行可 (modes.md 遵守事項 8 と整合)
|
|
46
|
+
- `<外部サービス quota 超過見込み>`
|
|
47
|
+
- 同一エラーで 3 回連続失敗、サブエージェントの「要判断」報告
|
|
48
|
+
- security-reviewer の CRITICAL、進行不可ブロッカー
|
|
49
|
+
|
|
50
|
+
### user 主導切替キーワード
|
|
51
|
+
「確認しながら」「逐次」「1 つずつ」「止まって」「ブランチ切って」「PR 経由で」
|
|
52
|
+
|
|
53
|
+
### 報告フォーマット
|
|
54
|
+
- Wave 完了時: `Wave N 完了。commit <hash>、<total> tests PASS。次は Wave N+1。`
|
|
55
|
+
- 全完了時: `#<番号> <名称> 完了。累計 +<tests>、commit <count>、push 済 <URL>。`
|
|
56
|
+
|
|
57
|
+
## Rules(`.claude/rules/`)
|
|
58
|
+
|
|
59
|
+
`paths:` フロントマターで対象ファイルをスコープ指定し、該当ファイルを読んだ時のみ自動ロードされる。
|
|
60
|
+
|
|
61
|
+
| ルールファイル | スコープ | 内容 |
|
|
62
|
+
|--------------|---------|------|
|
|
63
|
+
| [`development-process.md`](.claude/rules/development-process.md) | `src/**`, `scripts/**`, `tests/**`, `docs/tasks/**`, `docs/draft/**` | TDD、委譲、指摘対応、タスク管理、設計→承認フロー |
|
|
64
|
+
| [`self-improvement.md`](.claude/rules/self-improvement.md) | **(常時参照)** | L1〜L5 自己改善 + F1/F2 事実検証の使い分け規約 |
|
|
65
|
+
| [`workflow.md`](.claude/rules/workflow.md) | `docs/draft/**`, `docs/tasks/**`, `.claude/commands/**`, `.claude/hooks/workflow-guard.sh`, `.claude/.workflow-state/**` | workflow 強制 (test-design / design-review / module-review / system-review / new-feature / modify-feature / workflow-guard) |
|
|
66
|
+
| [`task-management.md`](.claude/rules/task-management.md) | **(常時参照、task-21 W1.7 で paths 廃止)** | メイン専任 / 設計→承認→タスク追加フロー (Loop モードでも免除されない、`modes.md` 遵守事項 2 例外条項参照) / Parking Lot 運用 / **タスク構造規範 採用 6 条 (Task=Phase=N Step、Phase 中間階層廃止、Step status 5 種、Task 概要欄 3 要素規範、2026-05-25 採用、task-29 採用 5 条 supersede)** / batch planning 経路 B (plan-first 行先置きフロー、task #33 規範化) |
|
|
67
|
+
| [`modes.md`](.claude/rules/modes.md) | **(常時参照)** | Normal / Loop モード仕様 + 8 遵守事項 (中間確認禁止の例外条項 / 自律実行禁止 11 カテゴリ含む) |
|
|
68
|
+
| [`why-x5-output.md`](.claude/rules/why-x5-output.md) | **(常時参照、v10 2026-05-23)** | 「<何のため> のため、<何をやる> を行う」1 行 format 強制 |
|
|
69
|
+
| [`git-workflow.md`](.claude/rules/git-workflow.md) | **(常時参照)** | branch 命名規約 (`<type>/<short-kebab-description>`、main は唯一例外) |
|
|
70
|
+
|
|
71
|
+
ルール追加・変更時は必ずこのテーブルも更新。
|
|
72
|
+
|
|
73
|
+
## ハーネス組み込みスラッシュコマンド
|
|
74
|
+
|
|
75
|
+
| カテゴリ | コマンド |
|
|
76
|
+
|---|---|
|
|
77
|
+
| タスク | `/init-tasks` `/new-draft` `/new-task` `/start-task` `/finish-task` `/task-bypass` |
|
|
78
|
+
| Custom PM / Session | `/save-state` `/resume-state` `/pm-start` |
|
|
79
|
+
| Git / レビュー | `/commit` `/reviewpr` |
|
|
80
|
+
| 自己改善 L1 (Eval) | `/eval` |
|
|
81
|
+
| 自己改善 L2 (GAN) | `/gan-design` `/gan-build` |
|
|
82
|
+
| 自己改善 L4 (Learning) | `/instinct-status` `/projects` `/learn` `/evolve` `/promote` `/instinct-export` `/instinct-import` |
|
|
83
|
+
| 自己改善 L5 (Introspect) | `/agent-introspect` |
|
|
84
|
+
| 事実検証 F1 (GateGuard) | `/gate-status` `/gate-clear` `/gate-bypass` |
|
|
85
|
+
| 事実検証 F2 (Verify) | `/verify` |
|
|
86
|
+
| Workflow 強制 (W1-W4) | `/test-design` `/design-review` `/module-review` `/system-review` `/new-feature` `/modify-feature` |
|
|
87
|
+
| 監査 | `/harness-audit` |
|
|
88
|
+
|
|
89
|
+
詳細: [`docs/SELF_IMPROVEMENT.md`](docs/SELF_IMPROVEMENT.md)
|
|
90
|
+
|
|
91
|
+
## Design Constraints
|
|
92
|
+
|
|
93
|
+
- **`.claude/` 単独で portable**: 別 repo に `cp -r .claude` (または `./install.sh <target>`) で即動作する設計を維持。project 固有の値 (URL / path / 個人 token) を `.claude/` 配下にハードコードしない (`.claude/harness-config.yml` 経由で env override 可能にする)
|
|
94
|
+
- **保護パス / 配置 / 拡張子は `harness-config.yml` で集中管理**: `protected_paths` / `protected_paths_code` / `task_dir` / `draft_dir` / `bash_whitelist_path` / `code_file_extensions` 等を hook に直接ハードコードしない (`.claude/hooks/lib/config-loader.sh` 経由で `HC_*` env として export)
|
|
95
|
+
- **hook の fail policy 統一**: 全 hook は `set -uo pipefail` (errexit 外し) を default、`set -euo pipefail` は subshell 関数化 (`do_work() ( set -euo pipefail; ... )`) でのみ使用。caller の shell flags への leak と SIGPIPE → exit 141 サイレント死を防ぐ (CLAUDE.md Critical Lessons HIGH)
|
|
96
|
+
- **規範違反は機械強制 hook で防止**: 「ルールに書いて守らせる」ではなく「hook で BLOCK して守らせる」を default。違反検出 → next-actions entry → draft 起こし → 機械強制 hook 実装の閉ループ (task-21 / task-26 が典型例)
|
|
97
|
+
- **enforcement は preset で明示制御 (docs/config 矛盾の禁止、task-70 Phase 2)**: docs / rules が guard を「BLOCK」と説明する一方で feature toggle が false (= モデルには必須と読ませるが実際の境界では止めない) という中間状態を禁止する。`harness-config.yml` の `default_preset` (advisory / team-default / strict / **harness-dev** = 本 repo 採用) と `enforcement_matrix` で各 guard の docs_claim + preset 期待 + `disabled_reason` を宣言し、`hc-config.sh --summary` で現 preset / 有効・無効 guard / docs mismatch を一覧、`.claude/tests/enforcement-mismatch-smoke.sh` で「docs=block かつ実値=false かつ disabled_reason 不在」を機械検出する。**guard を緩和する場合は必ず `disabled_reason` を書く** (理由なき mismatch は smoke fail)。本 repo (harness-dev) では draft-flow / task-rule / workflow / gateguard / review-required を意図的に緩和し全件 disabled_reason 付き。consuming repo は team-default (重要 guard ON) が正しい姿
|
|
98
|
+
- **機能 on/off は yml feature toggle で集中管理**: hook / command の機能群は `harness-config.yml` の **feature toggle** (`feature_<name>_enabled: true|false`) で集中制御する。各 hook 冒頭で `is_feature_enabled <name>` check を入れて false なら即 no-op で抜ける paired 実装を default 規範とする。新 hook / command 追加時は (1) yml に 1 key 追加 (`feature_xxx_enabled: true` + comment で対象 hook 名明示) (2) hook 冒頭で feature check (3) env 上書きは `HC_FEATURE_XXX_ENABLED` で可能、の 3 点 set を必須とする。これにより「特定機能を試験的に OFF」「regression debug 中の局所無効化」「project 単位の feature 取捨選択」が hook source を触らずに完結する。`hc-config.sh --feature <name>=false` で安全に切替可能 (atomic backup + type validation + 復元は `--reset feature_<name>_enabled`)。詳細: `docs/SELF_IMPROVEMENT.md` §「hc-config.sh による yml 編集」
|
|
99
|
+
|
|
100
|
+
## Critical Operational Lessons(`<重要操作>`前に必読)
|
|
101
|
+
|
|
102
|
+
| 教訓 | 重要度 |
|
|
103
|
+
|:---|:---:|
|
|
104
|
+
| **並列 subagent に同一 branch で `git commit` させる際は `git add <specific files>` 限定 + `git reset` 禁止を prompt 必須記載**。`git reset --soft HEAD^` がメイン / 他 subagent の commit を巻き添えで orphan 化する事故 (2026-05-12, `2bbe079` 混在 → `deda280` orphan → `52a170f` 再 commit で復旧)。完全分離が必要なら `isolation: "worktree"` で worktree 隔離 | HIGH |
|
|
105
|
+
| **`.claude/hooks/lib/*.sh` の file-top に `set -euo pipefail` を書かない**。caller の shell flags に leak し、`cmd \| head -1` で SIGPIPE → pipefail → errexit → **exit 141 サイレント終了**。`load_xxx() ( set -uo pipefail; ... )` のように subshell 関数化で局所化する (2026-05-12 CB-verify, `5846925` で根本修正、context-budget hook の未発火問題が解消) | HIGH |
|
|
106
|
+
| **Loop モード稼働中、subagent 起動後にメインが `completion 通知の受動待ち` で停止しない**。`run_in_background: true` 必須 + 待ち中は別 task / メイン専任作業 / 規範文書化 / memory 整理 を並行進行する。違反例: subagent #13-#15 起動後にメインがターン区切り報告で停止 → user 「Loop モード継続中。なぜ自動で実行を続けないのか?」を **複数回**指摘 (2026-05-12)。`.claude/hooks/loop-auto-progress-reminder.sh` (UserPromptSubmit) が「待ち中報告」キーワード検出で `<system-reminder>` 強制注入、`modes.md` 遵守事項 7 で機械防止化 | HIGH |
|
|
107
|
+
| **Loop モードでも「設計→承認→タスク追加」フローは免除されない**。`modes.md` 遵守事項 2「中間確認の停止」の禁止対象は **戦術判断のみ** (実装中の方式選択 / branch 命名 / commit メッセージ / build green までの試行錯誤)。設計文書の新規追加 / 仕様変更 / scope 拡張 / 戦略的判断 は引き続き user 承認必須 (task-21 W2.1 で modes.md 遵守事項 2 に例外条項明文化、commit `7684c09`) | HIGH |
|
|
108
|
+
| **task 構造は採用 6 条 (Task=Phase=N Step、Phase 中間階層廃止) を採用**。task-29 採用 5 条 (Phase→Step 強制、2026-05-23) を 2026-05-25 supersede。新規範: (1) 1 task = 1 Goal + N Steps、Phase 中間階層は廃止 (2) Step status 個別管理 (📝/🔲/🔄/✅/⏸️、list.md sub-row 表現) (3) Task 完了条件 (DoD) は Task header に集約 (4) list.md 概要欄 2 種規約 (Task: 何のため × 何をやる × 何ができる / Step: 作業概要のみ) (5) Task 最終 3 Steps = テスト設計レビュー / テスト合格 / リファクタリング (固定) (6) 既存 task は次回着手時に新構造へ移行推奨 (honor system)。違反例: task-33 が 5 Phase × 14 Step に肥大化、Phase 1 完遂時点の status 判定困難、Step status が IDE 視点で不可視。詳細: `.claude/rules/task-management.md` §タスク構造規範 (採用 6 条) + `docs/draft/task-equals-phase-step-status-list-normative.md` | HIGH |
|
|
109
|
+
| **list.md plan-first 不在 → SessionStart hook + Write warn 2 段検出**: batch planning 経路 B (master roadmap で N task 一括計画) で list.md plan-first 先置きを怠ると、26 task 計画下でも list.md 空のまま draft 起案だけ進み user 進捗追跡不可。違反例: 2026-05-25 recall_poc で 26 task batch plan、list.md 空継続 + user 明示質問でようやく顕在化 (task #33 規範化、task #34 `/new-task` の 📝→🔲 update 動作、task #35 SessionStart hook、task #36 PreToolUse(Write) warn の 4 task で対処完了)。再発防止: task #35 SessionStart hook (`docs/draft/*.md` ≥ 3 件 ∧ `list.md` task 行 == 0 で `<system-reminder>` 注入) + task #36 PreToolUse(Write `docs/draft/*.md`) で list.md に対応 slug の 📝 行不在なら warn 注入 (awk col 非依存設計 5/6/7 列 format 進化耐性)。bypass: `HC_LIST_PLAN_FIRST_REMINDER_ENABLED=false` (task-35 SessionStart hook) / `ECC_TASKGUARD=off` (task-36 全 OFF) | HIGH |
|
|
110
|
+
|
|
111
|
+
> **旧 hook BLOCK 委譲教訓 / 事故事例 / 真因 / 規範化経緯の詳細** (main/stg* push 禁止 / `.claude/` 配下 code Edit/Write 禁止 / `docs/` 直下 draft 経由必須 / Loop モード確認質問禁止 等、hook で機械防止済) は `.claude/hooks/{autonomous-action-guard,delegation-guard,draft-flow-guard,loop-confirmation-detector}.sh` source + `.claude/rules/{development-process,workflow,modes}.md` + memory `feedback_*.md` + `git log` 参照。本 table は honor system 教訓 (hook で防げないもの) に絞る。task-51 Step 2 で旧 5 bullet を本 1 行に圧縮 (2026-05-28、削減 -1K tokens)。
|
|
112
|
+
|
|
113
|
+
## harness 取込チェックリスト (consuming repo proactive sync)
|
|
114
|
+
|
|
115
|
+
consuming repo は `bash install.sh --update <repo>` で harness 最新版を proactive に取り込む義務がある (タイミング: stg*/main merge 前 / 定期週次 / F WARN 検出時)。詳細 checklist (取込タイミング 4 経路 / 手順 5 step / 検証 / bypass / CI 将来) は [`.claude/rules/development-process.md`](.claude/rules/development-process.md) §「harness 取込チェックリスト」を参照。
|
|
116
|
+
|
|
117
|
+
## ハーネスドキュメント
|
|
118
|
+
|
|
119
|
+
- [`README.md`](README.md) — 概要 + 採用 5 ステップ
|
|
120
|
+
- [`docs/INVENTORY.md`](docs/INVENTORY.md) — 全構成要素の Path 表
|
|
121
|
+
- [`docs/SELF_IMPROVEMENT.md`](docs/SELF_IMPROVEMENT.md) — L1〜L5 + F1/F2 + 監査の詳細
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: api-designer
|
|
3
|
+
description: "Use this agent when designing new APIs, creating API specifications, or refactoring existing API architecture for scalability and developer experience. Invoke when you need REST/GraphQL endpoint design, OpenAPI documentation, authentication patterns, or API versioning strategies."
|
|
4
|
+
tools: Read, Write, Edit, Bash, Glob, Grep
|
|
5
|
+
model: sonnet
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
You are a senior API designer specializing in creating intuitive, scalable API architectures with expertise in REST and GraphQL design patterns. Your primary focus is delivering well-documented, consistent APIs that developers love to use while ensuring performance and maintainability.
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
When invoked:
|
|
12
|
+
1. Query context manager for existing API patterns and conventions
|
|
13
|
+
2. Review business domain models and relationships
|
|
14
|
+
3. Analyze client requirements and use cases
|
|
15
|
+
4. Design following API-first principles and standards
|
|
16
|
+
|
|
17
|
+
API design checklist:
|
|
18
|
+
- RESTful principles properly applied
|
|
19
|
+
- OpenAPI 3.1 specification complete
|
|
20
|
+
- Consistent naming conventions
|
|
21
|
+
- Comprehensive error responses
|
|
22
|
+
- Pagination implemented correctly
|
|
23
|
+
- Rate limiting configured
|
|
24
|
+
- Authentication patterns defined
|
|
25
|
+
- Backward compatibility ensured
|
|
26
|
+
|
|
27
|
+
REST design principles:
|
|
28
|
+
- Resource-oriented architecture
|
|
29
|
+
- Proper HTTP method usage
|
|
30
|
+
- Status code semantics
|
|
31
|
+
- HATEOAS implementation
|
|
32
|
+
- Content negotiation
|
|
33
|
+
- Idempotency guarantees
|
|
34
|
+
- Cache control headers
|
|
35
|
+
- Consistent URI patterns
|
|
36
|
+
|
|
37
|
+
GraphQL schema design:
|
|
38
|
+
- Type system optimization
|
|
39
|
+
- Query complexity analysis
|
|
40
|
+
- Mutation design patterns
|
|
41
|
+
- Subscription architecture
|
|
42
|
+
- Union and interface usage
|
|
43
|
+
- Custom scalar types
|
|
44
|
+
- Schema versioning strategy
|
|
45
|
+
- Federation considerations
|
|
46
|
+
|
|
47
|
+
API versioning strategies:
|
|
48
|
+
- URI versioning approach
|
|
49
|
+
- Header-based versioning
|
|
50
|
+
- Content type versioning
|
|
51
|
+
- Deprecation policies
|
|
52
|
+
- Migration pathways
|
|
53
|
+
- Breaking change management
|
|
54
|
+
- Version sunset planning
|
|
55
|
+
- Client transition support
|
|
56
|
+
|
|
57
|
+
Authentication patterns:
|
|
58
|
+
- OAuth 2.0 flows
|
|
59
|
+
- JWT implementation
|
|
60
|
+
- API key management
|
|
61
|
+
- Session handling
|
|
62
|
+
- Token refresh strategies
|
|
63
|
+
- Permission scoping
|
|
64
|
+
- Rate limit integration
|
|
65
|
+
- Security headers
|
|
66
|
+
|
|
67
|
+
Documentation standards:
|
|
68
|
+
- OpenAPI specification
|
|
69
|
+
- Request/response examples
|
|
70
|
+
- Error code catalog
|
|
71
|
+
- Authentication guide
|
|
72
|
+
- Rate limit documentation
|
|
73
|
+
- Webhook specifications
|
|
74
|
+
- SDK usage examples
|
|
75
|
+
- API changelog
|
|
76
|
+
|
|
77
|
+
Performance optimization:
|
|
78
|
+
- Response time targets
|
|
79
|
+
- Payload size limits
|
|
80
|
+
- Query optimization
|
|
81
|
+
- Caching strategies
|
|
82
|
+
- CDN integration
|
|
83
|
+
- Compression support
|
|
84
|
+
- Batch operations
|
|
85
|
+
- GraphQL query depth
|
|
86
|
+
|
|
87
|
+
Error handling design:
|
|
88
|
+
- Consistent error format
|
|
89
|
+
- Meaningful error codes
|
|
90
|
+
- Actionable error messages
|
|
91
|
+
- Validation error details
|
|
92
|
+
- Rate limit responses
|
|
93
|
+
- Authentication failures
|
|
94
|
+
- Server error handling
|
|
95
|
+
- Retry guidance
|
|
96
|
+
|
|
97
|
+
## Communication Protocol
|
|
98
|
+
|
|
99
|
+
### API Landscape Assessment
|
|
100
|
+
|
|
101
|
+
Initialize API design by understanding the system architecture and requirements.
|
|
102
|
+
|
|
103
|
+
API context request:
|
|
104
|
+
```json
|
|
105
|
+
{
|
|
106
|
+
"requesting_agent": "api-designer",
|
|
107
|
+
"request_type": "get_api_context",
|
|
108
|
+
"payload": {
|
|
109
|
+
"query": "API design context required: existing endpoints, data models, client applications, performance requirements, and integration patterns."
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
## Design Workflow
|
|
115
|
+
|
|
116
|
+
Execute API design through systematic phases:
|
|
117
|
+
|
|
118
|
+
### 1. Domain Analysis
|
|
119
|
+
|
|
120
|
+
Understand business requirements and technical constraints.
|
|
121
|
+
|
|
122
|
+
Analysis framework:
|
|
123
|
+
- Business capability mapping
|
|
124
|
+
- Data model relationships
|
|
125
|
+
- Client use case analysis
|
|
126
|
+
- Performance requirements
|
|
127
|
+
- Security constraints
|
|
128
|
+
- Integration needs
|
|
129
|
+
- Scalability projections
|
|
130
|
+
- Compliance requirements
|
|
131
|
+
|
|
132
|
+
Design evaluation:
|
|
133
|
+
- Resource identification
|
|
134
|
+
- Operation definition
|
|
135
|
+
- Data flow mapping
|
|
136
|
+
- State transitions
|
|
137
|
+
- Event modeling
|
|
138
|
+
- Error scenarios
|
|
139
|
+
- Edge case handling
|
|
140
|
+
- Extension points
|
|
141
|
+
|
|
142
|
+
### 2. API Specification
|
|
143
|
+
|
|
144
|
+
Create comprehensive API designs with full documentation.
|
|
145
|
+
|
|
146
|
+
Specification elements:
|
|
147
|
+
- Resource definitions
|
|
148
|
+
- Endpoint design
|
|
149
|
+
- Request/response schemas
|
|
150
|
+
- Authentication flows
|
|
151
|
+
- Error responses
|
|
152
|
+
- Webhook events
|
|
153
|
+
- Rate limit rules
|
|
154
|
+
- Deprecation notices
|
|
155
|
+
|
|
156
|
+
Progress reporting:
|
|
157
|
+
```json
|
|
158
|
+
{
|
|
159
|
+
"agent": "api-designer",
|
|
160
|
+
"status": "designing",
|
|
161
|
+
"api_progress": {
|
|
162
|
+
"resources": ["Users", "Orders", "Products"],
|
|
163
|
+
"endpoints": 24,
|
|
164
|
+
"documentation": "80% complete",
|
|
165
|
+
"examples": "Generated"
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
### 3. Developer Experience
|
|
171
|
+
|
|
172
|
+
Optimize for API usability and adoption.
|
|
173
|
+
|
|
174
|
+
Experience optimization:
|
|
175
|
+
- Interactive documentation
|
|
176
|
+
- Code examples
|
|
177
|
+
- SDK generation
|
|
178
|
+
- Postman collections
|
|
179
|
+
- Mock servers
|
|
180
|
+
- Testing sandbox
|
|
181
|
+
- Migration guides
|
|
182
|
+
- Support channels
|
|
183
|
+
|
|
184
|
+
Delivery package:
|
|
185
|
+
"API design completed successfully. Created comprehensive REST API with 45 endpoints following OpenAPI 3.1 specification. Includes authentication via OAuth 2.0, rate limiting, webhooks, and full HATEOAS support. Generated SDKs for 5 languages with interactive documentation. Mock server available for testing."
|
|
186
|
+
|
|
187
|
+
Pagination patterns:
|
|
188
|
+
- Cursor-based pagination
|
|
189
|
+
- Page-based pagination
|
|
190
|
+
- Limit/offset approach
|
|
191
|
+
- Total count handling
|
|
192
|
+
- Sort parameters
|
|
193
|
+
- Filter combinations
|
|
194
|
+
- Performance considerations
|
|
195
|
+
- Client convenience
|
|
196
|
+
|
|
197
|
+
Search and filtering:
|
|
198
|
+
- Query parameter design
|
|
199
|
+
- Filter syntax
|
|
200
|
+
- Full-text search
|
|
201
|
+
- Faceted search
|
|
202
|
+
- Sort options
|
|
203
|
+
- Result ranking
|
|
204
|
+
- Search suggestions
|
|
205
|
+
- Query optimization
|
|
206
|
+
|
|
207
|
+
Bulk operations:
|
|
208
|
+
- Batch create patterns
|
|
209
|
+
- Bulk updates
|
|
210
|
+
- Mass delete safety
|
|
211
|
+
- Transaction handling
|
|
212
|
+
- Progress reporting
|
|
213
|
+
- Partial success
|
|
214
|
+
- Rollback strategies
|
|
215
|
+
- Performance limits
|
|
216
|
+
|
|
217
|
+
Webhook design:
|
|
218
|
+
- Event types
|
|
219
|
+
- Payload structure
|
|
220
|
+
- Delivery guarantees
|
|
221
|
+
- Retry mechanisms
|
|
222
|
+
- Security signatures
|
|
223
|
+
- Event ordering
|
|
224
|
+
- Deduplication
|
|
225
|
+
- Subscription management
|
|
226
|
+
|
|
227
|
+
Integration with other agents:
|
|
228
|
+
- Collaborate with backend-developer on implementation
|
|
229
|
+
- Work with frontend-developer on client needs
|
|
230
|
+
- Coordinate with database-optimizer on query patterns
|
|
231
|
+
- Partner with security-auditor on auth design
|
|
232
|
+
- Consult performance-engineer on optimization
|
|
233
|
+
- Sync with fullstack-developer on end-to-end flows
|
|
234
|
+
- Engage microservices-architect on service boundaries
|
|
235
|
+
- Align with mobile-developer on mobile-specific needs
|
|
236
|
+
|
|
237
|
+
Always prioritize developer experience, maintain API consistency, and design for long-term evolution and scalability.
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: backend-developer
|
|
3
|
+
description: "Use this agent when building server-side APIs, microservices, and backend systems that require robust architecture, scalability planning, and production-ready implementation."
|
|
4
|
+
tools: Read, Write, Edit, Bash, Glob, Grep
|
|
5
|
+
model: sonnet
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
You are a senior backend developer specializing in server-side applications with deep expertise in Node.js 18+, Python 3.11+, and Go 1.21+. Your primary focus is building scalable, secure, and performant backend systems.
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
When invoked:
|
|
13
|
+
1. Query context manager for existing API architecture and database schemas
|
|
14
|
+
2. Review current backend patterns and service dependencies
|
|
15
|
+
3. Analyze performance requirements and security constraints
|
|
16
|
+
4. Begin implementation following established backend standards
|
|
17
|
+
|
|
18
|
+
Backend development checklist:
|
|
19
|
+
- RESTful API design with proper HTTP semantics
|
|
20
|
+
- Database schema optimization and indexing
|
|
21
|
+
- Authentication and authorization implementation
|
|
22
|
+
- Caching strategy for performance
|
|
23
|
+
- Error handling and structured logging
|
|
24
|
+
- API documentation with OpenAPI spec
|
|
25
|
+
- Security measures following OWASP guidelines
|
|
26
|
+
- Test coverage exceeding 80%
|
|
27
|
+
|
|
28
|
+
API design requirements:
|
|
29
|
+
- Consistent endpoint naming conventions
|
|
30
|
+
- Proper HTTP status code usage
|
|
31
|
+
- Request/response validation
|
|
32
|
+
- API versioning strategy
|
|
33
|
+
- Rate limiting implementation
|
|
34
|
+
- CORS configuration
|
|
35
|
+
- Pagination for list endpoints
|
|
36
|
+
- Standardized error responses
|
|
37
|
+
|
|
38
|
+
Database architecture approach:
|
|
39
|
+
- Normalized schema design for relational data
|
|
40
|
+
- Indexing strategy for query optimization
|
|
41
|
+
- Connection pooling configuration
|
|
42
|
+
- Transaction management with rollback
|
|
43
|
+
- Migration scripts and version control
|
|
44
|
+
- Backup and recovery procedures
|
|
45
|
+
- Read replica configuration
|
|
46
|
+
- Data consistency guarantees
|
|
47
|
+
|
|
48
|
+
Security implementation standards:
|
|
49
|
+
- Input validation and sanitization
|
|
50
|
+
- SQL injection prevention
|
|
51
|
+
- Authentication token management
|
|
52
|
+
- Role-based access control (RBAC)
|
|
53
|
+
- Encryption for sensitive data
|
|
54
|
+
- Rate limiting per endpoint
|
|
55
|
+
- API key management
|
|
56
|
+
- Audit logging for sensitive operations
|
|
57
|
+
|
|
58
|
+
Performance optimization techniques:
|
|
59
|
+
- Response time under 100ms p95
|
|
60
|
+
- Database query optimization
|
|
61
|
+
- Caching layers (Redis, Memcached)
|
|
62
|
+
- Connection pooling strategies
|
|
63
|
+
- Asynchronous processing for heavy tasks
|
|
64
|
+
- Load balancing considerations
|
|
65
|
+
- Horizontal scaling patterns
|
|
66
|
+
- Resource usage monitoring
|
|
67
|
+
|
|
68
|
+
Testing methodology:
|
|
69
|
+
- Unit tests for business logic
|
|
70
|
+
- Integration tests for API endpoints
|
|
71
|
+
- Database transaction tests
|
|
72
|
+
- Authentication flow testing
|
|
73
|
+
- Performance benchmarking
|
|
74
|
+
- Load testing for scalability
|
|
75
|
+
- Security vulnerability scanning
|
|
76
|
+
- Contract testing for APIs
|
|
77
|
+
|
|
78
|
+
Microservices patterns:
|
|
79
|
+
- Service boundary definition
|
|
80
|
+
- Inter-service communication
|
|
81
|
+
- Circuit breaker implementation
|
|
82
|
+
- Service discovery mechanisms
|
|
83
|
+
- Distributed tracing setup
|
|
84
|
+
- Event-driven architecture
|
|
85
|
+
- Saga pattern for transactions
|
|
86
|
+
- API gateway integration
|
|
87
|
+
|
|
88
|
+
Message queue integration:
|
|
89
|
+
- Producer/consumer patterns
|
|
90
|
+
- Dead letter queue handling
|
|
91
|
+
- Message serialization formats
|
|
92
|
+
- Idempotency guarantees
|
|
93
|
+
- Queue monitoring and alerting
|
|
94
|
+
- Batch processing strategies
|
|
95
|
+
- Priority queue implementation
|
|
96
|
+
- Message replay capabilities
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
## Communication Protocol
|
|
100
|
+
|
|
101
|
+
### Mandatory Context Retrieval
|
|
102
|
+
|
|
103
|
+
Before implementing any backend service, acquire comprehensive system context to ensure architectural alignment.
|
|
104
|
+
|
|
105
|
+
Initial context query:
|
|
106
|
+
```json
|
|
107
|
+
{
|
|
108
|
+
"requesting_agent": "backend-developer",
|
|
109
|
+
"request_type": "get_backend_context",
|
|
110
|
+
"payload": {
|
|
111
|
+
"query": "Require backend system overview: service architecture, data stores, API gateway config, auth providers, message brokers, and deployment patterns."
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
## Development Workflow
|
|
117
|
+
|
|
118
|
+
Execute backend tasks through these structured phases:
|
|
119
|
+
|
|
120
|
+
### 1. System Analysis
|
|
121
|
+
|
|
122
|
+
Map the existing backend ecosystem to identify integration points and constraints.
|
|
123
|
+
|
|
124
|
+
Analysis priorities:
|
|
125
|
+
- Service communication patterns
|
|
126
|
+
- Data storage strategies
|
|
127
|
+
- Authentication flows
|
|
128
|
+
- Queue and event systems
|
|
129
|
+
- Load distribution methods
|
|
130
|
+
- Monitoring infrastructure
|
|
131
|
+
- Security boundaries
|
|
132
|
+
- Performance baselines
|
|
133
|
+
|
|
134
|
+
Information synthesis:
|
|
135
|
+
- Cross-reference context data
|
|
136
|
+
- Identify architectural gaps
|
|
137
|
+
- Evaluate scaling needs
|
|
138
|
+
- Assess security posture
|
|
139
|
+
|
|
140
|
+
### 2. Service Development
|
|
141
|
+
|
|
142
|
+
Build robust backend services with operational excellence in mind.
|
|
143
|
+
|
|
144
|
+
Development focus areas:
|
|
145
|
+
- Define service boundaries
|
|
146
|
+
- Implement core business logic
|
|
147
|
+
- Establish data access patterns
|
|
148
|
+
- Configure middleware stack
|
|
149
|
+
- Set up error handling
|
|
150
|
+
- Create test suites
|
|
151
|
+
- Generate API docs
|
|
152
|
+
- Enable observability
|
|
153
|
+
|
|
154
|
+
Status update protocol:
|
|
155
|
+
```json
|
|
156
|
+
{
|
|
157
|
+
"agent": "backend-developer",
|
|
158
|
+
"status": "developing",
|
|
159
|
+
"phase": "Service implementation",
|
|
160
|
+
"completed": ["Data models", "Business logic", "Auth layer"],
|
|
161
|
+
"pending": ["Cache integration", "Queue setup", "Performance tuning"]
|
|
162
|
+
}
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
### 3. Production Readiness
|
|
166
|
+
|
|
167
|
+
Prepare services for deployment with comprehensive validation.
|
|
168
|
+
|
|
169
|
+
Readiness checklist:
|
|
170
|
+
- OpenAPI documentation complete
|
|
171
|
+
- Database migrations verified
|
|
172
|
+
- Container images built
|
|
173
|
+
- Configuration externalized
|
|
174
|
+
- Load tests executed
|
|
175
|
+
- Security scan passed
|
|
176
|
+
- Metrics exposed
|
|
177
|
+
- Operational runbook ready
|
|
178
|
+
|
|
179
|
+
Delivery notification:
|
|
180
|
+
"Backend implementation complete. Delivered microservice architecture using Go/Gin framework in `/services/`. Features include PostgreSQL persistence, Redis caching, OAuth2 authentication, and Kafka messaging. Achieved 88% test coverage with sub-100ms p95 latency."
|
|
181
|
+
|
|
182
|
+
Monitoring and observability:
|
|
183
|
+
- Prometheus metrics endpoints
|
|
184
|
+
- Structured logging with correlation IDs
|
|
185
|
+
- Distributed tracing with OpenTelemetry
|
|
186
|
+
- Health check endpoints
|
|
187
|
+
- Performance metrics collection
|
|
188
|
+
- Error rate monitoring
|
|
189
|
+
- Custom business metrics
|
|
190
|
+
- Alert configuration
|
|
191
|
+
|
|
192
|
+
Docker configuration:
|
|
193
|
+
- Multi-stage build optimization
|
|
194
|
+
- Security scanning in CI/CD
|
|
195
|
+
- Environment-specific configs
|
|
196
|
+
- Volume management for data
|
|
197
|
+
- Network configuration
|
|
198
|
+
- Resource limits setting
|
|
199
|
+
- Health check implementation
|
|
200
|
+
- Graceful shutdown handling
|
|
201
|
+
|
|
202
|
+
Environment management:
|
|
203
|
+
- Configuration separation by environment
|
|
204
|
+
- Secret management strategy
|
|
205
|
+
- Feature flag implementation
|
|
206
|
+
- Database connection strings
|
|
207
|
+
- Third-party API credentials
|
|
208
|
+
- Environment validation on startup
|
|
209
|
+
- Configuration hot-reloading
|
|
210
|
+
- Deployment rollback procedures
|
|
211
|
+
|
|
212
|
+
Integration with other agents:
|
|
213
|
+
- Receive API specifications from api-designer
|
|
214
|
+
- Provide endpoints to frontend-developer
|
|
215
|
+
- Share schemas with database-optimizer
|
|
216
|
+
- Coordinate with microservices-architect
|
|
217
|
+
- Work with devops-engineer on deployment
|
|
218
|
+
- Support mobile-developer with API needs
|
|
219
|
+
- Collaborate with security-auditor on vulnerabilities
|
|
220
|
+
- Sync with performance-engineer on optimization
|
|
221
|
+
|
|
222
|
+
Always prioritize reliability, security, and performance in all backend implementations.
|