@event4u/agent-config 1.9.1
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/.agent-src/README.md +64 -0
- package/.agent-src/commands/agent-handoff.md +64 -0
- package/.agent-src/commands/agent-status.md +83 -0
- package/.agent-src/commands/agents-audit.md +243 -0
- package/.agent-src/commands/agents-cleanup.md +169 -0
- package/.agent-src/commands/agents-prepare.md +137 -0
- package/.agent-src/commands/analyze-reference-repo.md +191 -0
- package/.agent-src/commands/bug-fix.md +181 -0
- package/.agent-src/commands/bug-investigate.md +175 -0
- package/.agent-src/commands/commit.md +121 -0
- package/.agent-src/commands/compress.md +177 -0
- package/.agent-src/commands/config-agent-settings.md +126 -0
- package/.agent-src/commands/context-create.md +167 -0
- package/.agent-src/commands/context-refactor.md +170 -0
- package/.agent-src/commands/copilot-agents-init.md +150 -0
- package/.agent-src/commands/copilot-agents-optimize.md +251 -0
- package/.agent-src/commands/create-pr-description.md +112 -0
- package/.agent-src/commands/create-pr.md +76 -0
- package/.agent-src/commands/do-and-judge.md +114 -0
- package/.agent-src/commands/do-in-steps.md +84 -0
- package/.agent-src/commands/e2e-heal.md +98 -0
- package/.agent-src/commands/e2e-plan.md +85 -0
- package/.agent-src/commands/estimate-ticket.md +80 -0
- package/.agent-src/commands/feature-dev.md +111 -0
- package/.agent-src/commands/feature-explore.md +180 -0
- package/.agent-src/commands/feature-plan.md +288 -0
- package/.agent-src/commands/feature-refactor.md +181 -0
- package/.agent-src/commands/feature-roadmap.md +184 -0
- package/.agent-src/commands/fix-ci.md +48 -0
- package/.agent-src/commands/fix-portability.md +97 -0
- package/.agent-src/commands/fix-pr-bot-comments.md +146 -0
- package/.agent-src/commands/fix-pr-comments.md +58 -0
- package/.agent-src/commands/fix-pr-developer-comments.md +152 -0
- package/.agent-src/commands/fix-references.md +94 -0
- package/.agent-src/commands/fix-seeder.md +146 -0
- package/.agent-src/commands/implement-ticket.md +133 -0
- package/.agent-src/commands/jira-ticket.md +71 -0
- package/.agent-src/commands/judge.md +86 -0
- package/.agent-src/commands/memory-add.md +130 -0
- package/.agent-src/commands/memory-full.md +97 -0
- package/.agent-src/commands/memory-promote.md +144 -0
- package/.agent-src/commands/mode.md +121 -0
- package/.agent-src/commands/module-create.md +132 -0
- package/.agent-src/commands/module-explore.md +157 -0
- package/.agent-src/commands/optimize-agents.md +139 -0
- package/.agent-src/commands/optimize-augmentignore.md +262 -0
- package/.agent-src/commands/optimize-rtk-filters.md +120 -0
- package/.agent-src/commands/optimize-skills.md +121 -0
- package/.agent-src/commands/override-create.md +97 -0
- package/.agent-src/commands/override-manage.md +96 -0
- package/.agent-src/commands/package-reset.md +154 -0
- package/.agent-src/commands/package-test.md +154 -0
- package/.agent-src/commands/prepare-for-review.md +91 -0
- package/.agent-src/commands/project-analyze.md +300 -0
- package/.agent-src/commands/project-health.md +95 -0
- package/.agent-src/commands/propose-memory.md +108 -0
- package/.agent-src/commands/quality-fix.md +106 -0
- package/.agent-src/commands/refine-ticket.md +81 -0
- package/.agent-src/commands/review-changes.md +130 -0
- package/.agent-src/commands/review-routing.md +111 -0
- package/.agent-src/commands/roadmap-create.md +110 -0
- package/.agent-src/commands/roadmap-execute.md +68 -0
- package/.agent-src/commands/rule-compliance-audit.md +139 -0
- package/.agent-src/commands/tests-create.md +73 -0
- package/.agent-src/commands/tests-execute.md +58 -0
- package/.agent-src/commands/threat-model.md +115 -0
- package/.agent-src/commands/update-form-request-messages.md +189 -0
- package/.agent-src/commands/upstream-contribute.md +171 -0
- package/.agent-src/contexts/augment-infrastructure.md +181 -0
- package/.agent-src/contexts/documentation-hierarchy.md +142 -0
- package/.agent-src/contexts/model-recommendations.md +142 -0
- package/.agent-src/contexts/override-system.md +187 -0
- package/.agent-src/contexts/skills-and-commands.md +154 -0
- package/.agent-src/contexts/subagent-configuration.md +62 -0
- package/.agent-src/guidelines/agent-infra/agent-interaction-and-decision-quality.md +110 -0
- package/.agent-src/guidelines/agent-infra/break-glass-usage.md +113 -0
- package/.agent-src/guidelines/agent-infra/developer-judgment.md +82 -0
- package/.agent-src/guidelines/agent-infra/engineering-memory-data-format.md +117 -0
- package/.agent-src/guidelines/agent-infra/layered-settings.md +158 -0
- package/.agent-src/guidelines/agent-infra/memory-access.md +121 -0
- package/.agent-src/guidelines/agent-infra/naming.md +69 -0
- package/.agent-src/guidelines/agent-infra/output-patterns.md +117 -0
- package/.agent-src/guidelines/agent-infra/review-routing-data-format.md +144 -0
- package/.agent-src/guidelines/agent-infra/role-contracts.md +211 -0
- package/.agent-src/guidelines/agent-infra/role-mode-router.md +89 -0
- package/.agent-src/guidelines/agent-infra/runtime-layer.md +89 -0
- package/.agent-src/guidelines/agent-infra/self-improvement-pipeline.md +135 -0
- package/.agent-src/guidelines/agent-infra/size-and-scope.md +189 -0
- package/.agent-src/guidelines/agent-infra/tool-integration.md +73 -0
- package/.agent-src/guidelines/docs/readme-size-and-splitting.md +153 -0
- package/.agent-src/guidelines/e2e/playwright.md +363 -0
- package/.agent-src/guidelines/php/api-design.md +115 -0
- package/.agent-src/guidelines/php/artisan-commands.md +81 -0
- package/.agent-src/guidelines/php/blade-ui.md +78 -0
- package/.agent-src/guidelines/php/controllers.md +90 -0
- package/.agent-src/guidelines/php/database.md +111 -0
- package/.agent-src/guidelines/php/eloquent.md +208 -0
- package/.agent-src/guidelines/php/flux.md +80 -0
- package/.agent-src/guidelines/php/general.md +191 -0
- package/.agent-src/guidelines/php/git.md +96 -0
- package/.agent-src/guidelines/php/jobs.md +111 -0
- package/.agent-src/guidelines/php/livewire.md +71 -0
- package/.agent-src/guidelines/php/logging.md +79 -0
- package/.agent-src/guidelines/php/naming.md +89 -0
- package/.agent-src/guidelines/php/patterns/dependency-injection.md +57 -0
- package/.agent-src/guidelines/php/patterns/dtos.md +199 -0
- package/.agent-src/guidelines/php/patterns/events.md +67 -0
- package/.agent-src/guidelines/php/patterns/factory.md +53 -0
- package/.agent-src/guidelines/php/patterns/pipelines.md +66 -0
- package/.agent-src/guidelines/php/patterns/policies.md +66 -0
- package/.agent-src/guidelines/php/patterns/repositories.md +122 -0
- package/.agent-src/guidelines/php/patterns/service-layer.md +64 -0
- package/.agent-src/guidelines/php/patterns/strategy.md +69 -0
- package/.agent-src/guidelines/php/patterns.md +28 -0
- package/.agent-src/guidelines/php/performance.md +92 -0
- package/.agent-src/guidelines/php/resources.md +100 -0
- package/.agent-src/guidelines/php/security.md +110 -0
- package/.agent-src/guidelines/php/sql.md +97 -0
- package/.agent-src/guidelines/php/validations.md +119 -0
- package/.agent-src/guidelines/php/websocket.md +100 -0
- package/.agent-src/personas/README.md +104 -0
- package/.agent-src/personas/ai-agent.md +77 -0
- package/.agent-src/personas/critical-challenger.md +73 -0
- package/.agent-src/personas/developer.md +73 -0
- package/.agent-src/personas/product-owner.md +78 -0
- package/.agent-src/personas/qa.md +67 -0
- package/.agent-src/personas/senior-engineer.md +77 -0
- package/.agent-src/personas/stakeholder.md +78 -0
- package/.agent-src/rules/agent-docs.md +61 -0
- package/.agent-src/rules/analysis-skill-routing.md +48 -0
- package/.agent-src/rules/architecture.md +62 -0
- package/.agent-src/rules/artifact-drafting-protocol.md +73 -0
- package/.agent-src/rules/ask-when-uncertain.md +52 -0
- package/.agent-src/rules/augment-portability.md +38 -0
- package/.agent-src/rules/augment-source-of-truth.md +128 -0
- package/.agent-src/rules/capture-learnings.md +89 -0
- package/.agent-src/rules/cli-output-handling.md +94 -0
- package/.agent-src/rules/commit-conventions.md +64 -0
- package/.agent-src/rules/context-hygiene.md +90 -0
- package/.agent-src/rules/docker-commands.md +55 -0
- package/.agent-src/rules/docs-sync.md +79 -0
- package/.agent-src/rules/downstream-changes.md +70 -0
- package/.agent-src/rules/e2e-testing.md +53 -0
- package/.agent-src/rules/guidelines.md +90 -0
- package/.agent-src/rules/improve-before-implement.md +94 -0
- package/.agent-src/rules/language-and-tone.md +104 -0
- package/.agent-src/rules/laravel-translations.md +48 -0
- package/.agent-src/rules/markdown-safe-codeblocks.md +18 -0
- package/.agent-src/rules/minimal-safe-diff.md +87 -0
- package/.agent-src/rules/missing-tool-handling.md +62 -0
- package/.agent-src/rules/model-recommendation.md +70 -0
- package/.agent-src/rules/package-ci-checks.md +80 -0
- package/.agent-src/rules/php-coding.md +63 -0
- package/.agent-src/rules/preservation-guard.md +29 -0
- package/.agent-src/rules/review-routing-awareness.md +125 -0
- package/.agent-src/rules/reviewer-awareness.md +92 -0
- package/.agent-src/rules/roadmap-progress-sync.md +56 -0
- package/.agent-src/rules/role-mode-adherence.md +54 -0
- package/.agent-src/rules/rule-type-governance.md +46 -0
- package/.agent-src/rules/runtime-safety.md +42 -0
- package/.agent-src/rules/scope-control.md +40 -0
- package/.agent-src/rules/security-sensitive-stop.md +77 -0
- package/.agent-src/rules/size-enforcement.md +29 -0
- package/.agent-src/rules/skill-improvement-trigger.md +58 -0
- package/.agent-src/rules/skill-quality.md +110 -0
- package/.agent-src/rules/slash-commands.md +30 -0
- package/.agent-src/rules/think-before-action.md +91 -0
- package/.agent-src/rules/token-efficiency.md +99 -0
- package/.agent-src/rules/tool-safety.md +36 -0
- package/.agent-src/rules/upstream-proposal.md +76 -0
- package/.agent-src/rules/user-interaction.md +79 -0
- package/.agent-src/rules/verify-before-complete.md +120 -0
- package/.agent-src/scripts/scan-seeder-violations.php +145 -0
- package/.agent-src/scripts/update_roadmap_progress.py +244 -0
- package/.agent-src/skills/adversarial-review/SKILL.md +149 -0
- package/.agent-src/skills/agent-docs-writing/SKILL.md +234 -0
- package/.agent-src/skills/analysis-autonomous-mode/SKILL.md +197 -0
- package/.agent-src/skills/analysis-skill-router/SKILL.md +134 -0
- package/.agent-src/skills/api-design/SKILL.md +104 -0
- package/.agent-src/skills/api-endpoint/SKILL.md +185 -0
- package/.agent-src/skills/api-testing/SKILL.md +206 -0
- package/.agent-src/skills/artisan-commands/SKILL.md +78 -0
- package/.agent-src/skills/authz-review/SKILL.md +171 -0
- package/.agent-src/skills/aws-infrastructure/SKILL.md +152 -0
- package/.agent-src/skills/blade-ui/SKILL.md +75 -0
- package/.agent-src/skills/blast-radius-analyzer/SKILL.md +185 -0
- package/.agent-src/skills/bug-analyzer/SKILL.md +256 -0
- package/.agent-src/skills/check-refs/SKILL.md +72 -0
- package/.agent-src/skills/code-refactoring/SKILL.md +200 -0
- package/.agent-src/skills/code-review/SKILL.md +214 -0
- package/.agent-src/skills/command-routing/SKILL.md +96 -0
- package/.agent-src/skills/command-writing/SKILL.md +143 -0
- package/.agent-src/skills/composer-packages/SKILL.md +172 -0
- package/.agent-src/skills/context-authoring/SKILL.md +157 -0
- package/.agent-src/skills/context-document/SKILL.md +153 -0
- package/.agent-src/skills/conventional-commits-writing/SKILL.md +70 -0
- package/.agent-src/skills/copilot-agents-optimization/SKILL.md +220 -0
- package/.agent-src/skills/copilot-config/SKILL.md +203 -0
- package/.agent-src/skills/dashboard-design/SKILL.md +116 -0
- package/.agent-src/skills/data-flow-mapper/SKILL.md +160 -0
- package/.agent-src/skills/database/SKILL.md +91 -0
- package/.agent-src/skills/dependency-upgrade/SKILL.md +204 -0
- package/.agent-src/skills/description-assist/SKILL.md +169 -0
- package/.agent-src/skills/design-review/SKILL.md +228 -0
- package/.agent-src/skills/devcontainer/SKILL.md +121 -0
- package/.agent-src/skills/developer-like-execution/SKILL.md +276 -0
- package/.agent-src/skills/docker/SKILL.md +245 -0
- package/.agent-src/skills/dto-creator/SKILL.md +117 -0
- package/.agent-src/skills/eloquent/SKILL.md +92 -0
- package/.agent-src/skills/eloquent/evals/last-run.json +99 -0
- package/.agent-src/skills/eloquent/evals/triggers.json +16 -0
- package/.agent-src/skills/estimate-ticket/SKILL.md +186 -0
- package/.agent-src/skills/estimate-ticket/evals/output-schema.yml +20 -0
- package/.agent-src/skills/estimate-ticket/evals/triggers.json +18 -0
- package/.agent-src/skills/fe-design/SKILL.md +223 -0
- package/.agent-src/skills/feature-planning/SKILL.md +226 -0
- package/.agent-src/skills/file-editor/SKILL.md +129 -0
- package/.agent-src/skills/finishing-a-development-branch/SKILL.md +200 -0
- package/.agent-src/skills/flux/SKILL.md +64 -0
- package/.agent-src/skills/git-workflow/SKILL.md +102 -0
- package/.agent-src/skills/github-ci/SKILL.md +122 -0
- package/.agent-src/skills/grafana/SKILL.md +168 -0
- package/.agent-src/skills/guideline-writing/SKILL.md +147 -0
- package/.agent-src/skills/jira-integration/SKILL.md +182 -0
- package/.agent-src/skills/jobs-events/SKILL.md +87 -0
- package/.agent-src/skills/judge-bug-hunter/SKILL.md +157 -0
- package/.agent-src/skills/judge-code-quality/SKILL.md +158 -0
- package/.agent-src/skills/judge-security-auditor/SKILL.md +167 -0
- package/.agent-src/skills/judge-test-coverage/SKILL.md +154 -0
- package/.agent-src/skills/laravel/SKILL.md +195 -0
- package/.agent-src/skills/laravel-horizon/SKILL.md +169 -0
- package/.agent-src/skills/laravel-mail/SKILL.md +193 -0
- package/.agent-src/skills/laravel-middleware/SKILL.md +185 -0
- package/.agent-src/skills/laravel-notifications/SKILL.md +168 -0
- package/.agent-src/skills/laravel-pennant/SKILL.md +188 -0
- package/.agent-src/skills/laravel-pulse/SKILL.md +160 -0
- package/.agent-src/skills/laravel-reverb/SKILL.md +205 -0
- package/.agent-src/skills/laravel-scheduling/SKILL.md +167 -0
- package/.agent-src/skills/laravel-validation/SKILL.md +71 -0
- package/.agent-src/skills/learning-to-rule-or-skill/SKILL.md +249 -0
- package/.agent-src/skills/lint-skills/SKILL.md +72 -0
- package/.agent-src/skills/livewire/SKILL.md +79 -0
- package/.agent-src/skills/logging-monitoring/SKILL.md +100 -0
- package/.agent-src/skills/mcp/SKILL.md +193 -0
- package/.agent-src/skills/merge-conflicts/SKILL.md +158 -0
- package/.agent-src/skills/migration-creator/SKILL.md +160 -0
- package/.agent-src/skills/module-management/SKILL.md +154 -0
- package/.agent-src/skills/multi-tenancy/SKILL.md +129 -0
- package/.agent-src/skills/openapi/SKILL.md +154 -0
- package/.agent-src/skills/override-management/SKILL.md +186 -0
- package/.agent-src/skills/performance/SKILL.md +69 -0
- package/.agent-src/skills/performance-analysis/SKILL.md +118 -0
- package/.agent-src/skills/pest-testing/SKILL.md +321 -0
- package/.agent-src/skills/php-coder/SKILL.md +78 -0
- package/.agent-src/skills/php-coder/evals/triggers.json +16 -0
- package/.agent-src/skills/php-debugging/SKILL.md +184 -0
- package/.agent-src/skills/php-service/SKILL.md +96 -0
- package/.agent-src/skills/playwright-testing/SKILL.md +244 -0
- package/.agent-src/skills/project-analysis-core/SKILL.md +138 -0
- package/.agent-src/skills/project-analysis-hypothesis-driven/SKILL.md +130 -0
- package/.agent-src/skills/project-analysis-laravel/SKILL.md +119 -0
- package/.agent-src/skills/project-analysis-nextjs/SKILL.md +123 -0
- package/.agent-src/skills/project-analysis-node-express/SKILL.md +111 -0
- package/.agent-src/skills/project-analysis-react/SKILL.md +119 -0
- package/.agent-src/skills/project-analysis-symfony/SKILL.md +111 -0
- package/.agent-src/skills/project-analysis-zend-laminas/SKILL.md +108 -0
- package/.agent-src/skills/project-analyzer/SKILL.md +341 -0
- package/.agent-src/skills/project-docs/SKILL.md +137 -0
- package/.agent-src/skills/quality-tools/SKILL.md +411 -0
- package/.agent-src/skills/readme-reviewer/SKILL.md +187 -0
- package/.agent-src/skills/readme-writing/SKILL.md +142 -0
- package/.agent-src/skills/readme-writing-package/SKILL.md +185 -0
- package/.agent-src/skills/receiving-code-review/SKILL.md +190 -0
- package/.agent-src/skills/refine-ticket/SKILL.md +310 -0
- package/.agent-src/skills/refine-ticket/detection-map.yml +124 -0
- package/.agent-src/skills/refine-ticket/evals/output-schema.yml +16 -0
- package/.agent-src/skills/refine-ticket/evals/triggers.json +16 -0
- package/.agent-src/skills/requesting-code-review/SKILL.md +199 -0
- package/.agent-src/skills/review-routing/SKILL.md +195 -0
- package/.agent-src/skills/roadmap-management/SKILL.md +303 -0
- package/.agent-src/skills/rtk-output-filtering/SKILL.md +184 -0
- package/.agent-src/skills/rule-writing/SKILL.md +148 -0
- package/.agent-src/skills/security/SKILL.md +79 -0
- package/.agent-src/skills/security-audit/SKILL.md +123 -0
- package/.agent-src/skills/sentry-integration/SKILL.md +170 -0
- package/.agent-src/skills/sequential-thinking/SKILL.md +158 -0
- package/.agent-src/skills/skill-improvement-pipeline/SKILL.md +155 -0
- package/.agent-src/skills/skill-management/SKILL.md +121 -0
- package/.agent-src/skills/skill-reviewer/SKILL.md +218 -0
- package/.agent-src/skills/skill-writing/SKILL.md +291 -0
- package/.agent-src/skills/skill-writing/evals/triggers.json +16 -0
- package/.agent-src/skills/sql-writing/SKILL.md +74 -0
- package/.agent-src/skills/subagent-orchestration/SKILL.md +190 -0
- package/.agent-src/skills/systematic-debugging/SKILL.md +244 -0
- package/.agent-src/skills/technical-specification/SKILL.md +185 -0
- package/.agent-src/skills/terraform/SKILL.md +137 -0
- package/.agent-src/skills/terragrunt/SKILL.md +217 -0
- package/.agent-src/skills/test-driven-development/SKILL.md +252 -0
- package/.agent-src/skills/test-performance/SKILL.md +172 -0
- package/.agent-src/skills/threat-modeling/SKILL.md +189 -0
- package/.agent-src/skills/traefik/SKILL.md +319 -0
- package/.agent-src/skills/universal-project-analysis/SKILL.md +179 -0
- package/.agent-src/skills/upstream-contribute/SKILL.md +255 -0
- package/.agent-src/skills/using-git-worktrees/SKILL.md +148 -0
- package/.agent-src/skills/validate-feature-fit/SKILL.md +113 -0
- package/.agent-src/skills/verify-before-complete/SKILL.md +188 -0
- package/.agent-src/skills/websocket/SKILL.md +75 -0
- package/.agent-src/templates/AGENTS.md +146 -0
- package/.agent-src/templates/agent-settings.md +256 -0
- package/.agent-src/templates/agents/.gitattributes.fragment +16 -0
- package/.agent-src/templates/agents/agent-project-settings.example.yml +138 -0
- package/.agent-src/templates/agents/memory/architecture-decisions.example.yml +95 -0
- package/.agent-src/templates/agents/memory/domain-invariants.example.yml +80 -0
- package/.agent-src/templates/agents/memory/historical-patterns.example.yml +82 -0
- package/.agent-src/templates/agents/memory/incident-learnings.example.yml +113 -0
- package/.agent-src/templates/agents/memory/ownership.example.yml +75 -0
- package/.agent-src/templates/agents/memory/product-rules.example.yml +87 -0
- package/.agent-src/templates/agents/proposal.example.md +143 -0
- package/.agent-src/templates/command.md +84 -0
- package/.agent-src/templates/contexts/auth-model.md +59 -0
- package/.agent-src/templates/contexts/data-sensitivity.md +60 -0
- package/.agent-src/templates/contexts/deployment-order.md +72 -0
- package/.agent-src/templates/contexts/observability.md +64 -0
- package/.agent-src/templates/contexts/tenant-boundaries.md +68 -0
- package/.agent-src/templates/contexts.md +116 -0
- package/.agent-src/templates/copilot-instructions.md +115 -0
- package/.agent-src/templates/features.md +125 -0
- package/.agent-src/templates/github-workflows/memory-hygiene.yml +133 -0
- package/.agent-src/templates/github-workflows/pr-risk-review.yml +123 -0
- package/.agent-src/templates/github-workflows/proposal-drift.yml +118 -0
- package/.agent-src/templates/overrides/command.md +24 -0
- package/.agent-src/templates/overrides/guideline.md +21 -0
- package/.agent-src/templates/overrides/rule.md +19 -0
- package/.agent-src/templates/overrides/skill.md +24 -0
- package/.agent-src/templates/overrides/template.md +21 -0
- package/.agent-src/templates/persona.md +99 -0
- package/.agent-src/templates/roadmaps.md +109 -0
- package/.agent-src/templates/scripts/README.md +195 -0
- package/.agent-src/templates/scripts/check_memory.py +283 -0
- package/.agent-src/templates/scripts/check_memory_proposal.py +180 -0
- package/.agent-src/templates/scripts/historical-bug-patterns.example.yml +84 -0
- package/.agent-src/templates/scripts/implement_ticket/__init__.py +57 -0
- package/.agent-src/templates/scripts/implement_ticket/__main__.py +9 -0
- package/.agent-src/templates/scripts/implement_ticket/cli.py +171 -0
- package/.agent-src/templates/scripts/implement_ticket/delivery_state.py +130 -0
- package/.agent-src/templates/scripts/implement_ticket/dispatcher.py +134 -0
- package/.agent-src/templates/scripts/implement_ticket/persona_policy.py +85 -0
- package/.agent-src/templates/scripts/implement_ticket/steps/__init__.py +49 -0
- package/.agent-src/templates/scripts/implement_ticket/steps/analyze.py +98 -0
- package/.agent-src/templates/scripts/implement_ticket/steps/implement.py +145 -0
- package/.agent-src/templates/scripts/implement_ticket/steps/memory.py +136 -0
- package/.agent-src/templates/scripts/implement_ticket/steps/plan.py +175 -0
- package/.agent-src/templates/scripts/implement_ticket/steps/refine.py +140 -0
- package/.agent-src/templates/scripts/implement_ticket/steps/report.py +195 -0
- package/.agent-src/templates/scripts/implement_ticket/steps/test.py +180 -0
- package/.agent-src/templates/scripts/implement_ticket/steps/verify.py +170 -0
- package/.agent-src/templates/scripts/memory_hash.py +75 -0
- package/.agent-src/templates/scripts/memory_lookup.py +216 -0
- package/.agent-src/templates/scripts/memory_report.py +184 -0
- package/.agent-src/templates/scripts/memory_signal.py +167 -0
- package/.agent-src/templates/scripts/memory_status.py +156 -0
- package/.agent-src/templates/scripts/ownership-map.example.yml +87 -0
- package/.agent-src/templates/scripts/pr-risk-config.example.yml +76 -0
- package/.agent-src/templates/scripts/pr_review_routing.py +340 -0
- package/.agent-src/templates/scripts/pr_risk_review.py +211 -0
- package/.agent-src/templates/skill.md +136 -0
- package/.augment-plugin/marketplace.json +32 -0
- package/.augment-plugin/plugin.json +21 -0
- package/.claude-plugin/marketplace.json +119 -0
- package/AGENTS.md +121 -0
- package/CHANGELOG.md +279 -0
- package/CONTRIBUTING.md +176 -0
- package/LICENSE +21 -0
- package/README.md +357 -0
- package/bin/install.php +38 -0
- package/composer.json +29 -0
- package/config/agent-settings.template.yml +96 -0
- package/config/profiles/balanced.ini +10 -0
- package/config/profiles/full.ini +10 -0
- package/config/profiles/minimal.ini +10 -0
- package/docs/architecture.md +144 -0
- package/docs/customization.md +88 -0
- package/docs/development.md +171 -0
- package/docs/getting-started.md +130 -0
- package/docs/github-topics.md +84 -0
- package/docs/installation.md +376 -0
- package/docs/mcp.md +133 -0
- package/docs/quality.md +98 -0
- package/docs/skills-catalog.md +136 -0
- package/docs/troubleshooting.md +167 -0
- package/llms.txt +130 -0
- package/package.json +31 -0
- package/scripts/audit_skill_descriptions.py +168 -0
- package/scripts/check_compression.py +221 -0
- package/scripts/check_memory.py +341 -0
- package/scripts/check_memory_proposal.py +180 -0
- package/scripts/check_portability.py +320 -0
- package/scripts/check_proposal.py +269 -0
- package/scripts/check_references.py +400 -0
- package/scripts/ci_summary.py +131 -0
- package/scripts/compress.py +671 -0
- package/scripts/compress.sh +18 -0
- package/scripts/first-run.sh +109 -0
- package/scripts/generate_catalog.py +116 -0
- package/scripts/install +151 -0
- package/scripts/install-hooks.sh +29 -0
- package/scripts/install.py +487 -0
- package/scripts/install.sh +637 -0
- package/scripts/install_anthropic_key.sh +101 -0
- package/scripts/inventory_frontmatter.py +164 -0
- package/scripts/lint_marketplace.py +142 -0
- package/scripts/lint_regression.py +232 -0
- package/scripts/mcp_render.py +159 -0
- package/scripts/measure_patterns.py +376 -0
- package/scripts/memory_hash.py +75 -0
- package/scripts/memory_lookup.py +441 -0
- package/scripts/memory_report.py +336 -0
- package/scripts/memory_signal.py +210 -0
- package/scripts/memory_status.py +195 -0
- package/scripts/postinstall.sh +60 -0
- package/scripts/readme_linter.py +580 -0
- package/scripts/refine_ticket_detect.py +623 -0
- package/scripts/requirements-evals.txt +7 -0
- package/scripts/runtime_dispatcher.py +265 -0
- package/scripts/runtime_handler.py +148 -0
- package/scripts/runtime_registry.py +166 -0
- package/scripts/schemas/command.schema.json +32 -0
- package/scripts/schemas/persona.schema.json +42 -0
- package/scripts/schemas/rule.schema.json +28 -0
- package/scripts/schemas/skill.schema.json +73 -0
- package/scripts/setup.sh +230 -0
- package/scripts/setup_eval_venv.sh +58 -0
- package/scripts/skill_linter.py +2175 -0
- package/scripts/skill_trigger_eval.py +651 -0
- package/scripts/tool_registry.py +146 -0
- package/scripts/tools/__init__.py +1 -0
- package/scripts/tools/adapter_errors.py +63 -0
- package/scripts/tools/base_adapter.py +91 -0
- package/scripts/tools/github_adapter.py +128 -0
- package/scripts/tools/jira_adapter.py +115 -0
- package/scripts/update_counts.py +147 -0
- package/scripts/validate_frontmatter.py +424 -0
- package/templates/consumer-settings/README.md +46 -0
- package/templates/consumer-settings/augment-settings.json +12 -0
- package/templates/consumer-settings/claude-settings.json +9 -0
- package/templates/consumer-settings/copilot-settings.json +14 -0
|
@@ -0,0 +1,300 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: project-analyze
|
|
3
|
+
skills: [project-analyzer]
|
|
4
|
+
description: Full project analysis — detect stack, inventory modules, audit docs, create missing contexts
|
|
5
|
+
disable-model-invocation: true
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# project-analyze
|
|
9
|
+
|
|
10
|
+
## Instructions
|
|
11
|
+
|
|
12
|
+
This is a **multi-phase, interactive analysis**. Walk through each phase, show findings,
|
|
13
|
+
and ask before creating any documents.
|
|
14
|
+
|
|
15
|
+
### Phase 1: Project detection
|
|
16
|
+
|
|
17
|
+
Gather in parallel:
|
|
18
|
+
- `composer.json` → PHP version, framework, key packages
|
|
19
|
+
- `package.json` → Node.js, frontend framework (if exists)
|
|
20
|
+
- Check for: `artisan`, `Makefile`, `Taskfile.yml`, `docker-compose.yml`
|
|
21
|
+
- Check for: `phpstan.neon`, `ecs.php`, `rector.php`, `config-dev/`
|
|
22
|
+
- Check for: `.github/workflows/`, `CODEOWNERS`, `.editorconfig`
|
|
23
|
+
- Check for: `app/Modules/`, multi-tenant indicators (`customer_database`)
|
|
24
|
+
- Read: `AGENTS.md`, `.github/copilot-instructions.md` (if exist)
|
|
25
|
+
|
|
26
|
+
Display:
|
|
27
|
+
|
|
28
|
+
```
|
|
29
|
+
═══════════════════════════════════════════════
|
|
30
|
+
🔍 PROJECT ANALYSIS
|
|
31
|
+
═══════════════════════════════════════════════
|
|
32
|
+
|
|
33
|
+
📦 Projekt: {name from composer.json or directory}
|
|
34
|
+
🏗️ Framework: {Laravel 11 / Standalone PHP / etc.}
|
|
35
|
+
🐘 PHP: {version constraint}
|
|
36
|
+
📊 Type: {Modular Laravel SaaS / Monolith / Package / Legacy}
|
|
37
|
+
|
|
38
|
+
───────────────────────────────────────────────
|
|
39
|
+
TECH STACK:
|
|
40
|
+
───────────────────────────────────────────────
|
|
41
|
+
|
|
42
|
+
Backend: {Laravel, PHP 8.x}
|
|
43
|
+
Database: {MariaDB / MySQL / SQLite / etc.}
|
|
44
|
+
Queue: {Redis + Horizon / sync / etc.}
|
|
45
|
+
Cache: {Redis / file / array}
|
|
46
|
+
Search: {Meilisearch / Algolia / none}
|
|
47
|
+
Frontend: {Vue / React / Blade / none}
|
|
48
|
+
Testing: {Pest / PHPUnit}
|
|
49
|
+
|
|
50
|
+
───────────────────────────────────────────────
|
|
51
|
+
TOOLING:
|
|
52
|
+
───────────────────────────────────────────────
|
|
53
|
+
|
|
54
|
+
Task Runner: {Makefile ✅ | Taskfile ✅ | none ⚠️}
|
|
55
|
+
Docker: {✅ docker-compose.yml | ❌}
|
|
56
|
+
Quality: {PHPStan ✅ Level {n} | ❌}
|
|
57
|
+
{Rector ✅ | ❌}
|
|
58
|
+
{ECS ✅ | ❌}
|
|
59
|
+
CI/CD: {GitHub Actions ✅ | ❌}
|
|
60
|
+
Editor Config: {✅ | ❌}
|
|
61
|
+
|
|
62
|
+
───────────────────────────────────────────────
|
|
63
|
+
LEGACY CHECK (indicators):
|
|
64
|
+
───────────────────────────────────────────────
|
|
65
|
+
|
|
66
|
+
strict_types: {✅ in most files | ⚠️ missing in many | ❌ absent}
|
|
67
|
+
Typed properties: {✅ | ⚠️ partial | ❌}
|
|
68
|
+
Debug functions: {✅ none found | ⚠️ var_dump/dd found}
|
|
69
|
+
Tests: {✅ good coverage | ⚠️ few tests | ❌ no tests}
|
|
70
|
+
|
|
71
|
+
═══════════════════════════════════════════════
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
Ask the user with numbered options:
|
|
75
|
+
|
|
76
|
+
```
|
|
77
|
+
> 1. Continue with Phase 2 — architecture analysis
|
|
78
|
+
> 2. Stop here — keep the overview only
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
### Phase 2: Architecture mapping
|
|
82
|
+
|
|
83
|
+
Analyze the directory structure:
|
|
84
|
+
|
|
85
|
+
- Map top-level directories with file counts
|
|
86
|
+
- Identify pattern: MVC, modules, services, repositories, DTOs
|
|
87
|
+
- Count: Models, Controllers, Services, Jobs, Commands, Events, Policies
|
|
88
|
+
- Detect: multi-tenancy, API versioning, queue usage
|
|
89
|
+
|
|
90
|
+
Display:
|
|
91
|
+
|
|
92
|
+
```
|
|
93
|
+
───────────────────────────────────────────────
|
|
94
|
+
ARCHITECTURE:
|
|
95
|
+
───────────────────────────────────────────────
|
|
96
|
+
|
|
97
|
+
Pattern: {Modular MVC + Service Layer + Repository}
|
|
98
|
+
API: {Versioned REST (/api/v1/, /api/v2/)}
|
|
99
|
+
Multi-Tenant: {✅ Dual-DB (api_database + customer_database) | ❌}
|
|
100
|
+
|
|
101
|
+
───────────────────────────────────────────────
|
|
102
|
+
CODE INVENTORY:
|
|
103
|
+
───────────────────────────────────────────────
|
|
104
|
+
|
|
105
|
+
Models: {count} (api_database: {n}, customer_database: {n})
|
|
106
|
+
Controllers: {count}
|
|
107
|
+
Services: {count}
|
|
108
|
+
Repositories: {count}
|
|
109
|
+
Jobs: {count}
|
|
110
|
+
Commands: {count}
|
|
111
|
+
Events: {count}
|
|
112
|
+
Policies: {count}
|
|
113
|
+
Migrations: {count}
|
|
114
|
+
Tests: {count} (Unit: {n}, Component: {n}, Integration: {n})
|
|
115
|
+
|
|
116
|
+
═══════════════════════════════════════════════
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
### Phase 3: Module inventory (if modules exist)
|
|
120
|
+
|
|
121
|
+
If `app/Modules/` exists, analyze each module:
|
|
122
|
+
|
|
123
|
+
```
|
|
124
|
+
───────────────────────────────────────────────
|
|
125
|
+
MODULES:
|
|
126
|
+
───────────────────────────────────────────────
|
|
127
|
+
|
|
128
|
+
# Module Controllers Services Models Tests Agent Docs Context
|
|
129
|
+
─ ─────────────── ─────────── ──────── ────── ───── ────────── ───────
|
|
130
|
+
1 ApiClient 0 1 0 2 1 roadmap ❌
|
|
131
|
+
2 Backoff 0 1 0 5 1 doc ❌
|
|
132
|
+
3 ClientSoftware 8 12 5 45 6 roadmaps ❌
|
|
133
|
+
4 Grafana 2 3 1 8 6 roadmaps ❌
|
|
134
|
+
5 Stubbing 0 2 0 3 1 doc ❌
|
|
135
|
+
|
|
136
|
+
═══════════════════════════════════════════════
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
### Phase 4: Agent docs audit
|
|
140
|
+
|
|
141
|
+
Scan all existing agent docs:
|
|
142
|
+
|
|
143
|
+
```
|
|
144
|
+
───────────────────────────────────────────────
|
|
145
|
+
AGENT DOCS AUDIT:
|
|
146
|
+
───────────────────────────────────────────────
|
|
147
|
+
|
|
148
|
+
📄 Project Root (agents/):
|
|
149
|
+
✅ Current: {list of docs that reference existing code}
|
|
150
|
+
⚠️ Review: {list of docs that might be outdated}
|
|
151
|
+
❌ Stale: {list of docs referencing deleted code}
|
|
152
|
+
|
|
153
|
+
📄 Module Level:
|
|
154
|
+
ClientSoftware: 6 Roadmaps (✅ 2 active, ⚠️ 3 possibly outdated, ❌ 1 completed)
|
|
155
|
+
Grafana: 6 Roadmaps (⚠️ review all)
|
|
156
|
+
...
|
|
157
|
+
|
|
158
|
+
📄 Missing:
|
|
159
|
+
❌ No context documents found
|
|
160
|
+
❌ No feature plans found
|
|
161
|
+
⚠️ No module descriptions for: ApiClient, ClientSoftware, Grafana
|
|
162
|
+
|
|
163
|
+
═══════════════════════════════════════════════
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
### Phase 5: Business domains
|
|
167
|
+
|
|
168
|
+
Identify domains from models, services, routes, and directory structure.
|
|
169
|
+
For each domain: map models → services → controllers → jobs → events.
|
|
170
|
+
|
|
171
|
+
```
|
|
172
|
+
───────────────────────────────────────────────
|
|
173
|
+
BUSINESS DOMAINS:
|
|
174
|
+
───────────────────────────────────────────────
|
|
175
|
+
|
|
176
|
+
# Domain Models Services Endpoints Jobs Events
|
|
177
|
+
── ────────────── ────── ──────── ───────── ──── ──────
|
|
178
|
+
1 Projects 5 3 8 2 4
|
|
179
|
+
2 Planning 4 2 6 1 3
|
|
180
|
+
3 Users 3 2 5 0 1
|
|
181
|
+
4 Equipment 4 2 6 1 3
|
|
182
|
+
5 Working Times 3 3 5 1 5
|
|
183
|
+
6 Reports 3 1 4 0 2
|
|
184
|
+
7 Customers 4 3 3 2 2
|
|
185
|
+
8 Imports 5 6 4 3 1
|
|
186
|
+
...
|
|
187
|
+
|
|
188
|
+
═══════════════════════════════════════════════
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
Ask the user with numbered options:
|
|
192
|
+
|
|
193
|
+
```
|
|
194
|
+
> 1. Yes — create domain analysis files
|
|
195
|
+
> 2. Skip — continue with next phase
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
For each confirmed domain, create `agents/analysis/domains/{domain}.md` using the template
|
|
199
|
+
from the `project-analyzer` skill.
|
|
200
|
+
|
|
201
|
+
### Phase 6: API surface & service map
|
|
202
|
+
|
|
203
|
+
List all endpoints per version. Map all services with dependencies.
|
|
204
|
+
|
|
205
|
+
```
|
|
206
|
+
───────────────────────────────────────────────
|
|
207
|
+
API SURFACE:
|
|
208
|
+
───────────────────────────────────────────────
|
|
209
|
+
|
|
210
|
+
v1 Endpoints: {count}
|
|
211
|
+
v2 Endpoints: {count}
|
|
212
|
+
Shared (v1=v2): {count} (via fallback)
|
|
213
|
+
|
|
214
|
+
───────────────────────────────────────────────
|
|
215
|
+
SERVICE MAP:
|
|
216
|
+
───────────────────────────────────────────────
|
|
217
|
+
|
|
218
|
+
Total Services: {count}
|
|
219
|
+
With Repository: {count}
|
|
220
|
+
God Services (>10 methods): {list}
|
|
221
|
+
|
|
222
|
+
═══════════════════════════════════════════════
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
Ask the user with numbered options:
|
|
226
|
+
|
|
227
|
+
```
|
|
228
|
+
> 1. Yes — create API and service analysis files
|
|
229
|
+
> 2. Skip — continue with next phase
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
Create:
|
|
233
|
+
- `agents/analysis/api/endpoints-v1.md`
|
|
234
|
+
- `agents/analysis/api/endpoints-v2.md`
|
|
235
|
+
- `agents/analysis/api/contracts.md`
|
|
236
|
+
- `agents/analysis/services/service-map.md`
|
|
237
|
+
|
|
238
|
+
### Phase 7: Write analysis files
|
|
239
|
+
|
|
240
|
+
Write all remaining analysis files that haven't been created yet:
|
|
241
|
+
|
|
242
|
+
- `agents/analysis/overview.md` — project profile, tech stack summary
|
|
243
|
+
- `agents/analysis/architecture/database.md` — schema, connections, multi-tenancy
|
|
244
|
+
- `agents/analysis/architecture/api.md` — versioning, routes, middleware, auth
|
|
245
|
+
- `agents/analysis/architecture/infrastructure.md` — Docker, CI/CD, deployment
|
|
246
|
+
- `agents/analysis/architecture/patterns.md` — design patterns used
|
|
247
|
+
- `agents/analysis/models/api-database.md` — all api_database models
|
|
248
|
+
- `agents/analysis/models/customer-database.md` — all customer_database models
|
|
249
|
+
- `agents/analysis/modules/{module}.md` — one per module
|
|
250
|
+
- `agents/analysis/testing/test-map.md` — test suites, coverage, strategy
|
|
251
|
+
|
|
252
|
+
For each file, ask with numbered options:
|
|
253
|
+
|
|
254
|
+
```
|
|
255
|
+
> 1. Create — {filename}
|
|
256
|
+
> 2. Skip
|
|
257
|
+
```
|
|
258
|
+
|
|
259
|
+
### Phase 8: Gap analysis & action plan
|
|
260
|
+
|
|
261
|
+
```
|
|
262
|
+
───────────────────────────────────────────────
|
|
263
|
+
RECOMMENDED ACTIONS:
|
|
264
|
+
───────────────────────────────────────────────
|
|
265
|
+
|
|
266
|
+
Priority 1 — Missing analysis files:
|
|
267
|
+
📄 {domains/modules that weren't created yet}
|
|
268
|
+
|
|
269
|
+
Priority 2 — Update docs:
|
|
270
|
+
✏️ {outdated docs that reference deleted code}
|
|
271
|
+
|
|
272
|
+
Priority 3 — Cleanup:
|
|
273
|
+
🗑️ {stale roadmaps, orphaned docs}
|
|
274
|
+
|
|
275
|
+
───────────────────────────────────────────────
|
|
276
|
+
```
|
|
277
|
+
|
|
278
|
+
Ask the user (in their language) what they want to do next:
|
|
279
|
+
|
|
280
|
+
```
|
|
281
|
+
1. 📄 Create missing analysis files
|
|
282
|
+
2. ✏️ Review and update existing docs
|
|
283
|
+
3. 🗑️ Cleanup (stale docs, completed roadmaps)
|
|
284
|
+
4. 📋 Save everything as a roadmap (for later)
|
|
285
|
+
5. ✅ Done
|
|
286
|
+
```
|
|
287
|
+
|
|
288
|
+
### Rules
|
|
289
|
+
|
|
290
|
+
- **Do NOT commit or push.**
|
|
291
|
+
- **Do NOT create documents without asking** — always confirm before each creation.
|
|
292
|
+
- **Do NOT modify code** — this is analysis only.
|
|
293
|
+
- **Do NOT analyze `vendor/` or `node_modules/`.**
|
|
294
|
+
- **Present findings incrementally** — don't dump everything at once.
|
|
295
|
+
- **Be honest about gaps** — flag missing docs and outdated references.
|
|
296
|
+
- **Respect existing docs** — don't overwrite, offer to update.
|
|
297
|
+
- **Reference existing `agents/docs/` and `agents/contexts/`** — don't duplicate their content
|
|
298
|
+
in analysis files. Link to them instead.
|
|
299
|
+
- **Analysis files should be self-contained enough to rebuild** — include actual table names,
|
|
300
|
+
column names, class names, method signatures. Not just "see the code".
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: project-health
|
|
3
|
+
skills: [quality-tools]
|
|
4
|
+
description: Quick project health check — show status of docs, modules, contexts, and roadmaps without creating anything
|
|
5
|
+
disable-model-invocation: true
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# project-health
|
|
9
|
+
|
|
10
|
+
## Instructions
|
|
11
|
+
|
|
12
|
+
This is a **quick, read-only** health check. No documents are created or modified.
|
|
13
|
+
|
|
14
|
+
### 1. Gather data
|
|
15
|
+
|
|
16
|
+
Run in parallel:
|
|
17
|
+
- `composer.json` → framework, PHP version
|
|
18
|
+
- `git branch --show-current` → current branch
|
|
19
|
+
- `git log --oneline -3` → recent activity
|
|
20
|
+
- Count files in `agents/` (docs, features, roadmaps, contexts)
|
|
21
|
+
- Count files in `app/Modules/*/agents/` (per module)
|
|
22
|
+
- Check `app/Modules/` for module list
|
|
23
|
+
- Count test files
|
|
24
|
+
|
|
25
|
+
### 2. Display health report
|
|
26
|
+
|
|
27
|
+
```
|
|
28
|
+
═══════════════════════════════════════════════
|
|
29
|
+
🏥 PROJEKT-HEALTH CHECK
|
|
30
|
+
═══════════════════════════════════════════════
|
|
31
|
+
|
|
32
|
+
📦 {project-name} | {framework} {version} | PHP {version}
|
|
33
|
+
🔀 Branch: {current-branch}
|
|
34
|
+
|
|
35
|
+
───────────────────────────────────────────────
|
|
36
|
+
SESSION:
|
|
37
|
+
───────────────────────────────────────────────
|
|
38
|
+
|
|
39
|
+
🎯 Next step: {next action}
|
|
40
|
+
|
|
41
|
+
───────────────────────────────────────────────
|
|
42
|
+
AGENT DOCS: {total count}
|
|
43
|
+
───────────────────────────────────────────────
|
|
44
|
+
|
|
45
|
+
📄 Projekt-Docs: {count} in agents/
|
|
46
|
+
📄 Guidelines: {count} in .augment/guidelines/
|
|
47
|
+
📋 Features: {count} in agents/features/
|
|
48
|
+
🗺️ Roadmaps: {count} in agents/roadmaps/
|
|
49
|
+
📄 Contexts: {count} in agents/contexts/
|
|
50
|
+
|
|
51
|
+
───────────────────────────────────────────────
|
|
52
|
+
MODULE: {total count}
|
|
53
|
+
───────────────────────────────────────────────
|
|
54
|
+
|
|
55
|
+
Module Agent Docs Roadmaps Features Contexts
|
|
56
|
+
─────────────── ────────── ──────── ──────── ────────
|
|
57
|
+
{ModuleName} {count} {count} {count} {count}
|
|
58
|
+
...
|
|
59
|
+
|
|
60
|
+
───────────────────────────────────────────────
|
|
61
|
+
ROADMAP STATUS:
|
|
62
|
+
───────────────────────────────────────────────
|
|
63
|
+
|
|
64
|
+
{For each active roadmap:}
|
|
65
|
+
📄 {roadmap-name}
|
|
66
|
+
Progress: [{completed}/{total}] {progress-bar}
|
|
67
|
+
Last modified: {file modification date}
|
|
68
|
+
|
|
69
|
+
{If stale roadmaps (old modification date):}
|
|
70
|
+
⚠️ Potentially outdated:
|
|
71
|
+
• {roadmap} — last modified {n} days ago
|
|
72
|
+
|
|
73
|
+
───────────────────────────────────────────────
|
|
74
|
+
GAPS:
|
|
75
|
+
───────────────────────────────────────────────
|
|
76
|
+
|
|
77
|
+
{List gaps found:}
|
|
78
|
+
⚠️ {count} modules without context document
|
|
79
|
+
⚠️ {count} modules without agent docs
|
|
80
|
+
⚠️ No active feature plans
|
|
81
|
+
✅ All areas documented (if no gaps)
|
|
82
|
+
|
|
83
|
+
═══════════════════════════════════════════════
|
|
84
|
+
|
|
85
|
+
{If gaps found:}
|
|
86
|
+
💡 Run /project-analyze for a full analysis with action plan.
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
### Rules
|
|
90
|
+
|
|
91
|
+
- **Do NOT create or modify any files** — this is read-only.
|
|
92
|
+
- **Do NOT commit or push.**
|
|
93
|
+
- **Keep it fast** — no deep code analysis, just file counts and metadata.
|
|
94
|
+
- **Show gaps clearly** — the user should see what's missing at a glance.
|
|
95
|
+
- **Suggest `/project-analyze`** if significant gaps are found.
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: propose-memory
|
|
3
|
+
description: Append a provisional memory signal to the intake stream — the universal fallback for any producer (human or agent) to record a finding without committing to a curated entry.
|
|
4
|
+
skills: [file-editor]
|
|
5
|
+
disable-model-invocation: true
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# /propose-memory
|
|
9
|
+
|
|
10
|
+
Drops a **signal** into `agents/memory/intake/signals-YYYY-MM.jsonl` via
|
|
11
|
+
`scripts/memory_signal.py`. Signals are append-only JSONL and
|
|
12
|
+
merge-safe (see
|
|
13
|
+
[`road-to-memory-merge-safety`](../../../agents/roadmaps/road-to-memory-merge-safety.md)).
|
|
14
|
+
|
|
15
|
+
Unlike [`/memory-add`](memory-add.md) — which writes a **curated**
|
|
16
|
+
entry the reviewer has validated — `/propose-memory` is cheap and
|
|
17
|
+
provisional. Use it whenever a finding is worth preserving but does
|
|
18
|
+
not yet justify a human reviewer's attention.
|
|
19
|
+
|
|
20
|
+
## When to use
|
|
21
|
+
|
|
22
|
+
- A producer command (`/bug-fix`, `/do-and-judge`, incident role exit)
|
|
23
|
+
resolved a failure and the pattern could recur.
|
|
24
|
+
- The user says "remember this" about a finding that is not yet a
|
|
25
|
+
decision.
|
|
26
|
+
- A reviewer spotted a smell worth recording without blocking the PR.
|
|
27
|
+
|
|
28
|
+
Do NOT use when:
|
|
29
|
+
|
|
30
|
+
- The entry is a **decision** — go to [`/memory-add`](memory-add.md)
|
|
31
|
+
with `architecture-decisions` or `product-rules`.
|
|
32
|
+
- The finding contradicts an existing curated entry — open a
|
|
33
|
+
supersede-chain discussion instead; route via
|
|
34
|
+
[`road-to-memory-self-consumption`](../../../agents/roadmaps/road-to-memory-self-consumption.md).
|
|
35
|
+
|
|
36
|
+
## Steps
|
|
37
|
+
|
|
38
|
+
### 1. Pick the memory type
|
|
39
|
+
|
|
40
|
+
```
|
|
41
|
+
> Which memory type fits this signal?
|
|
42
|
+
>
|
|
43
|
+
> 1. historical-patterns — a recurring bug/fix pattern
|
|
44
|
+
> 2. incident-learnings — a post-mortem guardrail
|
|
45
|
+
> 3. ownership — a path → team mapping
|
|
46
|
+
> 4. domain-invariants — a module boundary rule
|
|
47
|
+
> 5. architecture-decisions — a decision to revisit
|
|
48
|
+
> 6. product-rules — an intentional constraint
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### 2. Gather minimum fields
|
|
52
|
+
|
|
53
|
+
- `path` — the affected file / module / symbol
|
|
54
|
+
- `body` — one or two sentences describing the finding
|
|
55
|
+
|
|
56
|
+
### 3. Offer optional extras
|
|
57
|
+
|
|
58
|
+
Ask once, numbered. If the user picks `skip`, proceed without them:
|
|
59
|
+
|
|
60
|
+
- `symptom` (historical-patterns, incident-learnings)
|
|
61
|
+
- `owner` (ownership)
|
|
62
|
+
- `rule` (domain-invariants, product-rules)
|
|
63
|
+
- `severity` — `low` · `medium` · `high`
|
|
64
|
+
|
|
65
|
+
### 4. Emit via the shared helper
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
python3 scripts/memory_signal.py \
|
|
69
|
+
--type <type> \
|
|
70
|
+
--path "<path>" \
|
|
71
|
+
--body "<body>" \
|
|
72
|
+
--origin "propose-memory" \
|
|
73
|
+
--extra '{"symptom":"...","severity":"medium"}'
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
The helper deduplicates identical `(type, path, body)` within 7 days
|
|
77
|
+
automatically — re-running the command on the same finding will
|
|
78
|
+
silently skip the write. Add `--force` only when deliberate duplication
|
|
79
|
+
is intended (rarely).
|
|
80
|
+
|
|
81
|
+
### 5. Confirm and close
|
|
82
|
+
|
|
83
|
+
```
|
|
84
|
+
> ✅ Signal queued as id=<sig-xxxxxx> in <file>.
|
|
85
|
+
>
|
|
86
|
+
> Next steps:
|
|
87
|
+
> 1. Promote to curated now — run /memory-add
|
|
88
|
+
> 2. Leave as intake — reviewer will evaluate later
|
|
89
|
+
> 3. Done
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
## Safety
|
|
93
|
+
|
|
94
|
+
- The command **never** rewrites existing intake lines. Corrections go
|
|
95
|
+
via a new entry with `type: supersede` and `supersedes: <id>`
|
|
96
|
+
(append-only).
|
|
97
|
+
- The command **never** writes outside `agents/memory/intake/`.
|
|
98
|
+
- Schema mismatches (e.g., unknown `type`) raise — callers should
|
|
99
|
+
treat that as a bug in the producer, not a retryable failure.
|
|
100
|
+
|
|
101
|
+
## See also
|
|
102
|
+
|
|
103
|
+
- [`/memory-add`](memory-add.md) — curated (reviewer-validated) entries.
|
|
104
|
+
- [`engineering-memory-data-format`](../guidelines/agent-infra/engineering-memory-data-format.md)
|
|
105
|
+
- [`memory-access`](../guidelines/agent-infra/memory-access.md) — the
|
|
106
|
+
read-side contract that consumes what this command writes.
|
|
107
|
+
- [`road-to-agent-memory-integration`](../../../agents/roadmaps/road-to-agent-memory-integration.md)
|
|
108
|
+
— Phase 2 (write-side producers).
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: quality-fix
|
|
3
|
+
skills: [quality-tools]
|
|
4
|
+
description: Run quality pipeline (PHP and/or JS/TS) and fix all errors — auto-detects language from changed files
|
|
5
|
+
disable-model-invocation: true
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# quality-fix
|
|
9
|
+
|
|
10
|
+
## Step 0: Detect language
|
|
11
|
+
|
|
12
|
+
Check which files were changed to determine which pipeline(s) to run:
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
git diff --name-only origin/{default}..HEAD
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
| Changed files | Pipeline |
|
|
19
|
+
|---|---|
|
|
20
|
+
| `.php` files | → Run **PHP pipeline** (Steps 1–3) |
|
|
21
|
+
| `.js`, `.ts`, `.tsx`, `.jsx` files | → Run **JS/TS pipeline** (Steps 4–6) |
|
|
22
|
+
| Both | → Run **both** pipelines |
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## PHP Pipeline
|
|
27
|
+
|
|
28
|
+
### Prerequisites
|
|
29
|
+
|
|
30
|
+
- All commands run **inside the PHP container** (e.g. `docker compose exec -T <service> ...`).
|
|
31
|
+
- Detect the project type:
|
|
32
|
+
- Project ships a `quality:*` wrapper (Artisan or Composer script) → prefer `php artisan quality:phpstan` / `php artisan quality:rector --fix`
|
|
33
|
+
- `phpstan/phpstan` installed → `vendor/bin/phpstan analyse`
|
|
34
|
+
- `rector/rector` installed → `vendor/bin/rector process`
|
|
35
|
+
- `symplify/easy-coding-standard` installed → `vendor/bin/ecs check --fix`
|
|
36
|
+
|
|
37
|
+
### Step 1: PHPStan — fix all errors
|
|
38
|
+
|
|
39
|
+
1. Run PHPStan and capture the full output.
|
|
40
|
+
2. For each error, **fix it in code**. Resolve the root cause.
|
|
41
|
+
3. **Do NOT add errors to the baseline or phpstan.neon ignore lists.**
|
|
42
|
+
4. If truly impossible (confirmed false positive), use inline ignore with reason.
|
|
43
|
+
5. After fixing, run PHPStan again.
|
|
44
|
+
6. Repeat until **0 errors**.
|
|
45
|
+
|
|
46
|
+
### Step 2: Rector — apply automated refactoring
|
|
47
|
+
|
|
48
|
+
1. Run Rector with the fix flag.
|
|
49
|
+
2. Review what Rector changed — it may introduce new PHPStan errors.
|
|
50
|
+
3. Run Rector again to verify no further changes are applied.
|
|
51
|
+
4. Repeat until Rector produces no more changes.
|
|
52
|
+
|
|
53
|
+
### Step 3: Final PHPStan verification
|
|
54
|
+
|
|
55
|
+
1. Run PHPStan one more time.
|
|
56
|
+
2. If new errors appeared (e.g. from Rector changes), fix them as in Step 1.
|
|
57
|
+
3. If fixes were needed, go back to Step 2.
|
|
58
|
+
4. Done when PHPStan reports **0 errors** and Rector has **no changes**.
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
## JS/TS Pipeline
|
|
63
|
+
|
|
64
|
+
### Prerequisites
|
|
65
|
+
|
|
66
|
+
- Check `package.json` for available tools and scripts.
|
|
67
|
+
- Determine execution environment: host, Node container, or Makefile targets.
|
|
68
|
+
|
|
69
|
+
### Step 4: Biome — auto-fix formatting + linting
|
|
70
|
+
|
|
71
|
+
1. Run Biome with auto-fix (prefer npm script if available):
|
|
72
|
+
```bash
|
|
73
|
+
npm run biome:fix # or: npx biome check --write .
|
|
74
|
+
```
|
|
75
|
+
2. Review what changed — especially import reordering and formatting.
|
|
76
|
+
3. If no Biome is installed, check for ESLint + Prettier and use those instead.
|
|
77
|
+
|
|
78
|
+
### Step 5: TypeScript — fix type errors
|
|
79
|
+
|
|
80
|
+
1. Run the type checker:
|
|
81
|
+
```bash
|
|
82
|
+
npm run tscheck # or: npx tsc --noEmit
|
|
83
|
+
```
|
|
84
|
+
2. For each error, **fix it in code**. Do NOT use `@ts-ignore`.
|
|
85
|
+
3. If truly impossible, use `@ts-expect-error` with a reason comment.
|
|
86
|
+
4. After fixing, re-run Biome (Step 4) — fixes may need reformatting.
|
|
87
|
+
5. Repeat until **0 type errors**.
|
|
88
|
+
|
|
89
|
+
### Step 6: Tests — verify nothing is broken
|
|
90
|
+
|
|
91
|
+
1. Run the test suite:
|
|
92
|
+
```bash
|
|
93
|
+
npm test
|
|
94
|
+
```
|
|
95
|
+
2. If tests fail, fix the failing tests or the code that broke them.
|
|
96
|
+
3. After fixing, re-run Steps 4–5 to ensure quality is maintained.
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
## Rules
|
|
101
|
+
|
|
102
|
+
- **Do NOT commit or push.** Only apply local changes.
|
|
103
|
+
- **Do NOT modify baseline files** (`phpstan-baseline.neon`) or config files (`biome.json`, `tsconfig.json`).
|
|
104
|
+
- **Do NOT add entries to `ignoreErrors`** in `phpstan.neon`.
|
|
105
|
+
- Inline ignores (`@phpstan-ignore`, `@ts-expect-error`, `biome-ignore`) are a last resort.
|
|
106
|
+
- Run `php -l` on modified PHP files if you made significant structural changes.
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: refine-ticket
|
|
3
|
+
skills: [refine-ticket]
|
|
4
|
+
description: Refine a Jira/Linear ticket before planning — rewritten ticket + Top-5 risks + persona voices, orchestrates validate-feature-fit and threat-modeling, ends with a close-prompt
|
|
5
|
+
disable-model-invocation: true
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# refine-ticket
|
|
9
|
+
|
|
10
|
+
## Instructions
|
|
11
|
+
|
|
12
|
+
### 1. Resolve input (delegate to jira-ticket loader)
|
|
13
|
+
|
|
14
|
+
Accept one of four input paths:
|
|
15
|
+
|
|
16
|
+
1. **Explicit key** — `/refine-ticket PROJ-123`
|
|
17
|
+
2. **Branch detection** — no arg → `git branch --show-current` + regex `[A-Z]+-[0-9]+`
|
|
18
|
+
3. **Pasted text** — markdown block under the command
|
|
19
|
+
4. **URL** — `/refine-ticket https://…/browse/PROJ-123`
|
|
20
|
+
|
|
21
|
+
For paths 1, 2, 4: run steps 1-3 of the [`jira-ticket`](jira-ticket.md) command
|
|
22
|
+
(extract ID, fetch `GET /issue/{id}`, scan for Sentry links). For path 3: parse
|
|
23
|
+
the pasted markdown.
|
|
24
|
+
|
|
25
|
+
If no input resolves: ask **one** focused question:
|
|
26
|
+
|
|
27
|
+
```
|
|
28
|
+
🎫 Which ticket should I refine? Paste a Jira key, URL, or the ticket text.
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
### 2. Pick the output language
|
|
32
|
+
|
|
33
|
+
Apply the skill's language-strategy block. First hit wins:
|
|
34
|
+
|
|
35
|
+
1. **User-message language** — latest user message decides. Honours
|
|
36
|
+
the global `language-and-tone` iron law.
|
|
37
|
+
2. **Ticket body language** — minimal invocation (`/refine-ticket PROJ-123`
|
|
38
|
+
with no prose) mirrors the ticket's own language.
|
|
39
|
+
3. **`.agent-settings.yml` default** — fallback when both silent; English
|
|
40
|
+
when absent.
|
|
41
|
+
|
|
42
|
+
Quoted identifiers stay native; only prose mirrors the picked language.
|
|
43
|
+
|
|
44
|
+
### 3. Run the refine-ticket skill
|
|
45
|
+
|
|
46
|
+
Invoke the [`refine-ticket`](../skills/refine-ticket/SKILL.md) skill with the
|
|
47
|
+
loaded ticket as input. The skill handles detection, orchestration, persona
|
|
48
|
+
application, synthesis, and close-prompt.
|
|
49
|
+
|
|
50
|
+
### 4. Honor flags
|
|
51
|
+
|
|
52
|
+
- `--personas=<list>` — comma-separated override of the Core-6 default
|
|
53
|
+
(e.g. `--personas=developer,senior-engineer,critical-challenger`)
|
|
54
|
+
- `--personas=+qa` — add the QA specialist to the Core-6
|
|
55
|
+
- `--fresh-eyes` — reweight toward first-time-reader confusion signals
|
|
56
|
+
(critical-challenger voice gets more lines; less assumed context)
|
|
57
|
+
|
|
58
|
+
No `--apply` flag in v1. Write-back is user-controlled via the close-prompt
|
|
59
|
+
at the end of the skill output.
|
|
60
|
+
|
|
61
|
+
### 5. Emit output + close-prompt
|
|
62
|
+
|
|
63
|
+
Render the three-section output template (refined ticket / Top-5 risks /
|
|
64
|
+
persona voices) plus the close-prompt. Stop there. Do **not** chain into
|
|
65
|
+
`/estimate-ticket` or `/feature-plan` — separate invocations by design.
|
|
66
|
+
|
|
67
|
+
## Examples
|
|
68
|
+
|
|
69
|
+
```
|
|
70
|
+
/refine-ticket PROJ-123
|
|
71
|
+
/refine-ticket # uses current branch
|
|
72
|
+
/refine-ticket --personas=+qa PROJ-123
|
|
73
|
+
/refine-ticket --fresh-eyes https://acme.atlassian.net/browse/PROJ-123
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
## See also
|
|
77
|
+
|
|
78
|
+
- [`jira-ticket`](jira-ticket.md) — ticket loader this command delegates to
|
|
79
|
+
- [`estimate-ticket`](estimate-ticket.md) — sibling command — run after refining if you also need sizing
|
|
80
|
+
- [`feature-plan`](feature-plan.md), [`feature-explore`](feature-explore.md) — downstream commands
|
|
81
|
+
- [`road-to-ticket-refinement.md`](../../agents/roadmaps/road-to-ticket-refinement.md) — governing roadmap
|