@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,144 @@
|
|
|
1
|
+
# Architecture
|
|
2
|
+
|
|
3
|
+
## System overview
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
Rules → Behavior enforcement (always active) ← stable
|
|
7
|
+
Skills → Execution logic (on-demand expertise) ← stable
|
|
8
|
+
Runtime → Dispatcher + shell handler (pilot skills) ← partial
|
|
9
|
+
Tools → External integrations (GitHub, Jira) ← experimental
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
**Stable** = shipped, documented, exercised by the default (`minimal`) profile.
|
|
13
|
+
**Experimental** = scaffold with tests and data model, but no real execution
|
|
14
|
+
wired up yet.
|
|
15
|
+
|
|
16
|
+
> The previous "observability, feedback, lifecycle" layers were removed in
|
|
17
|
+
> 1.5 — they were scaffolds without production consumers. See the
|
|
18
|
+
> [`archive/road-to-9.md`](../agents/roadmaps/archive/road-to-9.md) roadmap,
|
|
19
|
+
> phase 4, for the rationale.
|
|
20
|
+
|
|
21
|
+
## Content pipeline
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
.agent-src.uncompressed/ ← Source of truth (verbose, human-readable)
|
|
25
|
+
↓ /compress command
|
|
26
|
+
.agent-src/ ← Compressed output (token-efficient, shipped in the package)
|
|
27
|
+
↓ project_to_augment() — copies rules, symlinks rest
|
|
28
|
+
.augment/ ← Local projection for Augment Code (gitignored)
|
|
29
|
+
↓ install.sh (Cursor, Cline, Windsurf, Augment VSCode) / plugin system
|
|
30
|
+
.claude/ .cursor/ .clinerules/ ← Tool-specific symlinks/copies (auto-generated)
|
|
31
|
+
.windsurfrules GEMINI.md
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## What's inside
|
|
35
|
+
|
|
36
|
+
| Layer | Count | Purpose |
|
|
37
|
+
|---|---|---|
|
|
38
|
+
| **Skills** | 93 | On-demand expertise — Laravel, testing, Docker, API design, security, ... |
|
|
39
|
+
| **Rules** | 31 | Always-active constraints — coding standards, scope control, verification |
|
|
40
|
+
| **Commands** | 51 | Slash-command workflows — `/commit`, `/create-pr`, `/fix-ci`, `/compress`, ... |
|
|
41
|
+
| **Guidelines** | 34 | Coding guidelines by language — PHP patterns, Eloquent, Playwright, ... |
|
|
42
|
+
| **Templates** | 7 | Scaffolds for features, roadmaps, contexts, skills, overrides |
|
|
43
|
+
| **Contexts** | 5 | Shared knowledge about the system itself |
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
## Layers
|
|
48
|
+
|
|
49
|
+
### 1. Governance Layer
|
|
50
|
+
|
|
51
|
+
- **Rules** → always-active behavior constraints
|
|
52
|
+
- **Skills** → structured, executable procedures
|
|
53
|
+
- **Guidelines** → reference-only documentation
|
|
54
|
+
- **Commands** → workflow orchestration
|
|
55
|
+
|
|
56
|
+
Ensures: no guessing, analysis before action, real verification, consistent outputs.
|
|
57
|
+
|
|
58
|
+
### 2. Execution Layer (Runtime) — partially real, partially scaffold
|
|
59
|
+
|
|
60
|
+
> **Status:**
|
|
61
|
+
> - **Real:** shell-handler path — skills that declare an `execution.command`
|
|
62
|
+
> argv are dispatched and executed by `scripts/runtime_handler.py`. A typed
|
|
63
|
+
> `ExecutionResult` (exit code, stdout, stderr, duration, artifacts) is
|
|
64
|
+
> returned and can be persisted as JSON via `--output FILE`. Pilots:
|
|
65
|
+
> `lint-skills`, `check-refs`. Both run on every PR and appear in the
|
|
66
|
+
> GitHub Step Summary via `scripts/ci_summary.py`.
|
|
67
|
+
> - **Scaffold:** `php` and `node` handlers — the frontmatter accepts them
|
|
68
|
+
> and the registry validates them, but no handler implementation exists
|
|
69
|
+
> yet.
|
|
70
|
+
|
|
71
|
+
Skills opt into runtime by declaring execution metadata:
|
|
72
|
+
|
|
73
|
+
```yaml
|
|
74
|
+
execution:
|
|
75
|
+
type: manual | assisted | automated
|
|
76
|
+
handler: shell | php | node | internal | none
|
|
77
|
+
command: # required for shell/php/node runtime paths
|
|
78
|
+
- python3
|
|
79
|
+
- scripts/skill_linter.py
|
|
80
|
+
- "--all"
|
|
81
|
+
timeout_seconds: 120
|
|
82
|
+
allowed_tools: []
|
|
83
|
+
safety_mode: strict # required for type=automated
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
Invoke a runtime-capable skill end-to-end:
|
|
87
|
+
|
|
88
|
+
```bash
|
|
89
|
+
python3 scripts/runtime_dispatcher.py run --skill lint-skills
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
The dispatcher resolves the skill, enforces safety constraints, then hands
|
|
93
|
+
off to the matching handler. Environment is scrubbed to an explicit
|
|
94
|
+
allowlist; `subprocess.run` is invoked with `shell=False` (argv only).
|
|
95
|
+
|
|
96
|
+
Planned scope (still to come): `php` / `node` handlers, tool-registry
|
|
97
|
+
wiring for `allowed_tools`, streaming output.
|
|
98
|
+
|
|
99
|
+
### 3. Tool Integration — experimental
|
|
100
|
+
|
|
101
|
+
> **Status: scaffold + read-only GitHub calls.** With a `GITHUB_TOKEN` the
|
|
102
|
+
> GitHub adapter performs real read calls; without one it returns scaffold
|
|
103
|
+
> data. Write operations (`create_pr`, `comment`, etc.) are scaffold only.
|
|
104
|
+
> The Jira adapter is scaffold throughout.
|
|
105
|
+
|
|
106
|
+
Controlled integration via adapters:
|
|
107
|
+
|
|
108
|
+
- GitHub adapter (read-first: PRs, issues, files, commits)
|
|
109
|
+
- Jira adapter (read-first: tickets, search)
|
|
110
|
+
- Tool registry with safety rules for execution
|
|
111
|
+
- Structured responses with error classification
|
|
112
|
+
|
|
113
|
+
### 4. Cost Control
|
|
114
|
+
|
|
115
|
+
> **Key principle:** Opt-in by default.
|
|
116
|
+
|
|
117
|
+
The dispatcher and tool adapters activate only under the `balanced` or
|
|
118
|
+
`full` profile. The default `minimal` profile ships rules, skills, and
|
|
119
|
+
commands and nothing else. All settings and their profile defaults are
|
|
120
|
+
documented in
|
|
121
|
+
[`.agent-src.uncompressed/templates/agent-settings.md`](../.agent-src.uncompressed/templates/agent-settings.md).
|
|
122
|
+
|
|
123
|
+
---
|
|
124
|
+
|
|
125
|
+
## Supported AI Tools
|
|
126
|
+
|
|
127
|
+
| Tool | Rules | Skills | Commands | Plugin | Method |
|
|
128
|
+
|---|---|---|---|---|---|
|
|
129
|
+
| **Augment CLI** | ✅ | ✅ | ✅ | ✅ | Native plugin (recommended) |
|
|
130
|
+
| **Augment VSCode/IntelliJ** | ✅ | ✅ | ✅ | — | install.sh (copies + symlinks) |
|
|
131
|
+
| **Claude Code** | ✅ | ✅ | ✅ | ✅ | Native plugin (recommended) |
|
|
132
|
+
| **Copilot CLI** | ✅ | ✅ | ✅ | ✅ | Native plugin (recommended) |
|
|
133
|
+
| **Cursor** | ✅ | — | — | — | install.sh (symlinks) |
|
|
134
|
+
| **Cline** | ✅ | — | — | — | install.sh (symlinks) |
|
|
135
|
+
| **Windsurf** | ✅ | — | — | — | install.sh (concatenated) |
|
|
136
|
+
| **Gemini CLI** | ✅ | — | — | — | install.sh (symlink → AGENTS.md) |
|
|
137
|
+
|
|
138
|
+
Skills use a `SKILL.md` format with YAML frontmatter, compatible with the
|
|
139
|
+
[Agent Skills](https://agentskills.io) community spec and with Claude Code's
|
|
140
|
+
Agent Skills specification.
|
|
141
|
+
|
|
142
|
+
---
|
|
143
|
+
|
|
144
|
+
← [Back to README](../README.md)
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
# Customization
|
|
2
|
+
|
|
3
|
+
## Override System
|
|
4
|
+
|
|
5
|
+
The project override system allows consumer projects to extend or replace shared skills,
|
|
6
|
+
rules, and commands **without modifying the package**.
|
|
7
|
+
|
|
8
|
+
```
|
|
9
|
+
agents/overrides/
|
|
10
|
+
├── skills/ ← Override skill behavior
|
|
11
|
+
│ └── pest-testing/
|
|
12
|
+
│ └── SKILL.md ← Replaces .augment/skills/pest-testing/SKILL.md
|
|
13
|
+
├── rules/ ← Override rule behavior
|
|
14
|
+
│ └── php-coding.md ← Replaces .augment/rules/php-coding.md
|
|
15
|
+
└── commands/ ← Override command behavior
|
|
16
|
+
└── commit/
|
|
17
|
+
└── SKILL.md
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
**Resolution order:** project override → shared package (`.augment/`).
|
|
21
|
+
|
|
22
|
+
Overrides are project-specific and should be committed to the consumer project.
|
|
23
|
+
Use the `/override-create` command to scaffold a new override.
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## AGENTS.md
|
|
28
|
+
|
|
29
|
+
Every consumer project should have an `AGENTS.md` at the project root.
|
|
30
|
+
The installer copies a default version if none exists.
|
|
31
|
+
|
|
32
|
+
`AGENTS.md` provides project-specific context to the agent: tech stack, conventions,
|
|
33
|
+
module structure, test setup, and quality tooling.
|
|
34
|
+
|
|
35
|
+
It is loaded by Claude Code, Augment Code, and Gemini CLI.
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## Agent Settings
|
|
40
|
+
|
|
41
|
+
The `.agent-settings.yml` file in the consumer project configures agent behavior.
|
|
42
|
+
It is written as YAML with section-level grouping; dotted keys below reference
|
|
43
|
+
those sections.
|
|
44
|
+
|
|
45
|
+
### Available settings
|
|
46
|
+
|
|
47
|
+
| Setting | Default | Description |
|
|
48
|
+
|---|---|---|
|
|
49
|
+
| `cost_profile` | `minimal` | Token budget (`minimal`, `balanced`, `full`, `custom`) |
|
|
50
|
+
| `personal.user_name` | *(empty)* | User's first name for personalized responses |
|
|
51
|
+
| `personal.minimal_output` | `true` | Suppress intermediate output |
|
|
52
|
+
| `personal.play_by_play` | `false` | Share intermediate findings during analysis |
|
|
53
|
+
| `personal.open_edited_files` | `false` | Open edited files in IDE |
|
|
54
|
+
| `personal.ide` | *(empty)* | IDE for file opening (`cursor`, `code`, `phpstorm`) |
|
|
55
|
+
| `pipelines.skill_improvement` | `false` | Enable post-task learning capture |
|
|
56
|
+
|
|
57
|
+
### Cost profiles
|
|
58
|
+
|
|
59
|
+
| Profile | Description |
|
|
60
|
+
|---|---|
|
|
61
|
+
| `minimal` | Zero extra surface. Rules, skills, and commands only. |
|
|
62
|
+
| `balanced` | + Runtime dispatcher for skills that declare a shell command. |
|
|
63
|
+
| `full` | + Tool adapters (GitHub / Jira, read-only, opt-in). |
|
|
64
|
+
| `custom` | Ignore profile — every matrix value must be set explicitly. |
|
|
65
|
+
|
|
66
|
+
The authoritative matrix of all matrix-controlled settings lives in
|
|
67
|
+
[`.agent-src.uncompressed/templates/agent-settings.md`](../.agent-src.uncompressed/templates/agent-settings.md).
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
## Project documentation
|
|
72
|
+
|
|
73
|
+
Consumer projects can maintain their own agent documentation:
|
|
74
|
+
|
|
75
|
+
```
|
|
76
|
+
agents/
|
|
77
|
+
├── docs/ ← Feature docs, architecture decisions
|
|
78
|
+
├── contexts/ ← Shared knowledge documents
|
|
79
|
+
├── features/ ← Feature plans
|
|
80
|
+
├── roadmaps/ ← Active roadmaps
|
|
81
|
+
└── overrides/ ← Skill/rule/command overrides
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
Module-level documentation goes into `app/Modules/*/agents/`.
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
|
|
88
|
+
← [Back to README](../README.md)
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
# Development
|
|
2
|
+
|
|
3
|
+
## Prerequisites
|
|
4
|
+
|
|
5
|
+
- [Task](https://taskfile.dev/) (task runner)
|
|
6
|
+
- Python 3.10+ (for linter, compression tools)
|
|
7
|
+
- Bash (for install scripts, tests)
|
|
8
|
+
|
|
9
|
+
## Editing content
|
|
10
|
+
|
|
11
|
+
1. **Always edit in `.agent-src.uncompressed/`** — never in `.agent-src/` or `.augment/` directly
|
|
12
|
+
2. Run `task sync` to copy non-`.md` files
|
|
13
|
+
3. Use the `/compress` command to compress changed `.md` files
|
|
14
|
+
4. Run `task ci` to verify everything passes before pushing
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## Task Commands
|
|
19
|
+
|
|
20
|
+
All commands use [Task](https://taskfile.dev/). See `Taskfile.yml` for the full list.
|
|
21
|
+
|
|
22
|
+
### CI & Verification
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
task ci # Run ALL CI checks locally (must pass before push)
|
|
26
|
+
task consistency # Verify sync + generated tool outputs are clean
|
|
27
|
+
task consistency-fix # Regenerate all derived outputs from source
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
### Sync & Compression
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
task sync # .agent-src.uncompressed/ → .agent-src/, then project → .augment/
|
|
34
|
+
task sync-changed # List .md files changed since last compression
|
|
35
|
+
task sync-check # Check if .agent-src/ is in sync (for CI)
|
|
36
|
+
task sync-check-hashes # Verify compressed .md hashes match source
|
|
37
|
+
task sync-mark-done <file> # Mark a single file as compressed
|
|
38
|
+
task sync-mark-all-done # Mark ALL files as compressed
|
|
39
|
+
task sync-clean-hashes # Remove stale hashes for deleted source files
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### Tool Generation
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
task generate-tools # Regenerate .claude/, .cursor/, .clinerules/, .windsurfrules, GEMINI.md
|
|
46
|
+
task clean-tools # Remove all generated tool directories
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
### Testing
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
task test # Run all tests (bash + Python)
|
|
53
|
+
task test-install # Install script integration tests
|
|
54
|
+
task test-python # Compression and linter tests
|
|
55
|
+
task test-linter # Skill linter unit tests
|
|
56
|
+
task test-readme-linter # README linter unit tests
|
|
57
|
+
task test-runtime # Runtime registry + dispatcher tests
|
|
58
|
+
task test-tools # Tool registry + adapter tests
|
|
59
|
+
task test-runtime-all # All runtime and tools tests
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
#### CI test matrix
|
|
63
|
+
|
|
64
|
+
GitHub Actions runs the suite on every push and PR across:
|
|
65
|
+
|
|
66
|
+
| Runner | Python versions |
|
|
67
|
+
|---|---|
|
|
68
|
+
| `ubuntu-latest` | 3.10, 3.11, 3.12, 3.13 |
|
|
69
|
+
| `macos-latest` | 3.12 |
|
|
70
|
+
|
|
71
|
+
The matrix enforces the "Python 3.10+, stdlib only" guarantee from
|
|
72
|
+
`CONTRIBUTING.md`. Installer integration tests (`test_install.sh`,
|
|
73
|
+
`test_install_orchestrator.sh`) run on both Linux and macOS. Windows
|
|
74
|
+
is not part of the matrix — consumers on Windows use WSL2 (see
|
|
75
|
+
[installation guide](installation.md#windows)).
|
|
76
|
+
|
|
77
|
+
### Linting
|
|
78
|
+
|
|
79
|
+
```bash
|
|
80
|
+
task lint-skills # Lint all skills, rules, and commands
|
|
81
|
+
task lint-skills-strict # Lint with warnings as failures
|
|
82
|
+
task lint-skills-changed # Lint only changed files
|
|
83
|
+
task lint-skills-report # Per-file quality breakdown
|
|
84
|
+
task lint-skills-regression # Compare against main branch (detect regressions)
|
|
85
|
+
task lint-skills-pairs # Check compression quality (source vs compressed)
|
|
86
|
+
task lint-readme # Lint README.md
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
### Quality Checks
|
|
90
|
+
|
|
91
|
+
```bash
|
|
92
|
+
task check-compression # Verify code blocks, headings, frontmatter preserved
|
|
93
|
+
task check-refs # No broken cross-references
|
|
94
|
+
task check-portability # No project-specific references in shared files
|
|
95
|
+
task quality-report # Per-artifact-type quality scores
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
### Runtime & Lifecycle
|
|
99
|
+
|
|
100
|
+
```bash
|
|
101
|
+
task runtime-list # List all runtime-capable skills
|
|
102
|
+
task runtime-validate # Validate runtime registry consistency
|
|
103
|
+
task runtime-e2e # Dispatch each pilot skill (CI gate)
|
|
104
|
+
task tool-list # List all registered tools
|
|
105
|
+
task tool-validate # Validate tool declarations
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
### Installation
|
|
109
|
+
|
|
110
|
+
```bash
|
|
111
|
+
task install -- --target <dir> # Run the installer orchestrator on a target
|
|
112
|
+
task install-hooks # Install git hooks (pre-push sync check)
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
---
|
|
116
|
+
|
|
117
|
+
## Project Structure
|
|
118
|
+
|
|
119
|
+
```
|
|
120
|
+
.augment-plugin/ ← Plugin manifest (Augment CLI + Claude Code)
|
|
121
|
+
.claude-plugin/ ← Plugin manifest (Claude Code)
|
|
122
|
+
.github/plugin/ ← Plugin manifest (Copilot CLI)
|
|
123
|
+
|
|
124
|
+
scripts/
|
|
125
|
+
├── install ← Primary installer (orchestrator)
|
|
126
|
+
├── install.sh ← Payload sync stage (hybrid copy + symlink)
|
|
127
|
+
├── install.py ← Bridge files stage (.agent-settings.yml, JSONs)
|
|
128
|
+
├── postinstall.sh ← npm postinstall hook → scripts/install
|
|
129
|
+
├── setup.sh ← One-time Composer hook setup
|
|
130
|
+
├── compress.py ← Compression hash management
|
|
131
|
+
├── check_compression.py ← Compression quality checker
|
|
132
|
+
├── skill_linter.py ← Skill/rule/command linter
|
|
133
|
+
├── lint_regression.py ← Branch regression detection
|
|
134
|
+
├── generate_tools.sh ← Generate tool-specific directories
|
|
135
|
+
├── check_references.py ← Cross-reference validator
|
|
136
|
+
├── ci_summary.py ← GitHub Actions job summary (dispatcher runs)
|
|
137
|
+
└── tools/
|
|
138
|
+
├── base_adapter.py ← Tool adapter contract
|
|
139
|
+
├── github_adapter.py ← GitHub API adapter
|
|
140
|
+
└── jira_adapter.py ← Jira API adapter
|
|
141
|
+
|
|
142
|
+
tests/
|
|
143
|
+
├── test_install.sh ← install.sh payload-sync integration tests
|
|
144
|
+
├── test_install_orchestrator.sh ← scripts/install end-to-end tests
|
|
145
|
+
├── test_skill_linter.py ← Linter unit tests
|
|
146
|
+
└── test_ci_summary.py ← CI summary tests
|
|
147
|
+
|
|
148
|
+
.github/workflows/
|
|
149
|
+
├── skill-lint.yml ← Lint + PR comment workflow
|
|
150
|
+
└── consistency.yml ← Sync + hash + tool verification
|
|
151
|
+
templates/consumer-settings/ ← Settings templates for consumer projects
|
|
152
|
+
|
|
153
|
+
.agent-src.uncompressed/ ← Source of truth (human-readable, verbose)
|
|
154
|
+
├── rules/ ← Behavior rules
|
|
155
|
+
├── skills/ ← Skill definitions (SKILL.md per skill)
|
|
156
|
+
├── commands/ ← Slash command definitions
|
|
157
|
+
├── guidelines/ ← Coding guidelines by language
|
|
158
|
+
├── templates/ ← Document scaffolds
|
|
159
|
+
└── contexts/ ← System knowledge documents
|
|
160
|
+
|
|
161
|
+
.agent-src/ ← Compressed output (token-efficient, shipped)
|
|
162
|
+
├── (same structure) ← Compressed .md + copied non-.md files
|
|
163
|
+
|
|
164
|
+
.augment/ ← Local projection for Augment Code (gitignored)
|
|
165
|
+
├── rules/ ← Real file copies (Augment cannot load symlinked rules)
|
|
166
|
+
└── skills/, commands/, ... ← Symlinks → ../.agent-src/<sub>
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
---
|
|
170
|
+
|
|
171
|
+
← [Back to README](../README.md)
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
# Getting Started
|
|
2
|
+
|
|
3
|
+
## Installation
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
# Composer (PHP) — two steps: install, then run the orchestrator
|
|
7
|
+
composer require --dev event4u/agent-config
|
|
8
|
+
php vendor/bin/install.php
|
|
9
|
+
# Equivalent: bash vendor/event4u/agent-config/scripts/install
|
|
10
|
+
|
|
11
|
+
# npm (JavaScript/TypeScript) — the orchestrator runs via postinstall
|
|
12
|
+
npm install --save-dev @event4u/agent-config
|
|
13
|
+
# Re-run or pick a profile:
|
|
14
|
+
# bash node_modules/@event4u/agent-config/scripts/install --profile=balanced
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
That's it. Your agent now follows your team's standards. The orchestrator
|
|
18
|
+
runs a bash payload sync and a Python bridge generator (Python 3 is
|
|
19
|
+
recommended; without it the payload sync still runs). No Task or Make
|
|
20
|
+
required for end users.
|
|
21
|
+
|
|
22
|
+
## First Run
|
|
23
|
+
|
|
24
|
+
Open your agent and try the 3 tests below. That's it — no additional tools needed.
|
|
25
|
+
|
|
26
|
+
**Optional:** For a guided walkthrough, run `task first-run` (requires [Task](https://taskfile.dev/)).
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## The 3-Test Experience (5 minutes)
|
|
31
|
+
|
|
32
|
+
After installation, try these 3 prompts with your AI agent.
|
|
33
|
+
Each one demonstrates a specific governance behavior.
|
|
34
|
+
|
|
35
|
+
### Test 1: Refactoring check
|
|
36
|
+
|
|
37
|
+
```
|
|
38
|
+
Refactor this function
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
**Watch for:**
|
|
42
|
+
- Agent analyzes the function BEFORE coding
|
|
43
|
+
- Agent identifies issues and patterns first
|
|
44
|
+
- Agent proposes a structured approach, then implements
|
|
45
|
+
|
|
46
|
+
**What powers this:** `think-before-action` rule, `developer-like-execution` skill
|
|
47
|
+
|
|
48
|
+
### Test 2: Ambiguity check
|
|
49
|
+
|
|
50
|
+
```
|
|
51
|
+
Add caching to this
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
**Watch for:**
|
|
55
|
+
- Agent asks targeted clarification questions
|
|
56
|
+
- Agent does NOT guess which caching layer you mean
|
|
57
|
+
- Agent identifies what's missing before proceeding
|
|
58
|
+
|
|
59
|
+
**What powers this:** `ask-when-uncertain` rule, `improve-before-implement` rule
|
|
60
|
+
|
|
61
|
+
### Test 3: Feature-fit check
|
|
62
|
+
|
|
63
|
+
```
|
|
64
|
+
Implement this feature
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
**Watch for:**
|
|
68
|
+
- Agent reads your existing code patterns first
|
|
69
|
+
- Agent follows your project conventions
|
|
70
|
+
- Agent flags potential issues or better alternatives
|
|
71
|
+
|
|
72
|
+
**What powers this:** `improve-before-implement` rule, `validate-feature-fit` skill
|
|
73
|
+
|
|
74
|
+
---
|
|
75
|
+
|
|
76
|
+
## What you just experienced
|
|
77
|
+
|
|
78
|
+
Your agent is now:
|
|
79
|
+
- **Analyzing before acting** — no blind edits
|
|
80
|
+
- **Asking when unclear** — no guessing
|
|
81
|
+
- **Respecting your codebase** — no conflicting patterns
|
|
82
|
+
- **Following standards** — consistent code quality
|
|
83
|
+
|
|
84
|
+
This is enforced automatically by 44 rules. No configuration needed.
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
|
|
88
|
+
## Profiles
|
|
89
|
+
|
|
90
|
+
The system supports four configuration profiles:
|
|
91
|
+
|
|
92
|
+
| Profile | What's active | Token overhead | Best for |
|
|
93
|
+
|---|---|---|---|
|
|
94
|
+
| `minimal` | Rules + Skills + Commands | Zero | New users, solo devs |
|
|
95
|
+
| `balanced` | + Runtime dispatcher (shell handler) | Low | Most teams |
|
|
96
|
+
| `full` | + Tool adapters (GitHub / Jira, read-only) | Moderate | Platform teams |
|
|
97
|
+
|
|
98
|
+
Set your profile in `.agent-settings.yml`:
|
|
99
|
+
|
|
100
|
+
```yaml
|
|
101
|
+
cost_profile: minimal
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
You can override any individual setting. See [Customization](customization.md) for details.
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
## Available commands
|
|
109
|
+
|
|
110
|
+
Your agent now understands slash commands:
|
|
111
|
+
|
|
112
|
+
| Command | What it does |
|
|
113
|
+
|---|---|
|
|
114
|
+
| `/commit` | Stage and commit with Conventional Commits |
|
|
115
|
+
| `/create-pr` | Create PR with Jira-linked description |
|
|
116
|
+
| `/fix-ci` | Fetch and fix GitHub Actions failures |
|
|
117
|
+
| `/quality-fix` | Run and fix all quality checks |
|
|
118
|
+
|
|
119
|
+
→ [Browse all 67 commands](../.agent-src/commands/)
|
|
120
|
+
|
|
121
|
+
---
|
|
122
|
+
|
|
123
|
+
## Next steps
|
|
124
|
+
|
|
125
|
+
1. **Stay on `minimal`** — use it for a few days, see if the difference is noticeable
|
|
126
|
+
2. **Try commands** — `/commit`, `/create-pr`, `/fix-ci` are great starting points
|
|
127
|
+
3. **Upgrade when ready** — switch to `balanced` to let the runtime dispatcher execute skills that declare a shell command
|
|
128
|
+
4. **Customize** — add [project overrides](customization.md) for your team's specific patterns
|
|
129
|
+
|
|
130
|
+
→ [Full documentation](../README.md#documentation)
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# GitHub Topics
|
|
2
|
+
|
|
3
|
+
GitHub Topics improve repository discoverability. They are stored as **repository metadata**
|
|
4
|
+
on GitHub — they cannot be set via files in the repository. This page documents the
|
|
5
|
+
recommended topics so a maintainer can apply them via the GitHub UI or API.
|
|
6
|
+
|
|
7
|
+
## Recommended topics
|
|
8
|
+
|
|
9
|
+
Set on `github.com/event4u-app/agent-config` → **Settings → About → Topics**:
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
ai-coding
|
|
13
|
+
agent-skills
|
|
14
|
+
agent-rules
|
|
15
|
+
governance
|
|
16
|
+
laravel
|
|
17
|
+
php
|
|
18
|
+
devcontainer
|
|
19
|
+
augment-agent
|
|
20
|
+
claude-code
|
|
21
|
+
copilot
|
|
22
|
+
agentskills-standard
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Rationale
|
|
26
|
+
|
|
27
|
+
| Topic | Why |
|
|
28
|
+
|---|---|
|
|
29
|
+
| `ai-coding` | Primary category — discovered via "AI coding assistant" searches |
|
|
30
|
+
| `agent-skills` | Aligns with the [Agent Skills](https://agentskills.io) community spec |
|
|
31
|
+
| `agent-rules` | Complementary — rules govern behavior, skills provide expertise |
|
|
32
|
+
| `governance` | Differentiates from prompt collections |
|
|
33
|
+
| `laravel` | Primary domain — Laravel projects are the main audience |
|
|
34
|
+
| `php` | Broader PHP audience |
|
|
35
|
+
| `devcontainer` | One of our 4 core concerns |
|
|
36
|
+
| `augment-agent`, `claude-code`, `copilot` | Tool-specific discovery |
|
|
37
|
+
| `agentskills-standard` | SKILL.md format is compatible with the agentskills.io spec |
|
|
38
|
+
|
|
39
|
+
## How to apply
|
|
40
|
+
|
|
41
|
+
### Via GitHub UI
|
|
42
|
+
|
|
43
|
+
1. Open the repository on github.com.
|
|
44
|
+
2. Click the gear icon next to **About** on the right sidebar.
|
|
45
|
+
3. Add each topic under **Topics** (max 20 per repo).
|
|
46
|
+
4. Save.
|
|
47
|
+
|
|
48
|
+
### Via GitHub CLI
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
gh repo edit event4u-app/agent-config \
|
|
52
|
+
--add-topic ai-coding \
|
|
53
|
+
--add-topic agent-skills \
|
|
54
|
+
--add-topic agent-rules \
|
|
55
|
+
--add-topic governance \
|
|
56
|
+
--add-topic laravel \
|
|
57
|
+
--add-topic php \
|
|
58
|
+
--add-topic devcontainer \
|
|
59
|
+
--add-topic augment-agent \
|
|
60
|
+
--add-topic claude-code \
|
|
61
|
+
--add-topic copilot \
|
|
62
|
+
--add-topic agentskills-standard
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
### Via GitHub REST API
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
curl -X PUT \
|
|
69
|
+
-H "Authorization: Bearer $GITHUB_TOKEN" \
|
|
70
|
+
-H "Accept: application/vnd.github+json" \
|
|
71
|
+
https://api.github.com/repos/event4u-app/agent-config/topics \
|
|
72
|
+
-d '{"names":["ai-coding","agent-skills","agent-rules","governance","laravel","php","devcontainer","augment-agent","claude-code","copilot","agentskills-standard"]}'
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
## Verify
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
gh repo view event4u-app/agent-config --json repositoryTopics \
|
|
79
|
+
--jq '.repositoryTopics[].name'
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
← [Back to README](../README.md)
|