@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,72 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: lint-skills
|
|
3
|
+
description: "Use when running the package's skill linter against all skills and rules to validate frontmatter, required sections, and execution metadata."
|
|
4
|
+
source: package
|
|
5
|
+
execution:
|
|
6
|
+
type: assisted
|
|
7
|
+
handler: shell
|
|
8
|
+
timeout_seconds: 120
|
|
9
|
+
allowed_tools: []
|
|
10
|
+
command:
|
|
11
|
+
- python3
|
|
12
|
+
- scripts/skill_linter.py
|
|
13
|
+
- "--all"
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
# lint-skills
|
|
17
|
+
|
|
18
|
+
## When to use
|
|
19
|
+
|
|
20
|
+
- Validate shape of every skill/rule in `.agent-src.uncompressed/`
|
|
21
|
+
- Verify `execution:` metadata is well-formed
|
|
22
|
+
- Pre-PR local check before CI skill-lint job
|
|
23
|
+
- Investigate reported linter failure
|
|
24
|
+
|
|
25
|
+
NOT: single file (call `skill_linter.py <path>`), cross-refs (use `check-refs`),
|
|
26
|
+
compression freshness (use `task sync-check`).
|
|
27
|
+
|
|
28
|
+
## Procedure
|
|
29
|
+
|
|
30
|
+
1. **Inspect env** — `python3` on PATH, cwd = agent-config repo root (linter
|
|
31
|
+
resolves `.agent-src.uncompressed/skills/` relative to cwd).
|
|
32
|
+
2. **Dispatch via runtime** —
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
python3 scripts/runtime_dispatcher.py run --skill lint-skills
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Handler runs `python3 scripts/skill_linter.py --all`, captures stdout/stderr,
|
|
39
|
+
returns typed `ExecutionResult`.
|
|
40
|
+
3. **Verify result** —
|
|
41
|
+
- `status: success` + `exit_code: 0` → all clean
|
|
42
|
+
- `exit_code: 1` → warnings only — review stdout
|
|
43
|
+
- `exit_code: 2` → errors — fix flagged files
|
|
44
|
+
- `status: timeout` → investigate slowdown, do not just raise timeout
|
|
45
|
+
- `status: error` → interpreter missing or wrong cwd
|
|
46
|
+
|
|
47
|
+
## Output
|
|
48
|
+
|
|
49
|
+
1. One-line summary: status, exit code, duration (ms)
|
|
50
|
+
2. Count of skills/rules inspected if known
|
|
51
|
+
3. First 10 errored files: code + message
|
|
52
|
+
4. Next action: fix, re-run, or surface raw stdout
|
|
53
|
+
|
|
54
|
+
## Gotcha
|
|
55
|
+
|
|
56
|
+
- `--all` walks full tree — several seconds; bump `timeout_seconds` if repo grew
|
|
57
|
+
- Running outside repo root → zero skills inspected, looks green but is a no-op
|
|
58
|
+
- `exit_code: 1` (warnings) does not fail CI — not the same as "clean"
|
|
59
|
+
|
|
60
|
+
## Do NOT
|
|
61
|
+
|
|
62
|
+
- Do NOT call `skill_linter.py` directly when the intent is to exercise the
|
|
63
|
+
runtime path — go through the dispatcher
|
|
64
|
+
- Do NOT raise `timeout_seconds` to mask slowdowns
|
|
65
|
+
- Do NOT add pipes/redirection — handler uses `shell=False`, argv form only
|
|
66
|
+
|
|
67
|
+
## References
|
|
68
|
+
|
|
69
|
+
- Skill: `check-refs` — sibling pilot that runs the cross-ref checker
|
|
70
|
+
- Rule: `runtime-safety` — execution metadata constraints
|
|
71
|
+
- Script: `scripts/skill_linter.py`, `scripts/runtime_dispatcher.py`,
|
|
72
|
+
`scripts/runtime_handler.py`
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: livewire
|
|
3
|
+
description: "Use when writing Livewire components — reactive state, events, lifecycle hooks, and clean separation between component logic and Blade templates."
|
|
4
|
+
source: package
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# livewire
|
|
8
|
+
|
|
9
|
+
## When to use
|
|
10
|
+
|
|
11
|
+
Use when creating or editing Livewire components — reactive state, forms, tables, real-time updates.
|
|
12
|
+
|
|
13
|
+
Do NOT use when:
|
|
14
|
+
- Static Blade views (use `blade-ui` skill)
|
|
15
|
+
- Flux UI components (use `flux` skill)
|
|
16
|
+
|
|
17
|
+
## Procedure: Create a Livewire component
|
|
18
|
+
|
|
19
|
+
### Step 0: Inspect
|
|
20
|
+
|
|
21
|
+
1. Detect Livewire version — `composer.json` for `livewire/livewire`.
|
|
22
|
+
- v3: `#[Layout]`, `#[Title]`, property attributes.
|
|
23
|
+
- v2: `$layout`, `$listeners`, method-based hooks.
|
|
24
|
+
2. Check existing components — `app/Livewire/` or `app/Http/Livewire/`.
|
|
25
|
+
3. Check views — `resources/views/livewire/`.
|
|
26
|
+
|
|
27
|
+
### Step 1: Create component class
|
|
28
|
+
|
|
29
|
+
1. `declare(strict_types=1)`, `final` class.
|
|
30
|
+
2. Typed public properties for state — keep minimal.
|
|
31
|
+
3. `#[Locked]` for tamper-proof properties.
|
|
32
|
+
4. `#[Url]` for URL-synced properties.
|
|
33
|
+
|
|
34
|
+
### Step 2: Implement actions
|
|
35
|
+
|
|
36
|
+
1. Public methods callable from frontend.
|
|
37
|
+
2. Validate before processing: `$this->validate()`.
|
|
38
|
+
3. `$this->dispatch()` for cross-component communication (v3).
|
|
39
|
+
|
|
40
|
+
### Step 3: Create view
|
|
41
|
+
|
|
42
|
+
1. One root element (`<div>`).
|
|
43
|
+
2. `wire:key` on dynamic lists.
|
|
44
|
+
3. `wire:loading` for user feedback.
|
|
45
|
+
4. `wire:model.live` for real-time updates (v3 default is deferred).
|
|
46
|
+
|
|
47
|
+
### Step 4: Test
|
|
48
|
+
|
|
49
|
+
- `Livewire::test(ComponentClass::class)`
|
|
50
|
+
- `->set()`, `->call()`, `->assertSee()`, `->assertHasNoErrors()`
|
|
51
|
+
|
|
52
|
+
## Conventions
|
|
53
|
+
|
|
54
|
+
→ See guideline `php/livewire.md` for state management, forms, performance, Alpine.js, templates.
|
|
55
|
+
|
|
56
|
+
## Output format
|
|
57
|
+
|
|
58
|
+
1. Livewire component class with typed properties and actions
|
|
59
|
+
2. Blade view with wire: bindings and Flux components
|
|
60
|
+
|
|
61
|
+
## Gotcha
|
|
62
|
+
|
|
63
|
+
- Public properties serialize between requests — don't put large objects in state.
|
|
64
|
+
- `wire:model` is deferred by default in v3 — use `wire:model.live` for real-time.
|
|
65
|
+
- `$this->redirect()` + `$this->dispatch()` in same method — only redirect executes.
|
|
66
|
+
|
|
67
|
+
## Do NOT
|
|
68
|
+
|
|
69
|
+
- Do NOT put heavy computation in `render()` — it runs on every update.
|
|
70
|
+
- Do NOT nest Livewire components deeply — keep the tree shallow.
|
|
71
|
+
- Do NOT expose sensitive data as public properties.
|
|
72
|
+
|
|
73
|
+
## Auto-trigger keywords
|
|
74
|
+
|
|
75
|
+
- Livewire
|
|
76
|
+
- reactive component
|
|
77
|
+
- wire:model
|
|
78
|
+
- lifecycle
|
|
79
|
+
- real-time UI
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: logging-monitoring
|
|
3
|
+
description: "Use when working with logging or monitoring — Sentry error tracking, Grafana/Loki log aggregation, structured logging channels, or monitoring helpers."
|
|
4
|
+
source: package
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# logging-monitoring
|
|
8
|
+
|
|
9
|
+
## When to use
|
|
10
|
+
|
|
11
|
+
Use when adding logging, configuring monitoring stack, or integrating Sentry/Grafana/Loki.
|
|
12
|
+
|
|
13
|
+
Do NOT use when:
|
|
14
|
+
- Creating Grafana dashboards (use `grafana` skill)
|
|
15
|
+
- Dashboard design decisions (use `dashboard-design` skill)
|
|
16
|
+
|
|
17
|
+
## Procedure: Add logging or monitoring
|
|
18
|
+
|
|
19
|
+
1. Read `config/logging.php` for available channels.
|
|
20
|
+
2. Check for Grafana module: `app/Modules/Grafana/`.
|
|
21
|
+
3. Read `agents/` docs for module-specific logging.
|
|
22
|
+
|
|
23
|
+
## Monitoring stack
|
|
24
|
+
|
|
25
|
+
| Tool | Purpose | Integration |
|
|
26
|
+
|---|---|---|
|
|
27
|
+
| **Sentry** | Error tracking | `sentry/sentry-laravel`, `MonitoringHelper` |
|
|
28
|
+
| **Grafana** | Dashboards | Connected to Loki |
|
|
29
|
+
| **Loki** | Log aggregation | `itspire/monolog-loki` via Monolog |
|
|
30
|
+
| **Slack** | Alert notifications | Webhook for error-level |
|
|
31
|
+
|
|
32
|
+
## Log channels
|
|
33
|
+
|
|
34
|
+
| Channel | Purpose |
|
|
35
|
+
|---|---|
|
|
36
|
+
| `stack_without_slack` | Daily file + errorlog (no Slack) |
|
|
37
|
+
| `slack` | Error alerts to Slack |
|
|
38
|
+
| `loki` | Send logs to Grafana Loki |
|
|
39
|
+
| `loki_import_*` | Import-specific Loki with custom labels |
|
|
40
|
+
| `daily` | Rotating file logs |
|
|
41
|
+
|
|
42
|
+
### Loki labels
|
|
43
|
+
|
|
44
|
+
```php
|
|
45
|
+
'globalLabels' => ['app' => '{project}', 'service' => '{service}', 'env' => $env],
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
The `service` label differentiates log types in Grafana queries.
|
|
49
|
+
|
|
50
|
+
### Config flags
|
|
51
|
+
|
|
52
|
+
| Env Variable | Purpose | Default |
|
|
53
|
+
|---|---|---|
|
|
54
|
+
| `LOG_CLIENT_SOFTWARE_REQUESTS` | Log incoming API requests to DB | `false` |
|
|
55
|
+
| `LOG_EXTERNAL_API_REQUESTS` | Log outgoing external API requests | `true` |
|
|
56
|
+
| `LOG_WEBHOOK_REQUESTS` | Log webhook requests to DB | `false` |
|
|
57
|
+
| `LOG_CHANNEL_IMPORT` | Channel for import logs | `daily` |
|
|
58
|
+
|
|
59
|
+
## Grafana/Loki dashboard rules
|
|
60
|
+
|
|
61
|
+
- Hide Loki metadata columns: `labelTypes`, `traceID`, `traceID (field)`.
|
|
62
|
+
- Use correct Loki service labels: `import_result` for final states, `import_snapshot` for cron.
|
|
63
|
+
- Verify column names match data semantics.
|
|
64
|
+
|
|
65
|
+
## Conventions
|
|
66
|
+
|
|
67
|
+
→ See guideline `php/logging.md` for log levels, structured context, what to log, Sentry patterns.
|
|
68
|
+
|
|
69
|
+
### Validate
|
|
70
|
+
|
|
71
|
+
- Verify log level matches severity (no `Log::error()` for info-level events).
|
|
72
|
+
- Confirm structured context is passed (not string interpolation).
|
|
73
|
+
- Check that no sensitive data (passwords, tokens, PII) appears in log output.
|
|
74
|
+
- Verify Sentry captures include relevant context for debugging.
|
|
75
|
+
|
|
76
|
+
## Output format
|
|
77
|
+
|
|
78
|
+
1. Logging configuration or structured log statements
|
|
79
|
+
2. Sentry integration with proper context and breadcrumbs
|
|
80
|
+
|
|
81
|
+
## Gotcha
|
|
82
|
+
|
|
83
|
+
- Sentry has 200KB event size limit — large context gets truncated.
|
|
84
|
+
- Structured logging keys must be `snake_case`.
|
|
85
|
+
- Don't create Loki channels without corresponding Grafana dashboard query.
|
|
86
|
+
|
|
87
|
+
## Do NOT
|
|
88
|
+
|
|
89
|
+
- Do NOT use Sentry SDK directly — use `MonitoringHelper`.
|
|
90
|
+
- Do NOT interpolate variables into log messages — use context array.
|
|
91
|
+
- Do NOT log at `error` level for expected/handled conditions.
|
|
92
|
+
|
|
93
|
+
## Auto-trigger keywords
|
|
94
|
+
|
|
95
|
+
- logging
|
|
96
|
+
- monitoring
|
|
97
|
+
- Sentry
|
|
98
|
+
- Grafana
|
|
99
|
+
- structured logging
|
|
100
|
+
- log levels
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mcp
|
|
3
|
+
description: "Use when working with MCP (Model Context Protocol) servers — their tools, capabilities, and best practices for effective agent workflows."
|
|
4
|
+
source: package
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# MCP Skill
|
|
8
|
+
|
|
9
|
+
## When to use
|
|
10
|
+
|
|
11
|
+
Use this skill when:
|
|
12
|
+
- Deciding which MCP tool to use for a task
|
|
13
|
+
- Combining multiple MCP tools in a workflow
|
|
14
|
+
- Troubleshooting MCP tool errors or unexpected results
|
|
15
|
+
- Building commands or skills that reference MCP tools
|
|
16
|
+
|
|
17
|
+
## Procedure: Use MCP tools
|
|
18
|
+
|
|
19
|
+
### Sentry (`augment-partner-remote-mcp-sentry`)
|
|
20
|
+
|
|
21
|
+
Error tracking and performance monitoring.
|
|
22
|
+
|
|
23
|
+
| Tool | Purpose | When to use |
|
|
24
|
+
|---|---|---|
|
|
25
|
+
| `find_organizations` | Find org slug | First call — needed for all other Sentry tools |
|
|
26
|
+
| `find_projects` | Find project slug | When filtering by project |
|
|
27
|
+
| `find_teams` | Find team slug/ID | Team-based queries |
|
|
28
|
+
| `find_releases` | Recent releases | Check deploy timing, release versions |
|
|
29
|
+
| `get_issue_details` | Full issue: stacktrace, tags | Investigating a specific error |
|
|
30
|
+
| `get_issue_tag_values` | Distribution by tag | Analyzing who/what is affected |
|
|
31
|
+
| `get_trace_details` | Trace overview | Performance investigation |
|
|
32
|
+
| `get_event_attachment` | Download attachments | Screenshots, logs on events |
|
|
33
|
+
| `search_issues` | List issues by criteria | "Show me unresolved errors" |
|
|
34
|
+
| `search_events` | Count/aggregate events | "How many errors today?" |
|
|
35
|
+
| `search_issue_events` | Filter events in an issue | "Events from last hour" |
|
|
36
|
+
| `analyze_issue_with_seer` | AI root cause analysis | When stacktrace alone isn't enough |
|
|
37
|
+
|
|
38
|
+
**Key pattern:** Always get org slug first → then use other tools.
|
|
39
|
+
**See:** `sentry-integration` skill for investigation workflow.
|
|
40
|
+
|
|
41
|
+
### Jira (`jira-integration`)
|
|
42
|
+
|
|
43
|
+
Issue tracking and project management.
|
|
44
|
+
|
|
45
|
+
| Tool | Purpose | When to use |
|
|
46
|
+
|---|---|---|
|
|
47
|
+
| `GET /search/jql` | Search with JQL | Find tickets by criteria |
|
|
48
|
+
| `GET /issue/{key}` | Read ticket details | Get context for a task |
|
|
49
|
+
| `POST /issue` | Create ticket | New bugs, tasks, stories |
|
|
50
|
+
| `PUT /issue/{key}` | Update ticket | Change fields, assignee |
|
|
51
|
+
| `GET /issue/{key}/transitions` | Available status changes | Before transitioning |
|
|
52
|
+
| `POST /issue/{key}/transitions` | Change ticket status | Move to "In Progress", etc. |
|
|
53
|
+
| `POST /issue/{key}/comment` | Add comment | Progress updates, analysis |
|
|
54
|
+
| `GET /project` | List projects | Find project key |
|
|
55
|
+
| `GET /field` | List available fields | Before writing JQL |
|
|
56
|
+
|
|
57
|
+
**Key pattern:** Check fields (`GET /field`) before writing JQL. Check transitions before changing status.
|
|
58
|
+
**See:** `jira-integration` skill for JQL patterns and ADF format.
|
|
59
|
+
|
|
60
|
+
### GitHub (`github-api`)
|
|
61
|
+
|
|
62
|
+
Repository, PR, and CI management.
|
|
63
|
+
|
|
64
|
+
| Tool | Purpose | When to use |
|
|
65
|
+
|---|---|---|
|
|
66
|
+
| `GET /repos/{o}/{r}/pulls` | List PRs | Find open PRs for branch |
|
|
67
|
+
| `POST /repos/{o}/{r}/pulls` | Create PR | Open a new pull request |
|
|
68
|
+
| `GET /repos/{o}/{r}/pulls/{n}/files` | PR changed files | Review what changed |
|
|
69
|
+
| `GET /repos/{o}/{r}/issues` | List issues/PRs | Search by label, assignee |
|
|
70
|
+
| `GET /search/issues` | Search issues/PRs | Complex queries with `q=` |
|
|
71
|
+
| `GET /repos/{o}/{r}/actions/runs` | CI runs | Check build status |
|
|
72
|
+
| `GET /repos/{o}/{r}/actions/jobs/{id}` | CI job details | Read failure logs |
|
|
73
|
+
| `GET /repos/{o}/{r}/commits/{sha}/check-runs` | Check runs | Detailed CI status |
|
|
74
|
+
| `GET /repos/{o}/{r}/commits/{sha}/status` | Commit status | Quick pass/fail check |
|
|
75
|
+
|
|
76
|
+
**Key pattern:** Use `head=org:branch` to filter PRs by branch. Use `q=is:pr` or `q=is:issue` to separate.
|
|
77
|
+
**See:** `git-workflow` and `code-review` skills.
|
|
78
|
+
|
|
79
|
+
### Browser / Playwright (`Playwright`)
|
|
80
|
+
|
|
81
|
+
Web interaction and testing.
|
|
82
|
+
|
|
83
|
+
| Tool | Purpose | When to use |
|
|
84
|
+
|---|---|---|
|
|
85
|
+
| `browser_navigate` | Open URL | Load a page |
|
|
86
|
+
| `browser_snapshot` | Accessibility snapshot | Read page content (better than screenshot) |
|
|
87
|
+
| `browser_click` | Click element | Interact with UI |
|
|
88
|
+
| `browser_type` | Type text | Fill forms |
|
|
89
|
+
| `browser_evaluate` | Run JavaScript | Extract data, manipulate DOM |
|
|
90
|
+
| `browser_take_screenshot` | Visual capture | Document UI state |
|
|
91
|
+
| `browser_network_requests` | Network log | Debug API calls |
|
|
92
|
+
|
|
93
|
+
**Key pattern:** Use `browser_snapshot` over screenshots — it returns structured data the agent can act on.
|
|
94
|
+
|
|
95
|
+
### Context7 (`Context_7`)
|
|
96
|
+
|
|
97
|
+
Library documentation lookup.
|
|
98
|
+
|
|
99
|
+
| Tool | Purpose | When to use |
|
|
100
|
+
|---|---|---|
|
|
101
|
+
| `resolve-library-id` | Find library ID | First — before querying docs |
|
|
102
|
+
| `query-docs` | Query documentation | Get up-to-date API docs and examples |
|
|
103
|
+
|
|
104
|
+
**Key pattern:** Always resolve library ID first → then query. Max 3 calls per question.
|
|
105
|
+
**Use for:** Laravel, PHP, Livewire, Tailwind, or any library docs.
|
|
106
|
+
|
|
107
|
+
### Sequential Thinking (`Sequential_thinking`)
|
|
108
|
+
|
|
109
|
+
Structured problem-solving.
|
|
110
|
+
|
|
111
|
+
| Tool | Purpose | When to use |
|
|
112
|
+
|---|---|---|
|
|
113
|
+
| `sequentialthinking` | Step-by-step reasoning | Complex problems, planning, analysis |
|
|
114
|
+
|
|
115
|
+
**Use for:** Breaking down complex tasks, planning before implementation, multi-step reasoning.
|
|
116
|
+
|
|
117
|
+
## Best Practices
|
|
118
|
+
|
|
119
|
+
### Tool selection
|
|
120
|
+
|
|
121
|
+
| Need | Tool |
|
|
122
|
+
|---|---|
|
|
123
|
+
| Error investigation | Sentry → `get_issue_details` |
|
|
124
|
+
| Ticket context | Jira → `GET /issue/{key}` |
|
|
125
|
+
| CI failure | GitHub → `actions/runs` + `actions/jobs/{id}` |
|
|
126
|
+
| Library docs | Context7 → `resolve-library-id` + `query-docs` |
|
|
127
|
+
| Web scraping | Playwright → `navigate` + `snapshot` |
|
|
128
|
+
| Complex planning | Sequential Thinking |
|
|
129
|
+
|
|
130
|
+
### Combining tools in workflows
|
|
131
|
+
|
|
132
|
+
```
|
|
133
|
+
Bug investigation:
|
|
134
|
+
Jira (ticket context) + Sentry (stacktrace) + codebase-retrieval (code)
|
|
135
|
+
|
|
136
|
+
Feature planning:
|
|
137
|
+
Jira (requirements) + codebase-retrieval (existing code) + Context7 (library docs)
|
|
138
|
+
|
|
139
|
+
CI fix:
|
|
140
|
+
GitHub (failure logs) + codebase-retrieval (failing code) + launch-process (run locally)
|
|
141
|
+
|
|
142
|
+
PR creation:
|
|
143
|
+
GitHub (create PR) + Jira (transition to "In Review")
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
### Error handling
|
|
147
|
+
|
|
148
|
+
- If an MCP tool returns an error, retry once with corrected parameters
|
|
149
|
+
- If org/project slug is unknown, use `find_organizations` / `find_projects` first
|
|
150
|
+
- Sentry and Jira tools need the correct org — don't guess, look it up
|
|
151
|
+
- GitHub API has rate limits — batch related calls, avoid unnecessary requests
|
|
152
|
+
|
|
153
|
+
### Permission boundaries
|
|
154
|
+
|
|
155
|
+
- **Read operations** — always safe, use freely
|
|
156
|
+
- **Write operations** — ask user permission first:
|
|
157
|
+
- Creating Jira tickets or changing status
|
|
158
|
+
- Creating GitHub PRs or pushing code
|
|
159
|
+
- Posting comments on issues/PRs
|
|
160
|
+
|
|
161
|
+
## Related
|
|
162
|
+
|
|
163
|
+
- **Skill:** `sentry-integration` — Sentry-specific investigation patterns
|
|
164
|
+
- **Skill:** `jira-integration` — Jira-specific JQL and ticket management
|
|
165
|
+
- **Skill:** `git-workflow` — GitHub PR and branch conventions
|
|
166
|
+
- **Skill:** `copilot-config` — GitHub Copilot integration
|
|
167
|
+
- **Rule:** `no-commit.md` — permission boundaries for write operations
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
## Output format
|
|
171
|
+
|
|
172
|
+
1. MCP server configuration or tool integration code
|
|
173
|
+
2. Tool capability mapping for the agent workflow
|
|
174
|
+
|
|
175
|
+
## Gotcha
|
|
176
|
+
|
|
177
|
+
- MCP servers are token-expensive — prefer CLI equivalents when available (see `rtk-output-filtering` skill).
|
|
178
|
+
- Don't chain 5+ MCP tool calls when a single CLI command could do the same thing.
|
|
179
|
+
- MCP server availability varies — always handle connection failures gracefully.
|
|
180
|
+
- Sentry and Jira MCP provide unique capabilities — those are worth the token cost.
|
|
181
|
+
|
|
182
|
+
## Do NOT
|
|
183
|
+
|
|
184
|
+
- Do NOT call MCP tools without understanding their side effects.
|
|
185
|
+
- Do NOT use MCP tools when simpler alternatives exist.
|
|
186
|
+
|
|
187
|
+
## Auto-trigger keywords
|
|
188
|
+
|
|
189
|
+
- MCP
|
|
190
|
+
- Model Context Protocol
|
|
191
|
+
- MCP server
|
|
192
|
+
- MCP tools
|
|
193
|
+
- agent tools
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: merge-conflicts
|
|
3
|
+
description: "Use when the user has merge conflicts or says "resolve conflicts". Understands conflict markers, resolution strategies, and verification workflow."
|
|
4
|
+
source: package
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# merge-conflicts
|
|
8
|
+
|
|
9
|
+
## When to use
|
|
10
|
+
|
|
11
|
+
Use this skill when:
|
|
12
|
+
- A merge or rebase produces conflicts
|
|
13
|
+
- The user asks to "resolve conflicts", "fix merge", or "update branch"
|
|
14
|
+
- CI fails because the branch is behind main
|
|
15
|
+
- The `prepare-for-review` command encounters conflicts
|
|
16
|
+
|
|
17
|
+
## Procedure: Resolve merge conflicts
|
|
18
|
+
|
|
19
|
+
### 1. Understand the situation
|
|
20
|
+
|
|
21
|
+
Before touching any conflict:
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
# What files have conflicts?
|
|
25
|
+
git diff --name-only --diff-filter=U
|
|
26
|
+
|
|
27
|
+
# What branch are we merging from/into?
|
|
28
|
+
git log --oneline -1 HEAD
|
|
29
|
+
git log --oneline -1 MERGE_HEAD # or REBASE_HEAD for rebase
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
### 2. Read both sides
|
|
33
|
+
|
|
34
|
+
For each conflicted file:
|
|
35
|
+
|
|
36
|
+
1. **Read the full conflict** — not just the markers, but the surrounding context.
|
|
37
|
+
2. **Understand "ours"** — what does the current branch intend?
|
|
38
|
+
3. **Understand "theirs"** — what does the incoming branch intend?
|
|
39
|
+
4. **Check if both changes are needed** — often both sides added different things.
|
|
40
|
+
|
|
41
|
+
### 3. Resolution strategies
|
|
42
|
+
|
|
43
|
+
| Situation | Strategy |
|
|
44
|
+
|---|---|
|
|
45
|
+
| Both sides changed the same line differently | **Ask the user** — this is a semantic conflict |
|
|
46
|
+
| Both sides added different code in the same area | **Keep both** — combine the additions in logical order |
|
|
47
|
+
| One side deleted, other side modified | **Ask the user** — deletion intent vs modification intent |
|
|
48
|
+
| Lock file conflicts (`composer.lock`, `package-lock.json`) | **Regenerate** — accept theirs, then run `composer install` / `npm install` |
|
|
49
|
+
| Migration conflicts (same timestamp) | **Rename** — adjust timestamp to avoid collision |
|
|
50
|
+
| Auto-generated files (OpenAPI spec, baselines) | **Regenerate** — resolve source, then regenerate the output |
|
|
51
|
+
| Formatting-only conflicts | **Accept either** — then run quality tools to normalize |
|
|
52
|
+
|
|
53
|
+
### 4. File-type specific rules
|
|
54
|
+
|
|
55
|
+
#### PHP files
|
|
56
|
+
|
|
57
|
+
- After resolving, check that `use` statements are correct (no duplicates, no missing imports).
|
|
58
|
+
- Verify the resolved code compiles: `php -l filename.php`
|
|
59
|
+
- Run PHPStan on the file: `vendor/bin/phpstan analyse` (see `quality-tools` skill)
|
|
60
|
+
|
|
61
|
+
#### Migrations
|
|
62
|
+
|
|
63
|
+
- Never merge two migrations that modify the same table into one.
|
|
64
|
+
- If both branches added migrations, keep both — adjust timestamps if they collide.
|
|
65
|
+
- After resolving, run migrations to verify: `php artisan migrate --env=testing`
|
|
66
|
+
|
|
67
|
+
#### Config files
|
|
68
|
+
|
|
69
|
+
- `composer.json` — resolve, then run `composer update --lock` to regenerate `composer.lock`.
|
|
70
|
+
- `package.json` — resolve, then run `npm install` to regenerate `package-lock.json`.
|
|
71
|
+
- `.env.example` — keep all new entries from both sides.
|
|
72
|
+
|
|
73
|
+
#### Test files
|
|
74
|
+
|
|
75
|
+
- If both sides added tests to the same file, keep all tests.
|
|
76
|
+
- If both sides modified the same test, understand what each test is verifying and combine.
|
|
77
|
+
|
|
78
|
+
### 5. When to ask the user
|
|
79
|
+
|
|
80
|
+
**Always ask** when:
|
|
81
|
+
- Both sides changed the **same business logic** differently (semantic conflict)
|
|
82
|
+
- A deletion conflicts with a modification (intent is unclear)
|
|
83
|
+
- The conflict involves **authorization or security** logic
|
|
84
|
+
- You're unsure which side is "correct"
|
|
85
|
+
|
|
86
|
+
**Resolve without asking** when:
|
|
87
|
+
- Both sides added different, non-overlapping code
|
|
88
|
+
- Lock file / auto-generated file conflicts
|
|
89
|
+
- Import statement ordering
|
|
90
|
+
- Formatting-only differences
|
|
91
|
+
|
|
92
|
+
### 6. Verify after resolution
|
|
93
|
+
|
|
94
|
+
After resolving ALL conflicts:
|
|
95
|
+
|
|
96
|
+
```bash
|
|
97
|
+
# 1. Check no conflict markers remain
|
|
98
|
+
grep -rn "<<<<<<< \|======= \|>>>>>>> " --include="*.php" --include="*.js" --include="*.ts" .
|
|
99
|
+
|
|
100
|
+
# 2. Syntax check PHP files
|
|
101
|
+
find . -name "*.php" -newer .git/MERGE_HEAD -exec php -l {} \;
|
|
102
|
+
|
|
103
|
+
# 3. Run quality tools
|
|
104
|
+
vendor/bin/phpstan analyse
|
|
105
|
+
|
|
106
|
+
# 4. Run tests
|
|
107
|
+
php artisan test
|
|
108
|
+
|
|
109
|
+
# 5. Complete the merge/rebase
|
|
110
|
+
git add .
|
|
111
|
+
# Don't commit — let the user decide when to commit
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
## Common pitfalls
|
|
115
|
+
|
|
116
|
+
| Pitfall | Prevention |
|
|
117
|
+
|---|---|
|
|
118
|
+
| Accepting "ours" blindly | Always read both sides first |
|
|
119
|
+
| Missing a conflict marker | Run `grep -rn "<<<<<<< "` after resolving |
|
|
120
|
+
| Breaking imports | Check `use` statements after merge |
|
|
121
|
+
| Losing new code | Compare the resolved file with both original versions |
|
|
122
|
+
| Forgetting to regenerate lock files | Always run package manager after resolving `*.json` |
|
|
123
|
+
|
|
124
|
+
## Rebase vs Merge
|
|
125
|
+
|
|
126
|
+
| Approach | When to use |
|
|
127
|
+
|---|---|
|
|
128
|
+
| `git merge main` | Default — preserves history, safer for shared branches |
|
|
129
|
+
| `git rebase main` | Only when explicitly asked — rewrites history, cleaner log |
|
|
130
|
+
|
|
131
|
+
**Never rebase without explicit permission** (per `no-commit` rule).
|
|
132
|
+
|
|
133
|
+
## Output format
|
|
134
|
+
|
|
135
|
+
1. Resolved conflict with both sides' intent preserved
|
|
136
|
+
2. Summary of resolution strategy per file
|
|
137
|
+
|
|
138
|
+
## Auto-trigger keywords
|
|
139
|
+
|
|
140
|
+
- merge conflict
|
|
141
|
+
- resolve conflict
|
|
142
|
+
- rebase conflict
|
|
143
|
+
- conflict markers
|
|
144
|
+
- branch behind main
|
|
145
|
+
- update branch
|
|
146
|
+
|
|
147
|
+
## Gotcha
|
|
148
|
+
|
|
149
|
+
- Never resolve conflicts by deleting code you don't understand — ask the user.
|
|
150
|
+
- The model tends to accept "ours" or "theirs" wholesale instead of merging logic from both sides.
|
|
151
|
+
- Always run tests after resolving conflicts — successful merge != correct merge.
|
|
152
|
+
- Lock file conflicts (composer.lock, package-lock.json) should be resolved by re-running the package manager.
|
|
153
|
+
|
|
154
|
+
## Do NOT
|
|
155
|
+
|
|
156
|
+
- Do NOT rebase or force-push without explicit permission.
|
|
157
|
+
- Do NOT leave conflict markers (`<<<<<<<`) in any file.
|
|
158
|
+
- Do NOT skip verification (PHPStan + tests) after resolving.
|