@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
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
> Layer A: [`workflow.md`](../../rules/workflow.md) §reviewer prompt 共通規約 | 本 file は **明示 Read のみ** (context 自動注入 OFF)
|
|
2
|
+
|
|
3
|
+
# reviewer prompt 共通規約 詳細 (Layer B)
|
|
4
|
+
|
|
5
|
+
reviewer prompt 共通規約の必須項目 5 (table) は Layer A 参照。本 file は起源 / 各項目の詳細手順 / OK-NG 例 / 既存規約との関係 / commands 連携 / bypass 運用詳細。
|
|
6
|
+
|
|
7
|
+
## 起源 (2026-05-28 user 直接指示)
|
|
8
|
+
|
|
9
|
+
PR #28 merge 後の session で user 直接指示「設計後,テスト設計後レビューする際プロジェクトの内容や、他のタスクの内容も鑑みてレビューするようにプロンプトを修正してください」を反映。task-51 iter 2 reviewer 6 並列レビューでも reviewer が single draft inside-out のみ評価し、他 task 重複 / 既存規範矛盾 / 既存実装再利用機会の検出が弱かった経験を踏まえ、reviewer prompt 共通規約として明文化する。
|
|
10
|
+
|
|
11
|
+
## 必須項目 5 (詳細手順、Layer A §「reviewer prompt 共通規約」table 補完)
|
|
12
|
+
|
|
13
|
+
1. **task ledger 確認 (`docs/tasks/list.md`)**:
|
|
14
|
+
- 🔄 進行中 task: 並行で着手中の作業との重複 / 競合可能性
|
|
15
|
+
- 🔲 未着手 task: 本対象が前提崩壊させないか / 順序整合性
|
|
16
|
+
- 📝 計画中 task: master roadmap 経路 B (batch planning) との重複
|
|
17
|
+
- ✅ 完了 task: 本対象が既に解決済の問題を再発明していないか
|
|
18
|
+
|
|
19
|
+
2. **依存先 task.md + draft.md (task-management.md 開発開始時必読義務 準拠)**:
|
|
20
|
+
- 本対象 draft の「依存」section に列挙された task ID 全件
|
|
21
|
+
- draft §「関連 / 派生」section のリンク先
|
|
22
|
+
- 各 task の Task ゴール + 完了条件 + 影響範囲を確認
|
|
23
|
+
|
|
24
|
+
3. **副産物 registry (`docs/tasks/next-actions.md`)**:
|
|
25
|
+
- 未処理 🔴 緊急 / 🟡 推奨 entry を全件 Read
|
|
26
|
+
- 本対象が解決 / 関連 / 影響する entry を特定し、findings で「entry #N を本対象で解決可」のように参照
|
|
27
|
+
|
|
28
|
+
4. **既存規範 (`.claude/rules/*.md` Layer A 全 7 file)**:
|
|
29
|
+
- `development-process.md` (TDD / 委譲ガード / Bash 制御 / 並列化義務 等)
|
|
30
|
+
- `task-management.md` (採用 6 条 / parking-lot / 開発開始時必読義務)
|
|
31
|
+
- `workflow.md` (14/10-stage / W1-W4 / 20 MECE / fan-out registry / 本規約)
|
|
32
|
+
- `modes.md` (Normal/Loop / 9 遵守事項 / 自律実行禁止 11 カテゴリ)
|
|
33
|
+
- `self-improvement.md` (L1-L5 + F1/F2)
|
|
34
|
+
- `why-x5-output.md` (1 行 format)
|
|
35
|
+
- `git-workflow.md` (branch 命名規約)
|
|
36
|
+
- 本対象が上記規範と矛盾していないか / 規範更新が必要か判定
|
|
37
|
+
|
|
38
|
+
5. **プロジェクト構造 / SSoT (`README.md` + `docs/INVENTORY.md`)**:
|
|
39
|
+
- architecture diagram / Layer A/B Strategy 等の最新版を確認
|
|
40
|
+
- 本対象が SSoT を破壊していないか / 拡張すべき INVENTORY entry はあるか
|
|
41
|
+
|
|
42
|
+
6. **既存実装 patterns 探索 (Glob/Grep)**:
|
|
43
|
+
- `.claude/hooks/` 配下: 類似 hook が既存なら本対象との関係を findings に明記
|
|
44
|
+
- `.claude/commands/` 配下: 類似 command 再利用 / 拡張で対応可能なら再発明回避を推奨
|
|
45
|
+
- `.claude/skills/` 配下: 類似 skill 流用 / 拡張可能性
|
|
46
|
+
- 既存 utility (`.claude/scripts/` `.claude/hooks/lib/`) の流用機会
|
|
47
|
+
|
|
48
|
+
## OK 例 (適切な findings 反映)
|
|
49
|
+
|
|
50
|
+
- **「task-51 の Layer A/B 構造と本 draft の規範文書追加方針が整合 (Layer A 要約 + Layer B 詳細の 2 層構造で書く)」** — 既存規範整合性確認
|
|
51
|
+
- **「next-actions.md entry #56 (Layer A/B template 整備) が本 draft で解決される、本 PR merge 時に entry #56 を `→ 解決` status に更新せよ」** — 副産物連動
|
|
52
|
+
- **「既存 `.claude/hooks/task-rule-guard.sh` の Edit/Write block ロジックが本 draft の新 hook と重複、既存 hook 拡張で対応すべき」** — 既存実装再利用機会
|
|
53
|
+
- **「task-21 W3 が UserPromptSubmit 注入数削減を進行中、本 draft の新 hook (`hook-X.sh`) は UserPromptSubmit に注入を追加するため、task-21 W3 の進捗と矛盾」** — 他 task 競合検出
|
|
54
|
+
- **「README.md §2.6 Layer A/B Strategy table と本対象の path 規約が不整合、README 同期更新が必要」** — SSoT 整合性
|
|
55
|
+
|
|
56
|
+
## NG 例 (不適切なレビュー、本規約違反)
|
|
57
|
+
|
|
58
|
+
- **「本 draft 内の §3 採用案 architecture が clean (SOLID 準拠)」** — inside-out only、他 task 影響 / 既存実装再利用 等の観点が欠落
|
|
59
|
+
- **「security 観点: 入力検証 OK」** — single draft レベルの security 観点のみで、`.claude/rules/development-process.md` の cross-repo write 例外 / staging 戦略との整合確認なし
|
|
60
|
+
- **「実装提案: 新 file `.claude/hooks/new-hook.sh` を作成」** — 既存 `.claude/hooks/` 内に類似 hook 不在を Glob で確認せずに「新規作成」推奨
|
|
61
|
+
- **「task ledger 確認: 関連なし」 (実際は list.md を Read していない)** — Read 不在のまま「関連なし」と結論
|
|
62
|
+
|
|
63
|
+
## 既存規約との関係
|
|
64
|
+
|
|
65
|
+
- **behavior-preserving 原則** ([`module-review.md`](../../commands/module-review.md) Phase 3): 本規約と直交、両方適用。本規約は**レビュー範囲の拡張** (project context)、behavior-preserving は**修正提案の制約** (public API / DB schema 変更禁止)。
|
|
66
|
+
- **末尾 `confidence: 0.X`** (F3 confidence-gate): 本規約遵守度も confidence 算出に反映。項目 5 の Read 不在 / 不充分は confidence 0.6-0.7 程度に留まるべき (高すぎる confidence は不正確)。
|
|
67
|
+
- **採用 6 条 4 テスト設計レビュー** ([`task-management.md`](../../rules/task-management.md) 採用 6 条 4): main agent が reviewer 5+ 動的選定して prompt を構築する際、本規約 項目 5 を必ず含める。
|
|
68
|
+
|
|
69
|
+
## commands 連携
|
|
70
|
+
|
|
71
|
+
| command | 規約反映先 |
|
|
72
|
+
|---|---|
|
|
73
|
+
| `/design-review` Phase 3 prompt template | 「対象 draft 全文 + 観点 + findings format + confidence + **項目 5: プロジェクト整合性 + 他 task 影響確認**」 |
|
|
74
|
+
| `/test-design` Phase 3 agent prompt (tdd-guide / test-automator / qa-expert) | 「20 カテゴリ採用推奨 + **項目 5: プロジェクト整合性確認** (他 task のテスト戦略との重複検出 + 既存 test infrastructure 流用機会)」 |
|
|
75
|
+
| `/module-review` Phase 3 | 「3 観点 + 項目 5: モジュール変更が他 task / 既存規範 / SSoT に与える影響」 |
|
|
76
|
+
| `/system-review` Phase 3 | 「system-level 3 観点 + 項目 5 強化 (system 全体の cross-task 影響)」 |
|
|
77
|
+
| 採用 6 条 4 (main ad-hoc dispatch) | main agent が reviewer 5+ subagent dispatch 時、各 prompt 末尾に「**項目 5: プロジェクト整合性確認**: list.md / 依存先 task / next-actions / 既存規範 / README+INVENTORY / 既存実装 Glob を必ず実施」明記 |
|
|
78
|
+
|
|
79
|
+
## bypass の運用詳細
|
|
80
|
+
|
|
81
|
+
`HC_REVIEW_PROJECT_CONTEXT_REQUIRED=false` の**正当な使用ケース** (honor system):
|
|
82
|
+
|
|
83
|
+
- typo 1 行修正の `/module-review`
|
|
84
|
+
- comment-only refactor の review
|
|
85
|
+
- 既に直前の他 review (round-1) で project context 確認済の追加 round (round-2 以降、新規 finding 解消のみ目的)
|
|
86
|
+
- hot fix bypass (緊急障害対応で review skip)
|
|
87
|
+
|
|
88
|
+
`HC_REVIEW_PROJECT_CONTEXT_REQUIRED=false` の **NG ケース** (bypass 禁止):
|
|
89
|
+
|
|
90
|
+
- 新規 feature の `/design-review` 初回 (round-1)
|
|
91
|
+
- `.claude/rules/` 編集を含む change の review
|
|
92
|
+
- 採用 6 条 4 のテスト設計レビュー初回 (round-1)
|
|
93
|
+
- 規範変更 (`docs/draft/` 新規起案) の review
|
|
94
|
+
- 設計 / architecture 大幅変更の review
|
|
95
|
+
|
|
96
|
+
## Loop モード時の動作
|
|
97
|
+
|
|
98
|
+
Loop モード稼働中 (modes.md 遵守事項 2 例外条項) でも、本規約は**戦術判断扱い** (実装中の方式選択と同等で、user 中間確認不要)。reviewer subagent は Loop モードでも自律で項目 5 の全 Read を実施する。
|
|
99
|
+
|
|
100
|
+
`HC_REVIEW_PROJECT_CONTEXT_REQUIRED=false` 適用時のみ、reviewer が項目 5 を skip しても block しない (bypass.log に記録)。
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
> Layer A: [`workflow.md`](../../rules/workflow.md) §Session 永続化と PM Orchestration | 本 file は **明示 Read のみ** (context 自動注入 OFF)
|
|
2
|
+
|
|
3
|
+
# Session 永続化詳細 (Layer B)
|
|
4
|
+
|
|
5
|
+
自前 command 表 / memory key schema 全列挙 / Serena 必須化 / SessionStart 自動 resume の詳細。Layer A は要約のみ。
|
|
6
|
+
|
|
7
|
+
## 自前 command
|
|
8
|
+
|
|
9
|
+
| command | 役割 | 主要 Serena tool |
|
|
10
|
+
|---|---|---|
|
|
11
|
+
| [`/save-state`](../../commands/save-state.md) | session 状態を Serena memory に snapshot 保存 | `write_memory` |
|
|
12
|
+
| [`/resume-state`](../../commands/resume-state.md) | 前 session 状態を Serena memory から復元 | `list_memories` / `read_memory` |
|
|
13
|
+
| [`/pm-start`](../../commands/pm-start.md) | PM Agent orchestration + PDCA cycle 永続化 | 全 memory API |
|
|
14
|
+
|
|
15
|
+
## memory key schema (全列挙)
|
|
16
|
+
|
|
17
|
+
- `session/context` — 完全 snapshot (TaskList / commits / artifact / 次アクション)
|
|
18
|
+
- `session/last` — 1-2 段落要約
|
|
19
|
+
- `session/checkpoint` — 進捗 checkpoint
|
|
20
|
+
- `plan/<feature>/{hypothesis,architecture,rationale}` (PDCA Plan)
|
|
21
|
+
- `execution/<feature>/{do,errors,solutions}` (PDCA Do)
|
|
22
|
+
- `evaluation/<feature>/{check,metrics,lessons}` (PDCA Check)
|
|
23
|
+
- `learning/{patterns,solutions,mistakes}/<name>` (PDCA Act)
|
|
24
|
+
- `project/{context,architecture,conventions}` (project 全体理解)
|
|
25
|
+
|
|
26
|
+
## Serena 必須化の設計補足
|
|
27
|
+
|
|
28
|
+
- 各 command の Phase 1 で `mcp__serena__activate_project` を必須実行し、戻り値 error に `onboarding` / `not performed` を含む場合は onboarding 未済と判定して graceful error で `/onboarding` 案内 + 終了
|
|
29
|
+
- 旧版では `mcp__serena__check_onboarding_performed` を別 step で呼んでいたが、現 Serena MCP には該当 tool が存在しない (2026-05-23 確認、deferred tools list にも無し)
|
|
30
|
+
- `activate_project` の error response で onboarding 未済を検知する形に統合 (`resume-state.md` / `save-state.md` / `pm-start.md` の Phase 1 同期修正済)
|
|
31
|
+
- `.mcp.json` の `serena` entry は採用者側で個別登録 (Claude Code 標準には required marker 機構なし、command-level enforcement で代替)
|
|
32
|
+
|
|
33
|
+
## 関連 artifact (完全 list)
|
|
34
|
+
|
|
35
|
+
- [`.claude/commands/save-state.md`](../../commands/save-state.md)
|
|
36
|
+
- [`.claude/commands/resume-state.md`](../../commands/resume-state.md)
|
|
37
|
+
- [`.claude/commands/pm-start.md`](../../commands/pm-start.md)
|
|
38
|
+
- [`.claude/hooks/mode-session-start.sh`](../../hooks/mode-session-start.sh) (W2 拡張済)
|
|
39
|
+
- [`.claude/tests/custom-pm-commands-smoke.sh`](../../tests/custom-pm-commands-smoke.sh) (W5, 6/6 PASS)
|
|
40
|
+
- 設計起源は採用プロジェクト側 `docs/draft/` を参照 (`.claude/` 単独で portable)
|
|
41
|
+
|
|
42
|
+
## SessionStart 自動 resume の動作詳細
|
|
43
|
+
|
|
44
|
+
- `.serena/memories/session/context.md` 存在検知 → `<system-reminder>` で `/resume-state` 提案
|
|
45
|
+
- user 入力不要、メインが自動で `/resume-state` 実行 (Loop モード時) or user 承認待ち (Normal モード時)
|
|
46
|
+
- 復元対象: TaskList / 直近 commits / 進行中 artifact / 次アクション / context_used_ratio
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
> Layer A: [`workflow.md`](../../rules/workflow.md) §workflow-guard.sh による強制機構 | 本 file は **明示 Read のみ** (context 自動注入 OFF)
|
|
2
|
+
|
|
3
|
+
# workflow-guard 強制機構 詳細 (Layer B)
|
|
4
|
+
|
|
5
|
+
`workflow-guard.sh` の発火タイミング・判定 A/B 概要・bypass は Layer A 参照。本 file は判定ロジックの詳細手順と state JSON schema field 表。
|
|
6
|
+
|
|
7
|
+
## 判定ロジック (構造化 JSON 解析、grep 依存禁止)
|
|
8
|
+
|
|
9
|
+
1. `tool_name == "Bash"` で `command` に `/finish-task <slug>` パターン (`^[a-z0-9][a-z0-9-]{2,48}$`) 検出
|
|
10
|
+
2. `.claude/.workflow-state/<slug>.json` 読み (不在なら旧 task 互換で silent pass)
|
|
11
|
+
3. `workflow_type` から stage 列を解決
|
|
12
|
+
4. **判定 A**: `current_stage` が stage 列の **最終要素** (new=`finish` / modify=`system-review`)
|
|
13
|
+
5. **判定 B**: `pending_findings.module_review` と `pending_findings.system_review` が **両方とも空配列**
|
|
14
|
+
6. A / B いずれか fail なら **exit 2 (BLOCK)** + stderr に「問題」「推奨アクション」「bypass 手順」出力
|
|
15
|
+
|
|
16
|
+
stage 名で判定する設計 (round-2 arch-rev H3 反映、step 番号や順序判定ではない)。
|
|
17
|
+
|
|
18
|
+
## state JSON schema
|
|
19
|
+
|
|
20
|
+
`.claude/.workflow-state/<slug>.json` 構造定義は [`SCHEMA.md`](../../.workflow-state/SCHEMA.md) が SSoT。主要 field:
|
|
21
|
+
|
|
22
|
+
| Field | 型 | 説明 |
|
|
23
|
+
|---|---|---|
|
|
24
|
+
| `slug` | string | 機能識別子。ファイル名と一致 |
|
|
25
|
+
| `workflow_type` | `"new" \| "modify"` | どちらの workflow か |
|
|
26
|
+
| `current_stage` | string | 現在進行中の stage 名 |
|
|
27
|
+
| `completed_stages` | string[] | 完了済 stage の配列 (順序保持) |
|
|
28
|
+
| `pending_findings` | object | `module_review` / `system_review` の未解決 findings 配列 |
|
|
29
|
+
| `skip_log` | object[] | skip された stage の audit |
|
|
30
|
+
| `created_at` / `updated_at` | ISO-8601 UTC | timestamp (秒精度、`Z` suffix) |
|
|
31
|
+
|
|
32
|
+
state JSON 本体 (`<slug>.json`) は `.gitignore` で除外、`SCHEMA.md` / `bypass.log` / `bypass.log.template` のみ git track。
|
|
33
|
+
|
|
34
|
+
## bypass.log 集計の補足
|
|
35
|
+
|
|
36
|
+
`harness-audit.py` の `bypass_log_summary()` が `.claude/.workflow-state/bypass.log` を集計し `/harness-audit` で最近 N 日の bypass を表示する。両系統 (env `ECC_WORKFLOW_GUARD_OFF` / config `HC_WORKFLOW_GUARD_ENABLED`) 併存は env と config から独立に bypass 可能とし、片方が誤って enabled なまま放置される事故を防ぐ設計 (round-2 sec-rev H3 反映)。
|
|
Binary file
|
|
@@ -0,0 +1,421 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""agent-stocktake.py — `.claude/agents/` 配下のエージェント棚卸しレポート生成。
|
|
3
|
+
|
|
4
|
+
claude-code-harness の 144 agents(VoltAgent 由来 10 カテゴリ)について
|
|
5
|
+
- frontmatter (name / description / model / tools)
|
|
6
|
+
- 直近 N 日のサブエージェント起動回数(~/.claude/projects 走査)
|
|
7
|
+
- 機能カテゴリ・粒度(micro / medium / macro)の自動分類
|
|
8
|
+
- オーバーラップ候補(共通キーワード Jaccard)
|
|
9
|
+
- 削除候補フラグ(起動 0 + オーバーラップ + 適合度)
|
|
10
|
+
|
|
11
|
+
を集約して Markdown / JSON で出力する。読み取り専用・標準ライブラリのみ。
|
|
12
|
+
|
|
13
|
+
Usage:
|
|
14
|
+
python3 .claude/scripts/agent-stocktake.py # Markdown stdout
|
|
15
|
+
python3 .claude/scripts/agent-stocktake.py --json # JSON stdout
|
|
16
|
+
python3 .claude/scripts/agent-stocktake.py --window=90 # 直近 N 日(default 90)
|
|
17
|
+
python3 .claude/scripts/agent-stocktake.py --target=44 # 削除候補数の目安
|
|
18
|
+
python3 .claude/scripts/agent-stocktake.py --out=path # ファイル書き出し
|
|
19
|
+
"""
|
|
20
|
+
|
|
21
|
+
from __future__ import annotations
|
|
22
|
+
|
|
23
|
+
import argparse
|
|
24
|
+
import json
|
|
25
|
+
import re
|
|
26
|
+
import sys
|
|
27
|
+
from collections import Counter, defaultdict
|
|
28
|
+
from datetime import datetime, timedelta, timezone
|
|
29
|
+
from pathlib import Path
|
|
30
|
+
|
|
31
|
+
ROOT = Path.cwd()
|
|
32
|
+
AGENTS_DIR = ROOT / ".claude" / "agents"
|
|
33
|
+
HOMUNCULUS_ROOT = Path.home() / ".claude" / "homunculus"
|
|
34
|
+
TRANSCRIPTS_ROOT = Path.home() / ".claude" / "projects"
|
|
35
|
+
|
|
36
|
+
GRANULARITY_BY_MODEL = {
|
|
37
|
+
"haiku": "micro",
|
|
38
|
+
"sonnet": "medium",
|
|
39
|
+
"opus": "macro",
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
FUNCTION_KEYWORDS: dict[str, list[str]] = {
|
|
43
|
+
"design": ["design", "designer", "architect", "wireframe"],
|
|
44
|
+
"implement": ["developer", "specialist", "engineer", "implementation"],
|
|
45
|
+
"test": ["test", "qa", "tester", "automator"],
|
|
46
|
+
"review": ["review", "reviewer", "audit", "auditor"],
|
|
47
|
+
"security": ["security", "penetration", "compliance", "hardening", "vulnerab"],
|
|
48
|
+
"infra": ["infra", "devops", "kubernetes", "terraform", "docker", "cloud", "deployment", "sre", "platform", "network"],
|
|
49
|
+
"data": ["data", "ml", "ai", "machine-learning", "nlp", "llm", "prompt", "reinforcement"],
|
|
50
|
+
"ops": ["incident", "ops", "responder", "monitor", "performance"],
|
|
51
|
+
"orchestration": ["orchestrat", "coordinator", "distributor", "context-manager"],
|
|
52
|
+
"research": ["research", "researcher", "analyst", "trend", "competitive", "market", "scientific"],
|
|
53
|
+
"doc": ["documentation", "documenter", "readme", "writer", "technical-writer"],
|
|
54
|
+
"language": ["python", "typescript", "javascript", "golang", "rust", "java", "kotlin", "swift", "php", "csharp", "dotnet", "powershell", "elixir", "react", "vue", "angular", "nextjs", "node", "rails", "django", "fastapi", "spring", "laravel", "symfony", "flutter", "expo", "cpp", "sql"],
|
|
55
|
+
"business": ["product-manager", "business-analyst", "scrum", "customer", "sales", "legal", "license", "marketer", "wordpress"],
|
|
56
|
+
"domain": ["blockchain", "fintech", "healthcare", "iot", "embedded", "game", "payment", "quant", "risk", "seo", "m365", "azure", "windows"],
|
|
57
|
+
"tooling": ["dx", "build-engineer", "cli-developer", "tooling", "dependency", "git-workflow", "mcp", "modernizer", "refactor", "slack", "module-architect", "ui-architect"],
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
FRONTMATTER_RE = re.compile(r"^---\s*\n(.*?)\n---", re.DOTALL)
|
|
61
|
+
SUBAGENT_RE = re.compile(r'"subagent_type"\s*:\s*"([^"]+)"')
|
|
62
|
+
|
|
63
|
+
LOW_FIT_KEYWORDS = {
|
|
64
|
+
"blockchain-developer", "fintech-engineer", "embedded-systems", "iot-engineer",
|
|
65
|
+
"game-developer", "quant-analyst", "risk-manager",
|
|
66
|
+
"ad-security-reviewer", "powershell-security-hardening", "powershell-5.1-expert",
|
|
67
|
+
"powershell-7-expert", "powershell-module-architect", "powershell-ui-architect",
|
|
68
|
+
"windows-infra-admin", "azure-infra-engineer", "m365-admin",
|
|
69
|
+
"dotnet-framework-4.8-expert", "elixir-expert", "rails-expert", "symfony-specialist",
|
|
70
|
+
"spring-boot-engineer", "java-architect", "csharp-developer", "dotnet-core-expert",
|
|
71
|
+
"kotlin-specialist", "swift-expert", "expo-react-native-expert", "flutter-expert",
|
|
72
|
+
"cpp-pro", "rust-engineer", "angular-architect", "vue-expert", "django-developer",
|
|
73
|
+
"laravel-specialist", "fastapi-developer", "php-pro", "healthcare-admin",
|
|
74
|
+
"scientific-literature-researcher", "reinforcement-learning-engineer",
|
|
75
|
+
"chaos-engineer", "incident-responder", "devops-incident-responder",
|
|
76
|
+
"terragrunt-expert",
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
def parse_frontmatter(text: str) -> dict:
|
|
81
|
+
m = FRONTMATTER_RE.match(text)
|
|
82
|
+
if not m:
|
|
83
|
+
return {}
|
|
84
|
+
out: dict = {}
|
|
85
|
+
for raw in m.group(1).splitlines():
|
|
86
|
+
line = raw.rstrip()
|
|
87
|
+
if ":" not in line:
|
|
88
|
+
continue
|
|
89
|
+
key, _, value = line.partition(":")
|
|
90
|
+
key = key.strip()
|
|
91
|
+
value = value.strip()
|
|
92
|
+
if value.startswith('"') and value.endswith('"'):
|
|
93
|
+
value = value[1:-1]
|
|
94
|
+
out[key] = value
|
|
95
|
+
return out
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
def collect_agents() -> list[dict]:
|
|
99
|
+
rows: list[dict] = []
|
|
100
|
+
if not AGENTS_DIR.exists():
|
|
101
|
+
return rows
|
|
102
|
+
for f in sorted(AGENTS_DIR.rglob("*.md")):
|
|
103
|
+
category = f.parent.name
|
|
104
|
+
name = f.stem
|
|
105
|
+
text = f.read_text(encoding="utf-8", errors="replace")
|
|
106
|
+
fm = parse_frontmatter(text)
|
|
107
|
+
rows.append({
|
|
108
|
+
"name": fm.get("name") or name,
|
|
109
|
+
"file_name": name,
|
|
110
|
+
"category": category,
|
|
111
|
+
"model": fm.get("model", "sonnet"),
|
|
112
|
+
"tools": fm.get("tools", ""),
|
|
113
|
+
"description": fm.get("description", ""),
|
|
114
|
+
"path": str(f.relative_to(ROOT)),
|
|
115
|
+
"desc_len": len(fm.get("description", "")),
|
|
116
|
+
})
|
|
117
|
+
return rows
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
def count_invocations(window_days: int) -> tuple[Counter, dict]:
|
|
121
|
+
counter: Counter = Counter()
|
|
122
|
+
stats = {
|
|
123
|
+
"transcripts_scanned": 0,
|
|
124
|
+
"homunculus_lines_scanned": 0,
|
|
125
|
+
"subagent_total": 0,
|
|
126
|
+
"window_start_iso": "",
|
|
127
|
+
}
|
|
128
|
+
window_start = datetime.now(timezone.utc) - timedelta(days=window_days)
|
|
129
|
+
stats["window_start_iso"] = window_start.isoformat()
|
|
130
|
+
|
|
131
|
+
if TRANSCRIPTS_ROOT.exists():
|
|
132
|
+
for jsonl in TRANSCRIPTS_ROOT.glob("*/*.jsonl"):
|
|
133
|
+
try:
|
|
134
|
+
mtime = datetime.fromtimestamp(jsonl.stat().st_mtime, tz=timezone.utc)
|
|
135
|
+
except OSError:
|
|
136
|
+
continue
|
|
137
|
+
if mtime < window_start:
|
|
138
|
+
continue
|
|
139
|
+
stats["transcripts_scanned"] += 1
|
|
140
|
+
try:
|
|
141
|
+
with jsonl.open("r", encoding="utf-8", errors="replace") as fh:
|
|
142
|
+
for line in fh:
|
|
143
|
+
for match in SUBAGENT_RE.findall(line):
|
|
144
|
+
counter[match] += 1
|
|
145
|
+
stats["subagent_total"] += 1
|
|
146
|
+
except OSError:
|
|
147
|
+
continue
|
|
148
|
+
|
|
149
|
+
if HOMUNCULUS_ROOT.exists():
|
|
150
|
+
for jsonl in HOMUNCULUS_ROOT.glob("projects/*/observations.jsonl"):
|
|
151
|
+
try:
|
|
152
|
+
with jsonl.open("r", encoding="utf-8", errors="replace") as fh:
|
|
153
|
+
for line in fh:
|
|
154
|
+
stats["homunculus_lines_scanned"] += 1
|
|
155
|
+
for match in SUBAGENT_RE.findall(line):
|
|
156
|
+
counter[match] += 1
|
|
157
|
+
stats["subagent_total"] += 1
|
|
158
|
+
except OSError:
|
|
159
|
+
continue
|
|
160
|
+
|
|
161
|
+
return counter, stats
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
def infer_function_category(agent: dict) -> str:
|
|
165
|
+
name_lower = agent["name"].lower()
|
|
166
|
+
desc_lower = agent["description"].lower()
|
|
167
|
+
haystack = f"{name_lower} {desc_lower}"
|
|
168
|
+
scores: Counter = Counter()
|
|
169
|
+
for cat, keywords in FUNCTION_KEYWORDS.items():
|
|
170
|
+
for kw in keywords:
|
|
171
|
+
if kw in haystack:
|
|
172
|
+
scores[cat] += 1
|
|
173
|
+
if not scores:
|
|
174
|
+
return "other"
|
|
175
|
+
return scores.most_common(1)[0][0]
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
def infer_granularity(agent: dict) -> str:
|
|
179
|
+
model = (agent.get("model") or "").lower()
|
|
180
|
+
base = GRANULARITY_BY_MODEL.get(model, "medium")
|
|
181
|
+
if base == "medium" and agent["desc_len"] < 80:
|
|
182
|
+
return "micro"
|
|
183
|
+
if base == "medium" and agent["desc_len"] > 240:
|
|
184
|
+
return "macro"
|
|
185
|
+
return base
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
STOPWORDS = {
|
|
189
|
+
"use", "this", "agent", "when", "you", "need", "to", "the", "and", "for",
|
|
190
|
+
"with", "from", "across", "into", "that", "your", "their", "user", "users",
|
|
191
|
+
"comprehensive", "system", "systems", "code", "based", "case", "cases",
|
|
192
|
+
"expert", "specialist", "design", "implement", "tasks", "task",
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
def keywords_of(agent: dict) -> set[str]:
|
|
197
|
+
text = f"{agent['name']} {agent['description']}".lower()
|
|
198
|
+
tokens = re.findall(r"[a-z][a-z0-9\-]{2,}", text)
|
|
199
|
+
return {t for t in tokens if t not in STOPWORDS}
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
def jaccard(a: set, b: set) -> float:
|
|
203
|
+
if not a or not b:
|
|
204
|
+
return 0.0
|
|
205
|
+
return len(a & b) / len(a | b)
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
def find_overlaps(agents: list[dict], threshold: float = 0.32) -> list[tuple[str, str, float]]:
|
|
209
|
+
keys = [keywords_of(a) for a in agents]
|
|
210
|
+
pairs: list[tuple[str, str, float]] = []
|
|
211
|
+
n = len(agents)
|
|
212
|
+
for i in range(n):
|
|
213
|
+
for j in range(i + 1, n):
|
|
214
|
+
same_cat = agents[i]["category"] == agents[j]["category"]
|
|
215
|
+
n1 = agents[i]["name"].split("-")
|
|
216
|
+
n2 = agents[j]["name"].split("-")
|
|
217
|
+
name_overlap = (n1[0] == n2[0]) or (n1[-1] == n2[-1])
|
|
218
|
+
if not (same_cat or name_overlap):
|
|
219
|
+
continue
|
|
220
|
+
score = jaccard(keys[i], keys[j])
|
|
221
|
+
if score >= threshold:
|
|
222
|
+
pairs.append((agents[i]["name"], agents[j]["name"], round(score, 3)))
|
|
223
|
+
pairs.sort(key=lambda p: -p[2])
|
|
224
|
+
return pairs
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
def mark_deletion_candidates(
|
|
228
|
+
agents: list[dict],
|
|
229
|
+
invocations: Counter,
|
|
230
|
+
overlaps: list[tuple[str, str, float]],
|
|
231
|
+
target: int,
|
|
232
|
+
) -> list[dict]:
|
|
233
|
+
overlap_count: Counter = Counter()
|
|
234
|
+
for a, b, _ in overlaps:
|
|
235
|
+
overlap_count[a] += 1
|
|
236
|
+
overlap_count[b] += 1
|
|
237
|
+
|
|
238
|
+
scored: list[tuple[float, str, list[str]]] = []
|
|
239
|
+
for a in agents:
|
|
240
|
+
reasons: list[str] = []
|
|
241
|
+
score = 0.0
|
|
242
|
+
invk = invocations.get(a["name"], 0) + invocations.get(a["file_name"], 0)
|
|
243
|
+
a["invocations"] = invk
|
|
244
|
+
if invk == 0:
|
|
245
|
+
score += 1.0
|
|
246
|
+
reasons.append("zero-invocations")
|
|
247
|
+
if overlap_count[a["name"]] >= 2:
|
|
248
|
+
score += 1.0
|
|
249
|
+
reasons.append(f"overlap×{overlap_count[a['name']]}")
|
|
250
|
+
elif overlap_count[a["name"]] == 1:
|
|
251
|
+
score += 0.5
|
|
252
|
+
reasons.append("overlap×1")
|
|
253
|
+
if a["file_name"] in LOW_FIT_KEYWORDS:
|
|
254
|
+
score += 1.0
|
|
255
|
+
reasons.append("low-fit-domain")
|
|
256
|
+
if a["file_name"] in {"code-reviewer", "debugger"}:
|
|
257
|
+
score += 0.3
|
|
258
|
+
reasons.append("near-builtin")
|
|
259
|
+
scored.append((score, a["name"], reasons))
|
|
260
|
+
|
|
261
|
+
scored.sort(key=lambda x: (-x[0], x[1]))
|
|
262
|
+
delete_set: dict[str, list[str]] = {}
|
|
263
|
+
for score, name, reasons in scored:
|
|
264
|
+
if len(delete_set) >= target:
|
|
265
|
+
break
|
|
266
|
+
if score >= 1.0:
|
|
267
|
+
delete_set[name] = reasons
|
|
268
|
+
|
|
269
|
+
for a in agents:
|
|
270
|
+
a["delete_flag"] = a["name"] in delete_set
|
|
271
|
+
a["delete_reasons"] = delete_set.get(a["name"], [])
|
|
272
|
+
a["overlap_count"] = overlap_count[a["name"]]
|
|
273
|
+
|
|
274
|
+
return agents
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
def render_markdown(
|
|
278
|
+
agents: list[dict],
|
|
279
|
+
invocations: Counter,
|
|
280
|
+
overlaps: list[tuple[str, str, float]],
|
|
281
|
+
stats: dict,
|
|
282
|
+
target: int,
|
|
283
|
+
) -> str:
|
|
284
|
+
lines: list[str] = []
|
|
285
|
+
|
|
286
|
+
delete_candidates = [a for a in agents if a["delete_flag"]]
|
|
287
|
+
zero_invk = [a for a in agents if a["invocations"] == 0]
|
|
288
|
+
by_category: dict[str, list[dict]] = defaultdict(list)
|
|
289
|
+
for a in agents:
|
|
290
|
+
by_category[a["category"]].append(a)
|
|
291
|
+
|
|
292
|
+
lines.append("# Agent Stocktake — 2026-05-04")
|
|
293
|
+
lines.append("")
|
|
294
|
+
lines.append("> Auto-generated by `.claude/scripts/agent-stocktake.py`. 144 agents (VoltAgent/awesome-claude-code-subagents 由来) を対象に、")
|
|
295
|
+
lines.append("> 起動実績・粒度・オーバーラップ・適合度を集計し、144→100 を目標に削除候補 44 件を提案する。")
|
|
296
|
+
lines.append("")
|
|
297
|
+
lines.append("## 1. サマリ")
|
|
298
|
+
lines.append("")
|
|
299
|
+
lines.append(f"- **対象 agent 総数**: {len(agents)}")
|
|
300
|
+
lines.append(f"- **起動 0 件**: {len(zero_invk)} ({len(zero_invk)*100//max(len(agents),1)}%)")
|
|
301
|
+
lines.append(f"- **オーバーラップ疑いペア**: {len(overlaps)}")
|
|
302
|
+
lines.append(f"- **削除候補(target {target})**: {len(delete_candidates)}")
|
|
303
|
+
lines.append("")
|
|
304
|
+
lines.append("### 集計データソース")
|
|
305
|
+
lines.append("")
|
|
306
|
+
lines.append(f"- transcripts (`~/.claude/projects/**/*.jsonl`) 走査: {stats['transcripts_scanned']} 件")
|
|
307
|
+
lines.append(f"- homunculus observations 走査: {stats['homunculus_lines_scanned']} 行")
|
|
308
|
+
lines.append(f"- 集計ウィンドウ開始: {stats['window_start_iso']}")
|
|
309
|
+
lines.append(f"- 検出サブエージェント呼び出し総数: {stats['subagent_total']}")
|
|
310
|
+
lines.append("")
|
|
311
|
+
if stats["subagent_total"] == 0:
|
|
312
|
+
lines.append("> **重要発見**: 直近ウィンドウ内で `Task(subagent_type=<name>)` 形式で起動された")
|
|
313
|
+
lines.append("> 144 agents の **記録は 0 件**。built-in `general-purpose` / `Explore` / `Plan` のみが使われている。")
|
|
314
|
+
lines.append("> → VoltAgent 由来 agents は事実上 dormant ライブラリ。30% 削減ではなく **大幅削減 + 用途明示** が現実的。")
|
|
315
|
+
lines.append("")
|
|
316
|
+
|
|
317
|
+
lines.append("## 2. カテゴリ別使用率")
|
|
318
|
+
lines.append("")
|
|
319
|
+
lines.append("| Category | 件数 | 起動 0 件 | 削除候補 | 主な機能カテゴリ |")
|
|
320
|
+
lines.append("|---|---:|---:|---:|---|")
|
|
321
|
+
for cat in sorted(by_category):
|
|
322
|
+
items = by_category[cat]
|
|
323
|
+
zero = sum(1 for a in items if a["invocations"] == 0)
|
|
324
|
+
delc = sum(1 for a in items if a["delete_flag"])
|
|
325
|
+
fcat = Counter(a.get("function_category", "other") for a in items).most_common(3)
|
|
326
|
+
fcat_str = ", ".join(f"{k}×{v}" for k, v in fcat)
|
|
327
|
+
lines.append(f"| `{cat}` | {len(items)} | {zero} | {delc} | {fcat_str} |")
|
|
328
|
+
lines.append("")
|
|
329
|
+
|
|
330
|
+
lines.append("## 3. 集計表(144 agents)")
|
|
331
|
+
lines.append("")
|
|
332
|
+
lines.append("| # | Category | Agent | Invk | Function | Granularity | Overlap | Delete |")
|
|
333
|
+
lines.append("|---:|---|---|---:|---|---|---:|:---:|")
|
|
334
|
+
for i, a in enumerate(sorted(agents, key=lambda x: (x["category"], x["name"])), 1):
|
|
335
|
+
flag = "X" if a["delete_flag"] else ""
|
|
336
|
+
lines.append(
|
|
337
|
+
f"| {i} | `{a['category']}` | `{a['name']}` | {a['invocations']} | "
|
|
338
|
+
f"{a.get('function_category','other')} | {a.get('granularity','medium')} | "
|
|
339
|
+
f"{a['overlap_count']} | {flag} |"
|
|
340
|
+
)
|
|
341
|
+
lines.append("")
|
|
342
|
+
|
|
343
|
+
lines.append("## 4. オーバーラップ疑いペア(Jaccard >= 0.32)")
|
|
344
|
+
lines.append("")
|
|
345
|
+
if not overlaps:
|
|
346
|
+
lines.append("(該当なし)")
|
|
347
|
+
else:
|
|
348
|
+
lines.append("| Agent A | Agent B | Jaccard |")
|
|
349
|
+
lines.append("|---|---|---:|")
|
|
350
|
+
for a, b, score in overlaps[:60]:
|
|
351
|
+
lines.append(f"| `{a}` | `{b}` | {score} |")
|
|
352
|
+
if len(overlaps) > 60:
|
|
353
|
+
lines.append("")
|
|
354
|
+
lines.append(f"... 他 {len(overlaps) - 60} 件は `--json` で取得")
|
|
355
|
+
lines.append("")
|
|
356
|
+
|
|
357
|
+
lines.append(f"## 5. 削除候補リスト(target 144→{144-target}、{target} 件)")
|
|
358
|
+
lines.append("")
|
|
359
|
+
lines.append("| # | Agent | Category | Invk | Reasons |")
|
|
360
|
+
lines.append("|---:|---|---|---:|---|")
|
|
361
|
+
for i, a in enumerate(sorted(delete_candidates, key=lambda x: (x["category"], x["name"])), 1):
|
|
362
|
+
reasons = " / ".join(a["delete_reasons"]) or "—"
|
|
363
|
+
lines.append(f"| {i} | `{a['name']}` | `{a['category']}` | {a['invocations']} | {reasons} |")
|
|
364
|
+
lines.append("")
|
|
365
|
+
|
|
366
|
+
lines.append("## 6. 推奨アクション")
|
|
367
|
+
lines.append("")
|
|
368
|
+
lines.append("1. **未使用 Language specialists の整理**: 当プロジェクトの主要技術に近い 5〜7 件のみ残し、それ以外は archive 候補。")
|
|
369
|
+
lines.append("2. **未使用領域の除外**: プロジェクトで使わないスタック(例: `powershell-*` `windows-*` `dotnet-*` `csharp-*` 等)は一括 archive 候補。")
|
|
370
|
+
lines.append("3. **オーバーラップ統合**: `code-reviewer` × `architect-reviewer` × `qa-expert`、`security-auditor` × `penetration-tester` × `compliance-auditor` などはルーター 1 本に集約。")
|
|
371
|
+
lines.append("4. **dormant 状態の根因対処**: subagent_type=`general-purpose` への流入を named agents に振り分ける Skill or Hook(`agent-router`)を別タスクで設計。")
|
|
372
|
+
lines.append("5. **承認後の実作業**: `git mv .claude/agents/<cat>/<agent>.md docs/archive/agents/<cat>/<agent>.md` で履歴を残しつつ無効化。")
|
|
373
|
+
lines.append("")
|
|
374
|
+
|
|
375
|
+
return "\n".join(lines) + "\n"
|
|
376
|
+
|
|
377
|
+
|
|
378
|
+
def main(argv: list[str]) -> int:
|
|
379
|
+
parser = argparse.ArgumentParser(description="Agent stocktake report")
|
|
380
|
+
parser.add_argument("--json", action="store_true", help="emit JSON instead of Markdown")
|
|
381
|
+
parser.add_argument("--window", type=int, default=90, help="invocation window in days")
|
|
382
|
+
parser.add_argument("--target", type=int, default=44, help="delete candidate target count")
|
|
383
|
+
parser.add_argument("--out", type=str, default="", help="write to file (default stdout)")
|
|
384
|
+
args = parser.parse_args(argv)
|
|
385
|
+
|
|
386
|
+
if not AGENTS_DIR.exists():
|
|
387
|
+
print(f"ERROR: agents dir not found: {AGENTS_DIR}", file=sys.stderr)
|
|
388
|
+
return 2
|
|
389
|
+
|
|
390
|
+
agents = collect_agents()
|
|
391
|
+
if not agents:
|
|
392
|
+
print("ERROR: no agents found", file=sys.stderr)
|
|
393
|
+
return 2
|
|
394
|
+
|
|
395
|
+
invocations, stats = count_invocations(args.window)
|
|
396
|
+
for a in agents:
|
|
397
|
+
a["function_category"] = infer_function_category(a)
|
|
398
|
+
a["granularity"] = infer_granularity(a)
|
|
399
|
+
overlaps = find_overlaps(agents)
|
|
400
|
+
agents = mark_deletion_candidates(agents, invocations, overlaps, args.target)
|
|
401
|
+
|
|
402
|
+
if args.json:
|
|
403
|
+
payload = {
|
|
404
|
+
"stats": stats,
|
|
405
|
+
"agents": agents,
|
|
406
|
+
"overlaps": [{"a": a, "b": b, "jaccard": s} for a, b, s in overlaps],
|
|
407
|
+
"delete_candidates": [a["name"] for a in agents if a["delete_flag"]],
|
|
408
|
+
}
|
|
409
|
+
out = json.dumps(payload, indent=2, ensure_ascii=False)
|
|
410
|
+
else:
|
|
411
|
+
out = render_markdown(agents, invocations, overlaps, stats, args.target)
|
|
412
|
+
|
|
413
|
+
if args.out:
|
|
414
|
+
Path(args.out).write_text(out, encoding="utf-8")
|
|
415
|
+
else:
|
|
416
|
+
sys.stdout.write(out)
|
|
417
|
+
return 0
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
if __name__ == "__main__":
|
|
421
|
+
sys.exit(main(sys.argv[1:]))
|