@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,155 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: skill-improvement-pipeline
|
|
3
|
+
description: "ONLY when user explicitly requests: run the skill improvement pipeline after a learning was detected. Orchestrates capture, classify, create, validate, and apply."
|
|
4
|
+
source: package
|
|
5
|
+
execution:
|
|
6
|
+
type: assisted
|
|
7
|
+
handler: internal
|
|
8
|
+
allowed_tools: []
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# skill-improvement-pipeline
|
|
12
|
+
|
|
13
|
+
## When to use
|
|
14
|
+
|
|
15
|
+
- Triggered by the `skill-improvement-trigger` rule when user picks "Capture & improve"
|
|
16
|
+
- Manually when user says "run the improvement pipeline" or "capture this learning"
|
|
17
|
+
|
|
18
|
+
Do NOT use for:
|
|
19
|
+
- Regular skill creation (use `skill-writing`)
|
|
20
|
+
- Regular skill editing (use `skill-management`)
|
|
21
|
+
- One-off fixes that don't represent a pattern
|
|
22
|
+
|
|
23
|
+
## Procedure: Run the improvement pipeline
|
|
24
|
+
|
|
25
|
+
### Step 1: Capture
|
|
26
|
+
|
|
27
|
+
Use the `learning-to-rule-or-skill` skill to extract 1–3 concrete learnings from the completed task.
|
|
28
|
+
|
|
29
|
+
Each learning must be:
|
|
30
|
+
- **Specific** — not "be more careful" but "always check X before Y"
|
|
31
|
+
- **Actionable** — can be turned into a rule constraint or skill step
|
|
32
|
+
- **Observable** — you can tell when it's followed or violated
|
|
33
|
+
|
|
34
|
+
### Step 2: Promotion Gate
|
|
35
|
+
|
|
36
|
+
For each learning, apply ALL of these checks. ALL must be YES to promote:
|
|
37
|
+
|
|
38
|
+
| Check | Question |
|
|
39
|
+
|---|---|
|
|
40
|
+
| Repeated? | Has this pattern occurred 2+ times, or is it clearly generalizable? |
|
|
41
|
+
| Prevents failure? | Does it prevent a real observed failure or mistake? |
|
|
42
|
+
| Not covered? | Is there NO existing rule or skill that already covers this? |
|
|
43
|
+
| Actionable? | Is it a concrete constraint or workflow step (not vague advice)? |
|
|
44
|
+
|
|
45
|
+
| Result | Action |
|
|
46
|
+
|---|---|
|
|
47
|
+
| All YES | **Promote** — continue to Step 3 |
|
|
48
|
+
| One-off, never seen before | **Reject** — do nothing |
|
|
49
|
+
| Seen once, but generalizable | **Note** — use `remember` tool, act on second occurrence |
|
|
50
|
+
| Already covered | **Update existing** — skip to Step 4 with the existing skill/rule |
|
|
51
|
+
| Vague | **Reject** — not actionable |
|
|
52
|
+
|
|
53
|
+
Show the user:
|
|
54
|
+
```
|
|
55
|
+
> Learning: "{summary}"
|
|
56
|
+
> Category: {category-tag}
|
|
57
|
+
> Repeated: {yes/no} | Prevents failure: {yes/no} | Not covered: {yes/no} | Actionable: {yes/no}
|
|
58
|
+
>
|
|
59
|
+
> → {Promote / Reject / Note / Update existing}
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
### Step 3: Classify
|
|
63
|
+
|
|
64
|
+
#### Category tag
|
|
65
|
+
|
|
66
|
+
Tag each learning with one category for tracking:
|
|
67
|
+
|
|
68
|
+
| Category | When |
|
|
69
|
+
|---|---|
|
|
70
|
+
| `skill-weakness` | Skill gave wrong or incomplete guidance |
|
|
71
|
+
| `rule-weakness` | Rule was too vague or missed a case |
|
|
72
|
+
| `routing-issue` | Wrong skill was selected for the task |
|
|
73
|
+
| `assumption-issue` | Agent made bad assumptions instead of asking |
|
|
74
|
+
| `verification-gap` | Verification step was missing or weak |
|
|
75
|
+
| `optimization-overreach` | Optimize command suggested harmful change |
|
|
76
|
+
|
|
77
|
+
#### Artifact type
|
|
78
|
+
|
|
79
|
+
Decide what to create:
|
|
80
|
+
|
|
81
|
+
| Learning type | Create |
|
|
82
|
+
|---|---|
|
|
83
|
+
| Behavioral constraint ("always do X", "never do Y") | **Rule** (auto-type) |
|
|
84
|
+
| Workflow/procedure ("when X happens, do Y then Z") | **Skill** |
|
|
85
|
+
| Existing rule/skill needs update | **Update** (use `skill-management`) |
|
|
86
|
+
|
|
87
|
+
### Step 4: Create or Update
|
|
88
|
+
|
|
89
|
+
- **New rule** → create in `.agent-src.uncompressed/rules/`, follow rule conventions
|
|
90
|
+
- **New skill** → use `skill-writing` skill, create in `.agent-src.uncompressed/skills/`
|
|
91
|
+
- **Update existing** → use `skill-management` skill
|
|
92
|
+
|
|
93
|
+
After creation:
|
|
94
|
+
1. Run `python3 scripts/skill_linter.py {path}` — must pass (0 fail)
|
|
95
|
+
2. Copy to `.augment/`
|
|
96
|
+
3. Mark hash: `python3 scripts/compress.py --mark-done "{relative_path}"`
|
|
97
|
+
4. Regenerate tools: `python3 scripts/compress.py --generate-tools`
|
|
98
|
+
|
|
99
|
+
### Step 5: Decide scope
|
|
100
|
+
|
|
101
|
+
Ask the user:
|
|
102
|
+
|
|
103
|
+
```
|
|
104
|
+
> 📦 Improvement ready: {description}
|
|
105
|
+
>
|
|
106
|
+
> 1. Universal — apply locally + PR to upstream package
|
|
107
|
+
> 2. Project-specific — apply locally only (agents/overrides/)
|
|
108
|
+
> 3. Review first — show me the changes before deciding
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
### Step 6: Apply
|
|
112
|
+
|
|
113
|
+
**If project-specific (option 2):**
|
|
114
|
+
- Create override in `agents/overrides/{type}/{name}.md`
|
|
115
|
+
- Done.
|
|
116
|
+
|
|
117
|
+
**If universal (option 1):**
|
|
118
|
+
1. Read `project.upstream_repo` and `project.improvement_pr_branch_prefix` from `.agent-settings.yml`
|
|
119
|
+
2. If `project.upstream_repo` is empty → ask user for the target repo
|
|
120
|
+
3. Create branch: `{prefix}{learning-slug}` from `main`
|
|
121
|
+
4. Commit changes to `.agent-src.uncompressed/` AND `.augment/`
|
|
122
|
+
5. Push branch
|
|
123
|
+
6. Create PR with title: `improve(agent): {short description}`
|
|
124
|
+
7. Use the agent-improvement PR template if it exists
|
|
125
|
+
|
|
126
|
+
## Output format
|
|
127
|
+
|
|
128
|
+
1. Learning summary with promotion gate results
|
|
129
|
+
2. Created/updated file path
|
|
130
|
+
3. Linter result
|
|
131
|
+
4. Scope decision and action taken
|
|
132
|
+
|
|
133
|
+
## Gotcha
|
|
134
|
+
|
|
135
|
+
- The promotion gate is the most important step — most learnings should be REJECTED
|
|
136
|
+
- "Be more careful" is NOT a valid learning — it must be specific
|
|
137
|
+
- Always run the linter before declaring success
|
|
138
|
+
- The user controls every step — never auto-commit or auto-push
|
|
139
|
+
|
|
140
|
+
## Do NOT
|
|
141
|
+
|
|
142
|
+
- Do NOT skip the promotion gate — it prevents skill/rule bloat
|
|
143
|
+
- Do NOT create both a rule AND a skill for the same learning
|
|
144
|
+
- Do NOT auto-push without user permission
|
|
145
|
+
- Do NOT create project-specific content in `.agent-src.uncompressed/`
|
|
146
|
+
- Do NOT run this pipeline for trivial learnings
|
|
147
|
+
|
|
148
|
+
## References
|
|
149
|
+
|
|
150
|
+
- **Reflexion** — [arxiv.org/abs/2303.11366](https://arxiv.org/abs/2303.11366)
|
|
151
|
+
Language agents that reinforce from verbal self-reflection on past
|
|
152
|
+
trials. This pipeline adapts Reflexion by gating promotion with a
|
|
153
|
+
human review step — learnings only harden into rules/skills after
|
|
154
|
+
explicit approval, never auto-commit.
|
|
155
|
+
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: skill-management
|
|
3
|
+
description: "Use when compressing, decompressing, refactoring, or improving existing skills. Covers the full skill lifecycle from verbose → sharp → maintained."
|
|
4
|
+
source: project
|
|
5
|
+
execution:
|
|
6
|
+
type: assisted
|
|
7
|
+
handler: internal
|
|
8
|
+
allowed_tools: []
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# skill-management
|
|
12
|
+
|
|
13
|
+
## When to use
|
|
14
|
+
|
|
15
|
+
Use this skill when:
|
|
16
|
+
* Compressing a verbose skill into a sharper version
|
|
17
|
+
* Expanding a compressed skill into a maintainable source-of-truth
|
|
18
|
+
* Refactoring a skill to fix structure, scope, or quality issues
|
|
19
|
+
* Migrating skills to new standards
|
|
20
|
+
|
|
21
|
+
Do not use when:
|
|
22
|
+
* Creating a new skill from scratch (use `skill-writing`)
|
|
23
|
+
* Reviewing/validating a skill (use `skill-reviewer`)
|
|
24
|
+
|
|
25
|
+
## Procedure: Manage a skill
|
|
26
|
+
|
|
27
|
+
### Mode: Compress
|
|
28
|
+
**Trigger:** "compress skill", "shorten skill", "make skill sharper"
|
|
29
|
+
|
|
30
|
+
1. Inspect — what is the core job? Which lines are redundant?
|
|
31
|
+
2. Preserve critical skeleton: When to use, Procedure, Output format, Gotchas, Do NOT
|
|
32
|
+
3. Compress trigger — rewrite description for fast matching
|
|
33
|
+
4. Compress decision logic — explanations → direct choices
|
|
34
|
+
5. Compress procedure — each step short and executable
|
|
35
|
+
6. Remove obvious content — keep only what model forgets or misuses
|
|
36
|
+
7. Validate — compressed version must be: easier to scan, easier to trigger, at least as safe
|
|
37
|
+
|
|
38
|
+
**Iron rule:** Compression must NOT weaken validation or remove decision hints that prevent mistakes.
|
|
39
|
+
**Linter gate:** After compression, run `python3 scripts/skill_linter.py` on the file — must be 0 FAIL.
|
|
40
|
+
|
|
41
|
+
### Mode: Decompress
|
|
42
|
+
**Trigger:** "expand skill", "decompress skill", "make skill clearer"
|
|
43
|
+
|
|
44
|
+
1. Inspect — which parts are unclear or too condensed?
|
|
45
|
+
2. Restore full structure (all required sections)
|
|
46
|
+
3. Expand trigger — make "When to use" clearer
|
|
47
|
+
4. Expand procedure — turn terse steps into clear actions
|
|
48
|
+
5. Strengthen validation — make checks explicit and testable
|
|
49
|
+
6. Add minimal explanations only where they improve execution
|
|
50
|
+
7. Validate — expanded version must be: clearer, still executable, not noisy
|
|
51
|
+
|
|
52
|
+
**Iron rule:** Expansion must NOT turn skills into documentation. Add context, not prose.
|
|
53
|
+
**Linter gate:** After expansion, run `python3 scripts/skill_linter.py` on the file — must be 0 FAIL.
|
|
54
|
+
|
|
55
|
+
### Mode: Refactor
|
|
56
|
+
**Trigger:** "refactor skill", "improve skill", "fix skill structure"
|
|
57
|
+
|
|
58
|
+
1. Inspect — identify missing sections, weak areas, anti-patterns
|
|
59
|
+
2. Clean structure — ensure required sections exist
|
|
60
|
+
3. Improve procedure — make steps concrete, add validation
|
|
61
|
+
4. Remove noise — delete obvious/redundant content, merge duplicate bullets
|
|
62
|
+
5. Refine scope — ensure single responsibility, split if multiple workflows
|
|
63
|
+
6. Compare before/after — must be clearer, at least as executable, not broader
|
|
64
|
+
|
|
65
|
+
**Linter gate:** After refactoring, run `python3 scripts/skill_linter.py` on the file — must be 0 FAIL.
|
|
66
|
+
|
|
67
|
+
**Independence check:** After refactoring, verify the skill is still executable without opening any guideline.
|
|
68
|
+
If the refactor introduced guideline delegations ("see guideline X"), ensure the Procedure still works standalone.
|
|
69
|
+
|
|
70
|
+
**Decision hints:**
|
|
71
|
+
* Too long → compress or split
|
|
72
|
+
* Too generic → narrow scope
|
|
73
|
+
* Missing validation → add it
|
|
74
|
+
* Too dependent on guidelines → inline essential steps
|
|
75
|
+
* Multiple workflows → split into separate skills
|
|
76
|
+
|
|
77
|
+
## Common anti-patterns
|
|
78
|
+
|
|
79
|
+
* Same idea repeated in Goal, Core rules, and Gotchas
|
|
80
|
+
* Long paragraphs where one bullet would do
|
|
81
|
+
* Vague procedure steps ("think about X")
|
|
82
|
+
* Compression that deletes safety-critical checks
|
|
83
|
+
* Over-expansion that turns skills into documentation
|
|
84
|
+
* Refactoring scope instead of structure
|
|
85
|
+
* Removing gotchas because they "look verbose"
|
|
86
|
+
|
|
87
|
+
## Output format
|
|
88
|
+
|
|
89
|
+
1. Updated skill file(s) passing linter with 0 FAIL
|
|
90
|
+
2. Before/after line count comparison
|
|
91
|
+
|
|
92
|
+
## Gotchas
|
|
93
|
+
|
|
94
|
+
* Over-compression removes important nuance
|
|
95
|
+
* Some examples look verbose but are load-bearing
|
|
96
|
+
* Shorter is not better if trigger quality drops
|
|
97
|
+
* Changing intent instead of improving structure
|
|
98
|
+
* Compressed versions must be derived from uncompressed source, not the other way around
|
|
99
|
+
* **Validation steps are non-negotiable** — every Procedure must end with a concrete verify/confirm step. Skills without validation pass the linter today but cause failures when the linter is tightened.
|
|
100
|
+
* **Renaming headings to "Procedure:" without adding steps** creates false structure — the linter now requires ordered steps or sub-headings inside Procedure blocks.
|
|
101
|
+
|
|
102
|
+
## Do NOT
|
|
103
|
+
|
|
104
|
+
* Do NOT remove validation steps
|
|
105
|
+
* Do NOT compress away decision hints that prevent mistakes
|
|
106
|
+
* Do NOT change the skill's core intent
|
|
107
|
+
* Do NOT merge unrelated workflows to save space
|
|
108
|
+
* Do NOT expand everything blindly — only where it helps execution
|
|
109
|
+
* Do NOT rewrite without understanding original intent
|
|
110
|
+
* Do NOT skip the `preservation-guard` rule checklist before completing any transformation
|
|
111
|
+
|
|
112
|
+
## Auto-trigger keywords
|
|
113
|
+
|
|
114
|
+
* compress skill
|
|
115
|
+
* decompress skill
|
|
116
|
+
* refactor skill
|
|
117
|
+
* improve skill
|
|
118
|
+
* shorten skill
|
|
119
|
+
* expand skill
|
|
120
|
+
* caveman compress
|
|
121
|
+
* make skill sharper
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: skill-reviewer
|
|
3
|
+
description: "Use when reviewing, auditing, or optimizing skills — validates against the 7 Skill Killers checklist and produces fix recommendations."
|
|
4
|
+
source: package
|
|
5
|
+
execution:
|
|
6
|
+
type: assisted
|
|
7
|
+
handler: internal
|
|
8
|
+
allowed_tools: []
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Skill Reviewer
|
|
12
|
+
|
|
13
|
+
## When to use
|
|
14
|
+
|
|
15
|
+
Use when reviewing, auditing, or optimizing existing skills — checking quality against the 6 Skill Killers checklist. Also for validating a new skill before saving.
|
|
16
|
+
|
|
17
|
+
Reviews skills against the **7 Skill Killers** — the most common anti-patterns
|
|
18
|
+
that waste tokens, cause misfires, or degrade agent performance.
|
|
19
|
+
|
|
20
|
+
## The 7 Skill Killers Checklist
|
|
21
|
+
|
|
22
|
+
### Killer 1: Vague or Quiet Description
|
|
23
|
+
|
|
24
|
+
The description is the **most critical line** — it's a trigger, not a summary.
|
|
25
|
+
|
|
26
|
+
**Good pattern:**
|
|
27
|
+
```yaml
|
|
28
|
+
description: >
|
|
29
|
+
Use when the user says "create a DTO", "new data transfer object",
|
|
30
|
+
or asks to convert request/response data into a typed PHP class.
|
|
31
|
+
Also triggers on "map this to a DTO" or "I need a value object".
|
|
32
|
+
Creates DTO classes following project conventions with SimpleDto
|
|
33
|
+
base class, attribute mapping, and validation.
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
**Bad patterns:**
|
|
37
|
+
- ❌ `"Creates DTO classes following project conventions"` — no trigger phrases
|
|
38
|
+
- ❌ `"Handles DTOs"` — too vague, won't fire
|
|
39
|
+
- ❌ Only describes WHAT, never WHEN
|
|
40
|
+
|
|
41
|
+
**Fix rules:**
|
|
42
|
+
- Start with `Use when the user says "..."` or `Use when [situation]`
|
|
43
|
+
- Include 3-5 trigger phrases people actually say
|
|
44
|
+
- Write in third person (injected into system prompt)
|
|
45
|
+
- Be LOUD — models skip past quiet descriptions
|
|
46
|
+
- End with 1 sentence describing what the skill does
|
|
47
|
+
- For explicit-only skills: `"ONLY when user explicitly requests: [X]. NOT for [Y]."`
|
|
48
|
+
|
|
49
|
+
### Killer 2: Over-Defining (Railroading)
|
|
50
|
+
|
|
51
|
+
The skill dictates every micro-step instead of guiding.
|
|
52
|
+
|
|
53
|
+
**Check:** Are there >15 numbered steps? Does it prescribe HOW to think?
|
|
54
|
+
**Fix:** Set degrees of freedom — tight for fragile ops (migrations, deployments),
|
|
55
|
+
loose for creative tasks (design, planning). Use bullets over numbered steps
|
|
56
|
+
when order doesn't matter.
|
|
57
|
+
|
|
58
|
+
### Killer 3: Stating the Obvious
|
|
59
|
+
|
|
60
|
+
Content the model already knows — wasting tokens on every invocation.
|
|
61
|
+
|
|
62
|
+
**Check:** For each paragraph, ask: "Does the model really need this?"
|
|
63
|
+
**Examples of waste:**
|
|
64
|
+
- ❌ Explaining what PHP strict types do
|
|
65
|
+
- ❌ Describing how Laravel middleware works (in a middleware skill)
|
|
66
|
+
- ❌ Listing basic Git commands
|
|
67
|
+
|
|
68
|
+
**Keep only:** Project-specific conventions, non-obvious patterns, YOUR way of doing things.
|
|
69
|
+
|
|
70
|
+
### Killer 4: Missing Gotcha Section
|
|
71
|
+
|
|
72
|
+
The highest-signal content in a skill. Documents failure patterns.
|
|
73
|
+
|
|
74
|
+
**Check:** Does the skill have a `## Gotcha` or `## Common Mistakes` section?
|
|
75
|
+
**Fix:** Add one with real failure patterns:
|
|
76
|
+
```markdown
|
|
77
|
+
## Gotcha
|
|
78
|
+
|
|
79
|
+
- Don't assume X — check Y first because Z
|
|
80
|
+
- The model tends to forget A when doing B
|
|
81
|
+
- Edge case: when C happens, do D instead of E
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
### Killer 5: Monolithic Blob
|
|
85
|
+
|
|
86
|
+
Skill exceeds size limits (see `guidelines/agent-infra/size-and-scope.md`).
|
|
87
|
+
|
|
88
|
+
**Check:** Review at >300 lines. Strongly consider split at >1200 words / >1500 words.
|
|
89
|
+
**Fix:** Extract reference tables, templates, and examples into separate files
|
|
90
|
+
in the skill folder, or split by responsibility.
|
|
91
|
+
|
|
92
|
+
### Killer 6: Guideline-Dependent (Pointer-Only)
|
|
93
|
+
|
|
94
|
+
The skill delegates to guidelines instead of containing its own executable workflow.
|
|
95
|
+
|
|
96
|
+
**Iron Rule:** If a skill is not executable without opening a guideline, it is broken.
|
|
97
|
+
|
|
98
|
+
**Check:** Cover all guideline references in the skill — is the Procedure still executable?
|
|
99
|
+
**Litmus test:** Remove `→ See guideline ...` lines. Does the skill still tell the agent what to do?
|
|
100
|
+
|
|
101
|
+
**Fail if:** ≥3 guideline delegations AND ≤1 action verb AND <3 procedure steps
|
|
102
|
+
**Warn if:** ≥2 guideline delegations AND ≤2 action verbs AND <3 procedure steps
|
|
103
|
+
|
|
104
|
+
**Fix:** Inline the essential workflow steps from the guideline. Keep the guideline reference
|
|
105
|
+
for deep-dive details, but the Procedure must work standalone.
|
|
106
|
+
|
|
107
|
+
### Killer 7: Created Without Analysis
|
|
108
|
+
|
|
109
|
+
The skill/rule/command was written without inspecting existing state or defining expected behavior.
|
|
110
|
+
|
|
111
|
+
**Check:** Was the artifact created based on:
|
|
112
|
+
- Reading the existing implementation or related artifacts?
|
|
113
|
+
- Comparing with current behavior, tests, or requirements?
|
|
114
|
+
- Defining expected behavior before writing?
|
|
115
|
+
- Using targeted tools for investigation?
|
|
116
|
+
|
|
117
|
+
**Fail or warn if:**
|
|
118
|
+
- No evidence of inspecting existing state before creating/refactoring
|
|
119
|
+
- Looks like blind trial-and-error or copy-paste-and-hope
|
|
120
|
+
- Expected behavior is only implied, never explicitly stated
|
|
121
|
+
- Refactor made artifact cleaner but weaker (lost validation, examples, or gotchas)
|
|
122
|
+
- Requirements were ambiguous but no clarification was sought
|
|
123
|
+
|
|
124
|
+
**Fix:** Add analysis step, define expected outcome, verify with linter/tests, restore any lost content.
|
|
125
|
+
|
|
126
|
+
## Pre-check: Should this be a skill at all?
|
|
127
|
+
|
|
128
|
+
Before scoring the 5 Killers, ask: **Does this belong as a skill?**
|
|
129
|
+
|
|
130
|
+
| If the content is... | Verdict |
|
|
131
|
+
|---|---|
|
|
132
|
+
| Standard tool usage (jq, docker exec, git commands) | ❌ **Not a skill** — baseline model knowledge |
|
|
133
|
+
| Single-command operations without decision logic | ❌ **Not a skill** — too thin for a workflow |
|
|
134
|
+
| Always-true constraint ("never X", "always Y") | ❌ **Not a skill** — should be a Rule |
|
|
135
|
+
| Coding conventions / reference material | ❌ **Not a skill** — should be a Guideline |
|
|
136
|
+
| Step-by-step workflow with decisions and validation | ✅ **Skill** — proceed with review |
|
|
137
|
+
| Error-prone process that models get wrong without guidance | ✅ **Skill** — even if steps seem simple |
|
|
138
|
+
|
|
139
|
+
If the skill fails this pre-check → recommend: migrate (rule/guideline), absorb (into existing skill), or delete.
|
|
140
|
+
|
|
141
|
+
## Structural Validation (pre-review)
|
|
142
|
+
|
|
143
|
+
Before scoring the 5 Killers, verify structure:
|
|
144
|
+
|
|
145
|
+
**Skills** — required sections:
|
|
146
|
+
- When to use (with "Do not use when")
|
|
147
|
+
- Procedure (numbered steps OR `###` sub-headings — NOT just a renamed heading with prose)
|
|
148
|
+
- Concrete validation step inside Procedure (must contain: verify, confirm, must pass, run test, etc.)
|
|
149
|
+
- Gotchas
|
|
150
|
+
- Do NOT
|
|
151
|
+
|
|
152
|
+
**Linter:** Run `python3 scripts/skill_linter.py` on any skill after review — must be 0 FAIL.
|
|
153
|
+
|
|
154
|
+
**Rules** — must be:
|
|
155
|
+
- Short and directive
|
|
156
|
+
- Always-applicable (no situational triggers)
|
|
157
|
+
- Not procedural (no numbered steps — that's a skill)
|
|
158
|
+
|
|
159
|
+
**Compression safety** (if compressed version exists):
|
|
160
|
+
- Trigger clarity preserved
|
|
161
|
+
- Decision hints or equivalent present
|
|
162
|
+
- Concrete validation still present
|
|
163
|
+
- Gotchas/anti-failure protection retained
|
|
164
|
+
|
|
165
|
+
**Merge/refactor safety** (if reviewing a merge, refactor, or restructuring):
|
|
166
|
+
- Apply `preservation-guard` rule checklist
|
|
167
|
+
- Strongest validation, example, and anti-pattern must survive
|
|
168
|
+
- Scope must not broaden from merging unrelated concerns
|
|
169
|
+
- Strong language must not be weakened
|
|
170
|
+
|
|
171
|
+
**Scope check:**
|
|
172
|
+
- No overlap with existing skill or rule (name + description)
|
|
173
|
+
- Single workflow per file (multiple workflows → split)
|
|
174
|
+
- Update existing preferred over creating new file
|
|
175
|
+
|
|
176
|
+
## Procedure: Review a skill
|
|
177
|
+
|
|
178
|
+
### Single skill
|
|
179
|
+
1. Validate structure (required sections present)
|
|
180
|
+
2. Score each killer: ✅ Pass / ⚠️ Weak / ❌ Fail
|
|
181
|
+
3. Check compression safety (if applicable)
|
|
182
|
+
4. Produce a verdict table + specific fix suggestions
|
|
183
|
+
|
|
184
|
+
### Batch audit
|
|
185
|
+
1. Scan all skills in `.augment/skills/`
|
|
186
|
+
2. For each: check description format, line count, gotcha presence
|
|
187
|
+
3. Produce a summary table sorted by severity
|
|
188
|
+
4. Group fixes by type (e.g., "these 20 need description rewrites")
|
|
189
|
+
|
|
190
|
+
## Output Format
|
|
191
|
+
|
|
192
|
+
```markdown
|
|
193
|
+
| Skill | K1 Desc | K2 Over | K3 Obvious | K4 Gotcha | K5 Size | K6 Pointer | K7 Analysis | Verdict |
|
|
194
|
+
|---|---|---|---|---|---|---|---|---|
|
|
195
|
+
| dto-creator | ❌ | ✅ | ✅ | ⚠️ | ✅ | ✅ | ✅ | Fix description |
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
## Output format
|
|
199
|
+
|
|
200
|
+
1. Review report with pass/fail per checklist item
|
|
201
|
+
2. Prioritized fix recommendations
|
|
202
|
+
|
|
203
|
+
## Gotcha
|
|
204
|
+
|
|
205
|
+
- Don't rewrite skills unnecessarily — only fix actual killer violations.
|
|
206
|
+
- A description that works (triggers correctly) is fine even if not perfect.
|
|
207
|
+
- Gotcha sections grow organically — seed them, don't force 10 entries.
|
|
208
|
+
- "Stating the obvious" is relative to the MODEL, not to junior developers.
|
|
209
|
+
If the model consistently gets something wrong, it's NOT obvious — keep it.
|
|
210
|
+
- Skills under 50 lines rarely have Killer 5 problems — skip that check.
|
|
211
|
+
- Flag any "Related skills" section — the agent discovers skills via `<available_skills>` descriptions. Cross-links waste tokens and create maintenance burden. Recommend removal.
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
## Do NOT
|
|
215
|
+
|
|
216
|
+
- Do NOT rewrite skills that pass all 7 killers — leave them alone.
|
|
217
|
+
- Do NOT add "Related skills" cross-links — the agent discovers via descriptions.
|
|
218
|
+
- Do NOT force Gotcha entries — seed naturally from real failures.
|