@event4u/agent-config 1.13.0 → 1.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agent-src/commands/agent-handoff.md +4 -1
- package/.agent-src/commands/agent-status.md +3 -0
- package/.agent-src/commands/agents-audit.md +4 -0
- package/.agent-src/commands/agents-cleanup.md +6 -1
- package/.agent-src/commands/agents-prepare.md +3 -0
- package/.agent-src/commands/analyze-reference-repo.md +4 -0
- package/.agent-src/commands/bug-fix.md +7 -3
- package/.agent-src/commands/bug-investigate.md +4 -0
- package/.agent-src/commands/chat-history-checkpoint.md +126 -0
- package/.agent-src/commands/chat-history-clear.md +6 -1
- package/.agent-src/commands/chat-history-resume.md +7 -2
- package/.agent-src/commands/chat-history.md +7 -2
- package/.agent-src/commands/check-current-md.md +137 -0
- package/.agent-src/commands/commit-in-chunks.md +118 -0
- package/.agent-src/commands/commit.md +4 -0
- package/.agent-src/commands/compress.md +37 -2
- package/.agent-src/commands/context-create.md +4 -0
- package/.agent-src/commands/context-refactor.md +4 -0
- package/.agent-src/commands/copilot-agents-init.md +3 -0
- package/.agent-src/commands/copilot-agents-optimize.md +3 -0
- package/.agent-src/commands/create-pr-description.md +4 -0
- package/.agent-src/commands/create-pr.md +4 -0
- package/.agent-src/commands/do-and-judge.md +4 -1
- package/.agent-src/commands/do-in-steps.md +3 -0
- package/.agent-src/commands/e2e-heal.md +4 -0
- package/.agent-src/commands/e2e-plan.md +4 -0
- package/.agent-src/commands/estimate-ticket.md +4 -1
- package/.agent-src/commands/feature-dev.md +4 -0
- package/.agent-src/commands/feature-explore.md +4 -0
- package/.agent-src/commands/feature-plan.md +4 -0
- package/.agent-src/commands/feature-refactor.md +4 -0
- package/.agent-src/commands/feature-roadmap.md +6 -0
- package/.agent-src/commands/fix-ci.md +4 -0
- package/.agent-src/commands/fix-portability.md +5 -2
- package/.agent-src/commands/fix-pr-bot-comments.md +4 -0
- package/.agent-src/commands/fix-pr-comments.md +4 -0
- package/.agent-src/commands/fix-pr-developer-comments.md +4 -0
- package/.agent-src/commands/fix-references.md +3 -0
- package/.agent-src/commands/fix-seeder.md +4 -0
- package/.agent-src/commands/implement-ticket.md +39 -13
- package/.agent-src/commands/jira-ticket.md +4 -0
- package/.agent-src/commands/judge.md +3 -0
- package/.agent-src/commands/memory-add.md +5 -3
- package/.agent-src/commands/memory-full.md +5 -2
- package/.agent-src/commands/memory-promote.md +7 -6
- package/.agent-src/commands/mode.md +3 -0
- package/.agent-src/commands/module-create.md +4 -0
- package/.agent-src/commands/module-explore.md +4 -0
- package/.agent-src/commands/onboard.md +33 -0
- package/.agent-src/commands/optimize-agents.md +4 -0
- package/.agent-src/commands/optimize-augmentignore.md +12 -0
- package/.agent-src/commands/optimize-rtk-filters.md +3 -0
- package/.agent-src/commands/optimize-skills.md +4 -0
- package/.agent-src/commands/override-create.md +4 -0
- package/.agent-src/commands/override-manage.md +4 -0
- package/.agent-src/commands/package-reset.md +3 -0
- package/.agent-src/commands/package-test.md +3 -0
- package/.agent-src/commands/prepare-for-review.md +4 -0
- package/.agent-src/commands/project-analyze.md +4 -0
- package/.agent-src/commands/project-health.md +4 -0
- package/.agent-src/commands/propose-memory.md +6 -8
- package/.agent-src/commands/quality-fix.md +4 -0
- package/.agent-src/commands/refine-ticket.md +12 -7
- package/.agent-src/commands/review-changes.md +39 -8
- package/.agent-src/commands/review-routing.md +4 -0
- package/.agent-src/commands/roadmap-create.md +18 -0
- package/.agent-src/commands/roadmap-execute.md +14 -1
- package/.agent-src/commands/rule-compliance-audit.md +4 -0
- package/.agent-src/commands/set-cost-profile.md +11 -0
- package/.agent-src/commands/sync-agent-settings.md +12 -0
- package/.agent-src/commands/sync-gitignore.md +3 -0
- package/.agent-src/commands/tests-create.md +4 -0
- package/.agent-src/commands/tests-execute.md +6 -3
- package/.agent-src/commands/threat-model.md +4 -0
- package/.agent-src/commands/update-form-request-messages.md +4 -0
- package/.agent-src/commands/upstream-contribute.md +4 -0
- package/.agent-src/commands/work.md +161 -0
- package/.agent-src/guidelines/agent-infra/engineering-memory-data-format.md +2 -6
- package/.agent-src/guidelines/agent-infra/layered-settings.md +0 -1
- package/.agent-src/guidelines/agent-infra/memory-access.md +0 -7
- package/.agent-src/guidelines/agent-infra/role-contracts.md +2 -4
- package/.agent-src/guidelines/agent-infra/self-improvement-pipeline.md +0 -1
- package/.agent-src/guidelines/php/patterns/strategy.md +180 -2
- package/.agent-src/personas/README.md +0 -1
- package/.agent-src/rules/artifact-drafting-protocol.md +7 -2
- package/.agent-src/rules/artifact-engagement-recording.md +133 -0
- package/.agent-src/rules/ask-when-uncertain.md +18 -13
- package/.agent-src/rules/augment-portability.md +64 -37
- package/.agent-src/rules/autonomous-execution.md +158 -0
- package/.agent-src/rules/chat-history-cadence.md +109 -0
- package/.agent-src/rules/chat-history-ownership.md +123 -0
- package/.agent-src/rules/chat-history-visibility.md +96 -0
- package/.agent-src/rules/cli-output-handling.md +27 -4
- package/.agent-src/rules/command-suggestion.md +134 -0
- package/.agent-src/rules/commit-policy.md +109 -0
- package/.agent-src/rules/direct-answers.md +114 -0
- package/.agent-src/rules/docs-sync.md +36 -0
- package/.agent-src/rules/downstream-changes.md +10 -9
- package/.agent-src/rules/improve-before-implement.md +9 -6
- package/.agent-src/rules/language-and-tone.md +85 -6
- package/.agent-src/rules/non-destructive-by-default.md +117 -0
- package/.agent-src/rules/package-ci-checks.md +4 -0
- package/.agent-src/rules/preservation-guard.md +20 -0
- package/.agent-src/rules/roadmap-progress-sync.md +159 -27
- package/.agent-src/rules/role-mode-adherence.md +1 -1
- package/.agent-src/rules/scope-control.md +42 -1
- package/.agent-src/rules/size-enforcement.md +2 -3
- package/.agent-src/rules/skill-quality.md +3 -8
- package/.agent-src/rules/ui-audit-before-build.md +106 -0
- package/.agent-src/rules/user-interaction.md +107 -51
- package/.agent-src/scripts/update_roadmap_progress.py +73 -9
- package/.agent-src/skills/blade-ui/SKILL.md +47 -3
- package/.agent-src/skills/command-routing/SKILL.md +32 -0
- package/.agent-src/skills/command-writing/SKILL.md +52 -2
- package/.agent-src/skills/description-assist/SKILL.md +21 -0
- package/.agent-src/skills/estimate-ticket/SKILL.md +0 -1
- package/.agent-src/skills/existing-ui-audit/SKILL.md +202 -0
- package/.agent-src/skills/fe-design/SKILL.md +78 -61
- package/.agent-src/skills/file-editor/SKILL.md +9 -0
- package/.agent-src/skills/finishing-a-development-branch/SKILL.md +4 -0
- package/.agent-src/skills/flux/SKILL.md +31 -4
- package/.agent-src/skills/guideline-writing/SKILL.md +24 -2
- package/.agent-src/skills/learning-to-rule-or-skill/SKILL.md +51 -9
- package/.agent-src/skills/livewire/SKILL.md +49 -4
- package/.agent-src/skills/md-language-check/SKILL.md +103 -0
- package/.agent-src/skills/php-coder/SKILL.md +24 -0
- package/.agent-src/skills/react-shadcn-ui/SKILL.md +121 -0
- package/.agent-src/skills/refine-prompt/SKILL.md +220 -0
- package/.agent-src/skills/refine-ticket/SKILL.md +32 -28
- package/.agent-src/skills/roadmap-management/SKILL.md +24 -11
- package/.agent-src/skills/rule-writing/SKILL.md +23 -1
- package/.agent-src/skills/skill-writing/SKILL.md +3 -5
- package/.agent-src/skills/upstream-contribute/SKILL.md +3 -3
- package/.agent-src/skills/using-git-worktrees/SKILL.md +3 -1
- package/.agent-src/templates/AGENTS.md +24 -6
- package/.agent-src/templates/agent-settings.md +149 -0
- package/.agent-src/templates/roadmaps.md +11 -4
- package/.agent-src/templates/scripts/implement_ticket/__init__.py +63 -26
- package/.agent-src/templates/scripts/implement_ticket/__main__.py +8 -2
- package/.agent-src/templates/scripts/memory_lookup.py +1 -1
- package/.agent-src/templates/scripts/telemetry/__init__.py +42 -0
- package/.agent-src/templates/scripts/telemetry/aggregator.py +154 -0
- package/.agent-src/templates/scripts/telemetry/boundary.py +171 -0
- package/.agent-src/templates/scripts/telemetry/engagement.py +238 -0
- package/.agent-src/templates/scripts/telemetry/report_renderer.py +170 -0
- package/.agent-src/templates/scripts/telemetry/settings.py +112 -0
- package/.agent-src/templates/scripts/telemetry_record.py +166 -0
- package/.agent-src/templates/scripts/telemetry_report.py +161 -0
- package/.agent-src/templates/scripts/telemetry_status.py +142 -0
- package/.agent-src/templates/scripts/work_engine/__init__.py +58 -0
- package/.agent-src/templates/scripts/work_engine/__main__.py +9 -0
- package/.agent-src/templates/scripts/work_engine/cli.py +195 -0
- package/.agent-src/templates/scripts/work_engine/cli_args.py +116 -0
- package/.agent-src/templates/scripts/{implement_ticket → work_engine}/delivery_state.py +10 -3
- package/.agent-src/templates/scripts/work_engine/directives/__init__.py +33 -0
- package/.agent-src/templates/scripts/work_engine/directives/backend/__init__.py +98 -0
- package/.agent-src/templates/scripts/{implement_ticket/steps → work_engine/directives/backend}/analyze.py +1 -1
- package/.agent-src/templates/scripts/{implement_ticket/steps → work_engine/directives/backend}/implement.py +3 -3
- package/.agent-src/templates/scripts/{implement_ticket/steps → work_engine/directives/backend}/memory.py +2 -2
- package/.agent-src/templates/scripts/{implement_ticket/steps → work_engine/directives/backend}/plan.py +2 -2
- package/.agent-src/templates/scripts/work_engine/directives/backend/refine.py +396 -0
- package/.agent-src/templates/scripts/{implement_ticket/steps → work_engine/directives/backend}/report.py +37 -5
- package/.agent-src/templates/scripts/{implement_ticket/steps → work_engine/directives/backend}/test.py +2 -2
- package/.agent-src/templates/scripts/{implement_ticket/steps → work_engine/directives/backend}/verify.py +2 -2
- package/.agent-src/templates/scripts/work_engine/directives/mixed/__init__.py +116 -0
- package/.agent-src/templates/scripts/work_engine/directives/mixed/contract.py +254 -0
- package/.agent-src/templates/scripts/work_engine/directives/mixed/stitch.py +229 -0
- package/.agent-src/templates/scripts/work_engine/directives/mixed/ui.py +231 -0
- package/.agent-src/templates/scripts/work_engine/directives/ui/__init__.py +113 -0
- package/.agent-src/templates/scripts/work_engine/directives/ui/_passthrough.py +44 -0
- package/.agent-src/templates/scripts/work_engine/directives/ui/apply.py +241 -0
- package/.agent-src/templates/scripts/work_engine/directives/ui/audit.py +414 -0
- package/.agent-src/templates/scripts/work_engine/directives/ui/design.py +335 -0
- package/.agent-src/templates/scripts/work_engine/directives/ui/polish.py +510 -0
- package/.agent-src/templates/scripts/work_engine/directives/ui/review.py +468 -0
- package/.agent-src/templates/scripts/work_engine/directives/ui_trivial/__init__.py +119 -0
- package/.agent-src/templates/scripts/work_engine/directives/ui_trivial/_skipped.py +37 -0
- package/.agent-src/templates/scripts/work_engine/directives/ui_trivial/apply.py +165 -0
- package/.agent-src/templates/scripts/work_engine/directives/ui_trivial/refine.py +66 -0
- package/.agent-src/templates/scripts/work_engine/directives/ui_trivial/report.py +62 -0
- package/.agent-src/templates/scripts/work_engine/directives/ui_trivial/test.py +115 -0
- package/.agent-src/templates/scripts/work_engine/dispatcher.py +331 -0
- package/.agent-src/templates/scripts/work_engine/emitters.py +43 -0
- package/.agent-src/templates/scripts/work_engine/errors.py +19 -0
- package/.agent-src/templates/scripts/work_engine/hook_bootstrap.py +76 -0
- package/.agent-src/templates/scripts/work_engine/hooks/__init__.py +54 -0
- package/.agent-src/templates/scripts/work_engine/hooks/builtin/__init__.py +32 -0
- package/.agent-src/templates/scripts/work_engine/hooks/builtin/_chat_history_base.py +103 -0
- package/.agent-src/templates/scripts/work_engine/hooks/builtin/chat_history_append.py +44 -0
- package/.agent-src/templates/scripts/work_engine/hooks/builtin/chat_history_halt_append.py +42 -0
- package/.agent-src/templates/scripts/work_engine/hooks/builtin/chat_history_heartbeat.py +50 -0
- package/.agent-src/templates/scripts/work_engine/hooks/builtin/chat_history_turn_check.py +49 -0
- package/.agent-src/templates/scripts/work_engine/hooks/builtin/directive_set_guard.py +53 -0
- package/.agent-src/templates/scripts/work_engine/hooks/builtin/halt_surface_audit.py +50 -0
- package/.agent-src/templates/scripts/work_engine/hooks/builtin/state_shape_validation.py +52 -0
- package/.agent-src/templates/scripts/work_engine/hooks/builtin/trace.py +84 -0
- package/.agent-src/templates/scripts/work_engine/hooks/context.py +66 -0
- package/.agent-src/templates/scripts/work_engine/hooks/events.py +44 -0
- package/.agent-src/templates/scripts/work_engine/hooks/exceptions.py +79 -0
- package/.agent-src/templates/scripts/work_engine/hooks/registry.py +60 -0
- package/.agent-src/templates/scripts/work_engine/hooks/runner.py +73 -0
- package/.agent-src/templates/scripts/work_engine/hooks/settings.py +141 -0
- package/.agent-src/templates/scripts/work_engine/input_builders.py +163 -0
- package/.agent-src/templates/scripts/work_engine/intent/__init__.py +47 -0
- package/.agent-src/templates/scripts/work_engine/intent/classify.py +280 -0
- package/.agent-src/templates/scripts/work_engine/migration/__init__.py +8 -0
- package/.agent-src/templates/scripts/work_engine/migration/v0_to_v1.py +231 -0
- package/.agent-src/templates/scripts/{implement_ticket → work_engine}/persona_policy.py +1 -1
- package/.agent-src/templates/scripts/work_engine/resolvers/__init__.py +22 -0
- package/.agent-src/templates/scripts/work_engine/resolvers/diff.py +106 -0
- package/.agent-src/templates/scripts/work_engine/resolvers/file.py +113 -0
- package/.agent-src/templates/scripts/work_engine/resolvers/prompt.py +90 -0
- package/.agent-src/templates/scripts/work_engine/scoring/__init__.py +14 -0
- package/.agent-src/templates/scripts/work_engine/scoring/confidence.py +300 -0
- package/.agent-src/templates/scripts/work_engine/stack/__init__.py +31 -0
- package/.agent-src/templates/scripts/work_engine/stack/detect.py +187 -0
- package/.agent-src/templates/scripts/work_engine/state.py +641 -0
- package/.agent-src/templates/scripts/work_engine/state_io.py +202 -0
- package/.claude-plugin/marketplace.json +105 -2
- package/AGENTS.md +38 -8
- package/CHANGELOG.md +609 -0
- package/README.md +136 -14
- package/config/agent-settings.template.yml +45 -0
- package/config/gitignore-block.txt +4 -0
- package/docs/MIGRATION.md +122 -0
- package/docs/architecture.md +111 -35
- package/docs/contracts/STABILITY.md +95 -0
- package/docs/contracts/adr-chat-history-split.md +132 -0
- package/docs/contracts/adr-command-suggestion.md +146 -0
- package/docs/contracts/adr-implement-ticket-runtime.md +122 -0
- package/docs/contracts/adr-product-ui-track.md +384 -0
- package/docs/contracts/adr-prompt-driven-execution.md +187 -0
- package/docs/contracts/agent-memory-contract.md +149 -0
- package/docs/contracts/artifact-engagement-flow.md +262 -0
- package/docs/contracts/command-clusters.md +126 -0
- package/docs/contracts/command-suggestion-flow.md +148 -0
- package/docs/contracts/implement-ticket-flow.md +628 -0
- package/docs/contracts/linear-ai-rules-inclusion.md +143 -0
- package/docs/contracts/linear-ai-three-layers.md +131 -0
- package/docs/contracts/rule-interactions.md +107 -0
- package/docs/contracts/rule-interactions.yml +142 -0
- package/docs/contracts/ui-stack-extension.md +236 -0
- package/docs/contracts/ui-track-flow.md +338 -0
- package/docs/development.md +1 -1
- package/docs/getting-started.md +3 -3
- package/docs/installation.md +124 -2
- package/docs/migrations/commands-1.15.0.md +112 -0
- package/docs/showcase.md +204 -0
- package/docs/ui-track-mental-model.md +121 -0
- package/package.json +1 -1
- package/scripts/agent-config +199 -0
- package/scripts/audit_cloud_compatibility.py +288 -0
- package/scripts/build_cloud_bundle.py +458 -0
- package/scripts/build_linear_digest.py +263 -0
- package/scripts/chat_history.py +796 -7
- package/scripts/check_compression.py +139 -0
- package/scripts/check_iron_law_prominence.py +143 -0
- package/scripts/check_md_language.py +159 -0
- package/scripts/check_portability.py +38 -0
- package/scripts/check_public_links.py +185 -0
- package/scripts/check_references.py +1 -0
- package/scripts/check_reply_consistency.py +140 -0
- package/scripts/command_suggester/__init__.py +51 -0
- package/scripts/command_suggester/cooldown.py +132 -0
- package/scripts/command_suggester/loader.py +70 -0
- package/scripts/command_suggester/match.py +180 -0
- package/scripts/command_suggester/rank.py +120 -0
- package/scripts/command_suggester/render.py +86 -0
- package/scripts/command_suggester/sanitize.py +113 -0
- package/scripts/command_suggester/settings.py +125 -0
- package/scripts/command_suggester/types.py +78 -0
- package/scripts/hooks/augment-chat-history.sh +56 -0
- package/scripts/install-hooks.sh +67 -0
- package/scripts/install.py +150 -33
- package/scripts/lint_marketplace.py +27 -0
- package/scripts/lint_no_new_atomic_commands.py +179 -0
- package/scripts/lint_rule_interactions.py +149 -0
- package/scripts/memory_lookup.py +1 -1
- package/scripts/migrate_command_suggestions.py +151 -0
- package/scripts/release.py +297 -64
- package/scripts/schemas/command.schema.json +41 -0
- package/scripts/skill_linter.py +81 -0
- package/scripts/sync_agent_settings.py +42 -12
- package/scripts/update_counts.py +10 -0
- package/templates/consumer-settings/augment-cli-hooks.json +54 -0
- package/templates/consumer-settings/claude-settings.json +55 -1
- package/.agent-src/rules/chat-history.md +0 -171
- package/.agent-src/templates/scripts/implement_ticket/cli.py +0 -171
- package/.agent-src/templates/scripts/implement_ticket/dispatcher.py +0 -134
- package/.agent-src/templates/scripts/implement_ticket/steps/__init__.py +0 -49
- package/.agent-src/templates/scripts/implement_ticket/steps/refine.py +0 -140
|
@@ -3,8 +3,13 @@ skills: [agent-docs-writing]
|
|
|
3
3
|
name: optimize-augmentignore
|
|
4
4
|
description: Creates or updates .augmentignore based on the project's actual tech stack, large files, generated artifacts, and irrelevant agent skills/rules.
|
|
5
5
|
disable-model-invocation: true
|
|
6
|
+
suggestion:
|
|
7
|
+
eligible: false
|
|
8
|
+
rationale: "Niche maintenance tool with no recurring NL trigger."
|
|
6
9
|
---
|
|
7
10
|
|
|
11
|
+
<!-- cloud_safe: noop -->
|
|
12
|
+
|
|
8
13
|
# /optimize-augmentignore
|
|
9
14
|
|
|
10
15
|
Scans the project to find files that waste tokens in Augment's retrieval index
|
|
@@ -260,3 +265,10 @@ echo "Rules ignored: $rules_count"
|
|
|
260
265
|
- **Never ignore always-active rules** — only auto-loaded rules (those with `description` frontmatter) may be ignored.
|
|
261
266
|
- **Never ignore meta/agent-system skills** — `agent-docs-writing-writing`, `commands`, `context-create`, `override-management`, `guidelines`, `project-docs`, `roadmap-management`, `naming`, `skill-reviewer`, `file-editor`, `copilot-config`, `copilot-agents-optimization`.
|
|
262
267
|
- **Restore previously ignored skills** when the stack changes (e.g., Vue added to project → restore `vue` skill).
|
|
268
|
+
|
|
269
|
+
## Cloud Behavior
|
|
270
|
+
|
|
271
|
+
On cloud surfaces (Claude.ai Web, Skills API) this command is **fully inert** —
|
|
272
|
+
`.augmentignore` is an Augment-Code-specific retrieval-index config; it has
|
|
273
|
+
no equivalent on the cloud surfaces and no file to write. Index pruning is
|
|
274
|
+
a local-agent concern.
|
|
@@ -3,6 +3,9 @@ name: optimize-rtk-filters
|
|
|
3
3
|
skills: [agent-docs-writing]
|
|
4
4
|
description: Create or optimize project-local rtk filters based on the actual toolchain
|
|
5
5
|
disable-model-invocation: true
|
|
6
|
+
suggestion:
|
|
7
|
+
eligible: false
|
|
8
|
+
rationale: "Niche maintenance tool with no recurring NL trigger."
|
|
6
9
|
---
|
|
7
10
|
|
|
8
11
|
# optimize-rtk-filters
|
|
@@ -3,6 +3,10 @@ name: optimize-skills
|
|
|
3
3
|
description: Audits skills — measures baseline, finds duplicates/merge candidates, runs linter. Suggest only, never auto-apply.
|
|
4
4
|
skills: [skill-reviewer]
|
|
5
5
|
disable-model-invocation: true
|
|
6
|
+
suggestion:
|
|
7
|
+
eligible: true
|
|
8
|
+
trigger_description: "audit my skills, find duplicate skills"
|
|
9
|
+
trigger_context: "maintainer working on .augment/skills/ files"
|
|
6
10
|
---
|
|
7
11
|
|
|
8
12
|
# /optimize-skills
|
|
@@ -3,6 +3,10 @@ name: override-create
|
|
|
3
3
|
description: Creates a project-level override for a shared skill, rule, or command.
|
|
4
4
|
skills: [override-management, agent-docs-writing]
|
|
5
5
|
disable-model-invocation: true
|
|
6
|
+
suggestion:
|
|
7
|
+
eligible: true
|
|
8
|
+
trigger_description: "override this skill for the project, customize this rule locally"
|
|
9
|
+
trigger_context: "prompt names a shared skill/rule needing project-specific behavior"
|
|
6
10
|
---
|
|
7
11
|
|
|
8
12
|
# /override-create
|
|
@@ -3,6 +3,10 @@ name: override-manage
|
|
|
3
3
|
description: Reviews, updates, and refactors existing project-level overrides.
|
|
4
4
|
skills: [override-management, agent-docs-writing]
|
|
5
5
|
disable-model-invocation: true
|
|
6
|
+
suggestion:
|
|
7
|
+
eligible: true
|
|
8
|
+
trigger_description: "review my overrides, update the project overrides"
|
|
9
|
+
trigger_context: "existing entries under agents/overrides/"
|
|
6
10
|
---
|
|
7
11
|
|
|
8
12
|
# /override-manage
|
|
@@ -3,6 +3,10 @@ name: prepare-for-review
|
|
|
3
3
|
skills: [git-workflow, quality-tools]
|
|
4
4
|
description: Prepare a PR branch for local review — updates main and merges the full branch chain so the branch is up to date
|
|
5
5
|
disable-model-invocation: true
|
|
6
|
+
suggestion:
|
|
7
|
+
eligible: true
|
|
8
|
+
trigger_description: "get this branch ready for review, rebase and prep for PR"
|
|
9
|
+
trigger_context: "branch behind base or part of a PR chain"
|
|
6
10
|
---
|
|
7
11
|
|
|
8
12
|
# prepare-for-review
|
|
@@ -3,6 +3,10 @@ name: project-analyze
|
|
|
3
3
|
skills: [project-analyzer]
|
|
4
4
|
description: Full project analysis — detect stack, inventory modules, audit docs, create missing contexts
|
|
5
5
|
disable-model-invocation: true
|
|
6
|
+
suggestion:
|
|
7
|
+
eligible: true
|
|
8
|
+
trigger_description: "analyze the project structure, do a full project audit"
|
|
9
|
+
trigger_context: "new project or after a major refactor"
|
|
6
10
|
---
|
|
7
11
|
|
|
8
12
|
# project-analyze
|
|
@@ -3,6 +3,10 @@ name: project-health
|
|
|
3
3
|
skills: [quality-tools]
|
|
4
4
|
description: Quick project health check — show status of docs, modules, contexts, and roadmaps without creating anything
|
|
5
5
|
disable-model-invocation: true
|
|
6
|
+
suggestion:
|
|
7
|
+
eligible: true
|
|
8
|
+
trigger_description: "check project health, what's the state of my docs and modules"
|
|
9
|
+
trigger_context: "routine health check, no destructive intent"
|
|
6
10
|
---
|
|
7
11
|
|
|
8
12
|
# project-health
|
|
@@ -3,14 +3,15 @@ name: propose-memory
|
|
|
3
3
|
description: Append a provisional memory signal to the intake stream — the universal fallback for any producer (human or agent) to record a finding without committing to a curated entry.
|
|
4
4
|
skills: [file-editor]
|
|
5
5
|
disable-model-invocation: true
|
|
6
|
+
suggestion:
|
|
7
|
+
eligible: false
|
|
8
|
+
rationale: "Programmatic intake fallback — overlaps /memory-add; keep explicit."
|
|
6
9
|
---
|
|
7
10
|
|
|
8
11
|
# /propose-memory
|
|
9
12
|
|
|
10
13
|
Drops a **signal** into `agents/memory/intake/signals-YYYY-MM.jsonl` via
|
|
11
|
-
`scripts/memory_signal.py`. Signals are append-only JSONL and
|
|
12
|
-
merge-safe (see
|
|
13
|
-
[`road-to-memory-merge-safety`](../../../agents/roadmaps/road-to-memory-merge-safety.md)).
|
|
14
|
+
`scripts/memory_signal.py`. Signals are append-only JSONL and merge-safe.
|
|
14
15
|
|
|
15
16
|
Unlike [`/memory-add`](memory-add.md) — which writes a **curated**
|
|
16
17
|
entry the reviewer has validated — `/propose-memory` is cheap and
|
|
@@ -30,8 +31,7 @@ Do NOT use when:
|
|
|
30
31
|
- The entry is a **decision** — go to [`/memory-add`](memory-add.md)
|
|
31
32
|
with `architecture-decisions` or `product-rules`.
|
|
32
33
|
- The finding contradicts an existing curated entry — open a
|
|
33
|
-
supersede-chain discussion instead
|
|
34
|
-
[`road-to-memory-self-consumption`](../../../agents/roadmaps/road-to-memory-self-consumption.md).
|
|
34
|
+
supersede-chain discussion instead.
|
|
35
35
|
|
|
36
36
|
## Steps
|
|
37
37
|
|
|
@@ -65,7 +65,7 @@ Ask once, numbered. If the user picks `skip`, proceed without them:
|
|
|
65
65
|
### 4. Emit via the shared helper
|
|
66
66
|
|
|
67
67
|
```bash
|
|
68
|
-
|
|
68
|
+
./agent-config memory:signal \
|
|
69
69
|
--type <type> \
|
|
70
70
|
--path "<path>" \
|
|
71
71
|
--body "<body>" \
|
|
@@ -104,5 +104,3 @@ is intended (rarely).
|
|
|
104
104
|
- [`engineering-memory-data-format`](../guidelines/agent-infra/engineering-memory-data-format.md)
|
|
105
105
|
- [`memory-access`](../guidelines/agent-infra/memory-access.md) — the
|
|
106
106
|
read-side contract that consumes what this command writes.
|
|
107
|
-
- [`road-to-agent-memory-integration`](../../../agents/roadmaps/road-to-agent-memory-integration.md)
|
|
108
|
-
— Phase 2 (write-side producers).
|
|
@@ -3,6 +3,10 @@ name: quality-fix
|
|
|
3
3
|
skills: [quality-tools]
|
|
4
4
|
description: Run quality pipeline (PHP and/or JS/TS) and fix all errors — auto-detects language from changed files
|
|
5
5
|
disable-model-invocation: true
|
|
6
|
+
suggestion:
|
|
7
|
+
eligible: true
|
|
8
|
+
trigger_description: "fix the quality errors, run PHPStan and fix issues, fix code style"
|
|
9
|
+
trigger_context: "PHPStan/Rector/ECS output in recent tool results"
|
|
6
10
|
---
|
|
7
11
|
|
|
8
12
|
# quality-fix
|
|
@@ -3,6 +3,10 @@ name: refine-ticket
|
|
|
3
3
|
skills: [refine-ticket]
|
|
4
4
|
description: Refine a Jira/Linear ticket before planning — rewritten ticket + Top-5 risks + persona voices, orchestrates validate-feature-fit and threat-modeling, ends with a close-prompt
|
|
5
5
|
disable-model-invocation: true
|
|
6
|
+
suggestion:
|
|
7
|
+
eligible: true
|
|
8
|
+
trigger_description: "refine PROJ-123, tighten the acceptance criteria, is this ticket clear"
|
|
9
|
+
trigger_context: "ticket key in prompt with vague acceptance criteria"
|
|
6
10
|
---
|
|
7
11
|
|
|
8
12
|
# refine-ticket
|
|
@@ -30,16 +34,18 @@ If no input resolves: ask **one** focused question:
|
|
|
30
34
|
|
|
31
35
|
### 2. Pick the output language
|
|
32
36
|
|
|
33
|
-
Apply the skill's language-strategy block.
|
|
37
|
+
Apply the skill's language-strategy block. Fallback order, first hit wins:
|
|
34
38
|
|
|
35
39
|
1. **User-message language** — latest user message decides. Honours
|
|
36
40
|
the global `language-and-tone` iron law.
|
|
37
|
-
2. **Ticket body language** —
|
|
38
|
-
with no prose)
|
|
39
|
-
|
|
40
|
-
|
|
41
|
+
2. **Ticket body language** — when the invocation is minimal
|
|
42
|
+
(`/refine-ticket PROJ-123` with no prose), mirror the ticket's
|
|
43
|
+
own language (summary + description).
|
|
44
|
+
3. **`.agent-settings.yml` default** — fallback when both are silent;
|
|
45
|
+
English when the setting is absent.
|
|
41
46
|
|
|
42
|
-
Quoted identifiers stay native; only
|
|
47
|
+
Quoted identifiers (keys, paths, commands) stay native; only the
|
|
48
|
+
prose mirrors the picked language.
|
|
43
49
|
|
|
44
50
|
### 3. Run the refine-ticket skill
|
|
45
51
|
|
|
@@ -78,4 +84,3 @@ persona voices) plus the close-prompt. Stop there. Do **not** chain into
|
|
|
78
84
|
- [`jira-ticket`](jira-ticket.md) — ticket loader this command delegates to
|
|
79
85
|
- [`estimate-ticket`](estimate-ticket.md) — sibling command — run after refining if you also need sizing
|
|
80
86
|
- [`feature-plan`](feature-plan.md), [`feature-explore`](feature-explore.md) — downstream commands
|
|
81
|
-
- [`road-to-ticket-refinement.md`](../../agents/roadmaps/road-to-ticket-refinement.md) — governing roadmap
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: review-changes
|
|
3
|
-
skills: [code-review, subagent-orchestration, judge-bug-hunter, judge-security-auditor, judge-test-coverage, judge-code-quality]
|
|
3
|
+
skills: [code-review, subagent-orchestration, judge-bug-hunter, judge-security-auditor, judge-test-coverage, judge-code-quality, git-workflow]
|
|
4
4
|
description: Self-review local changes before creating a PR — dispatches to four specialized judges (bug, security, tests, quality) and consolidates verdicts
|
|
5
5
|
disable-model-invocation: true
|
|
6
|
+
suggestion:
|
|
7
|
+
eligible: true
|
|
8
|
+
trigger_description: "self-review my changes, judge this diff before PR"
|
|
9
|
+
trigger_context: "uncommitted or staged changes pre-PR"
|
|
6
10
|
---
|
|
7
11
|
|
|
8
12
|
# review-changes
|
|
@@ -13,7 +17,29 @@ Review all uncommitted and committed-but-not-pushed changes against
|
|
|
13
17
|
the default branch (`main`) by dispatching to four specialized judge
|
|
14
18
|
sub-skills and consolidating their verdicts.
|
|
15
19
|
|
|
16
|
-
### 1.
|
|
20
|
+
### 1. Update the current branch
|
|
21
|
+
|
|
22
|
+
Before gathering the diff, run [`/prepare-for-review`](prepare-for-review.md)
|
|
23
|
+
to make sure the current branch is up to date with its base chain:
|
|
24
|
+
|
|
25
|
+
- Detect the current branch with `git rev-parse --abbrev-ref HEAD`.
|
|
26
|
+
- If the branch is `main` → skip this step (nothing to prepare).
|
|
27
|
+
- Otherwise, search for an open GitHub PR whose head is the current
|
|
28
|
+
branch.
|
|
29
|
+
- If exactly one open PR is found → invoke `/prepare-for-review`
|
|
30
|
+
with that PR number. It will update `main`, fetch and merge the
|
|
31
|
+
full branch chain into the current branch, and leave the current
|
|
32
|
+
branch checked out.
|
|
33
|
+
- If no open PR is found → fall back to a minimal local update:
|
|
34
|
+
`git fetch origin main` and `git merge origin/main --no-edit` on
|
|
35
|
+
the current branch. Abort on conflict and report.
|
|
36
|
+
- If multiple PRs are found → ask the user which PR to use before
|
|
37
|
+
proceeding.
|
|
38
|
+
- If `/prepare-for-review` aborts (merge conflict, network error,
|
|
39
|
+
etc.) → stop the review here and surface the error. Do **not**
|
|
40
|
+
continue with stale data.
|
|
41
|
+
|
|
42
|
+
### 2. Gather the diff
|
|
17
43
|
|
|
18
44
|
- `git diff origin/main..HEAD --stat` — overview of changed files
|
|
19
45
|
- `git diff origin/main..HEAD` — full committed-but-not-pushed diff
|
|
@@ -21,7 +47,7 @@ sub-skills and consolidating their verdicts.
|
|
|
21
47
|
|
|
22
48
|
If both diffs are empty, **stop** — nothing to review.
|
|
23
49
|
|
|
24
|
-
###
|
|
50
|
+
### 3. Resolve the judge model
|
|
25
51
|
|
|
26
52
|
Read `.agent-settings.yml`:
|
|
27
53
|
|
|
@@ -29,7 +55,7 @@ Read `.agent-settings.yml`:
|
|
|
29
55
|
|
|
30
56
|
Unknown alias → stop. Never silently fall back.
|
|
31
57
|
|
|
32
|
-
###
|
|
58
|
+
### 4. Dispatch to the four judges
|
|
33
59
|
|
|
34
60
|
Each judge receives **the same diff plus the task context** (ticket,
|
|
35
61
|
PR body, commit messages) and runs independently. The judges are:
|
|
@@ -55,7 +81,7 @@ Pick dispatch mode based on diff size and environment:
|
|
|
55
81
|
Each judge returns its own `Judge / Model / Target / Verdict /
|
|
56
82
|
Issues` block in the format defined by that skill.
|
|
57
83
|
|
|
58
|
-
###
|
|
84
|
+
### 5. Consolidate
|
|
59
85
|
|
|
60
86
|
Produce one combined report:
|
|
61
87
|
|
|
@@ -65,7 +91,7 @@ Produce one combined report:
|
|
|
65
91
|
- Highlight any finding that multiple judges flagged — those are the
|
|
66
92
|
highest-confidence items
|
|
67
93
|
|
|
68
|
-
###
|
|
94
|
+
### 6. Decide next steps
|
|
69
95
|
|
|
70
96
|
- If **any** judge returned `reject` → stop; the approach must change
|
|
71
97
|
before proceeding
|
|
@@ -73,7 +99,7 @@ Produce one combined report:
|
|
|
73
99
|
ask before fixing 🟡 findings, report 🟢 as suggestions
|
|
74
100
|
- If all four returned `apply` → the diff is ready; report and stop
|
|
75
101
|
|
|
76
|
-
###
|
|
102
|
+
### 7. Quality tools (optional)
|
|
77
103
|
|
|
78
104
|
After the consolidated report, ask:
|
|
79
105
|
|
|
@@ -93,8 +119,12 @@ or the equivalent configured command).
|
|
|
93
119
|
files still gets coverage feedback — `judge-test-coverage` treats
|
|
94
120
|
"production changed, no test changed" as its primary finding
|
|
95
121
|
- Project-specific syntax checks (e.g. `php -l`, linter pre-pass) are
|
|
96
|
-
out of scope for the judges and belong in the optional step
|
|
122
|
+
out of scope for the judges and belong in the optional step 7
|
|
97
123
|
quality tools hand-off
|
|
124
|
+
- The new step 1 (`/prepare-for-review`) is **best-effort**: if no
|
|
125
|
+
open PR exists for the current branch, it falls back to a plain
|
|
126
|
+
`git fetch && git merge origin/main`. Existing invocations that
|
|
127
|
+
ran on a fully detached or pre-PR branch keep working
|
|
98
128
|
|
|
99
129
|
## Use this command when
|
|
100
130
|
|
|
@@ -115,6 +145,7 @@ or the equivalent configured command).
|
|
|
115
145
|
|
|
116
146
|
## See also
|
|
117
147
|
|
|
148
|
+
- [`/prepare-for-review`](prepare-for-review.md) — updates `main` and merges the full base-branch chain into the target branch (used by step 1)
|
|
118
149
|
- [`subagent-orchestration`](../skills/subagent-orchestration/SKILL.md) — dispatch and model-pairing rules
|
|
119
150
|
- [`/do-and-judge`](do-and-judge.md) — implementer + judge loop for a single change
|
|
120
151
|
- [`/judge`](judge.md) — standalone judge, no review-changes dispatch
|
|
@@ -3,6 +3,10 @@ name: review-routing
|
|
|
3
3
|
skills: [review-routing, reviewer-awareness, review-routing-awareness]
|
|
4
4
|
description: Compute reviewer roles and matched historical bug patterns for the current diff, using project-local ownership-map.yml and historical-bug-patterns.yml
|
|
5
5
|
disable-model-invocation: true
|
|
6
|
+
suggestion:
|
|
7
|
+
eligible: true
|
|
8
|
+
trigger_description: "who should review this, suggest reviewers for this PR"
|
|
9
|
+
trigger_context: "PR open without assigned reviewers"
|
|
6
10
|
---
|
|
7
11
|
|
|
8
12
|
# review-routing
|
|
@@ -3,6 +3,10 @@ name: roadmap-create
|
|
|
3
3
|
skills: [agent-docs-writing]
|
|
4
4
|
description: Interactively create a new roadmap file in agents/roadmaps/
|
|
5
5
|
disable-model-invocation: true
|
|
6
|
+
suggestion:
|
|
7
|
+
eligible: true
|
|
8
|
+
trigger_description: "create a roadmap for X, plan this work as a roadmap"
|
|
9
|
+
trigger_context: "multi-phase work without an existing agents/roadmaps/*.md"
|
|
6
10
|
---
|
|
7
11
|
|
|
8
12
|
# roadmap-create
|
|
@@ -110,6 +114,20 @@ If yes → switch to the `roadmap-execute` command workflow with the newly creat
|
|
|
110
114
|
|
|
111
115
|
- **Do NOT auto-generate content** — always ask the user for input.
|
|
112
116
|
- **Do NOT commit or push.**
|
|
117
|
+
- **Do NOT include commit steps in the roadmap** unless the user explicitly
|
|
118
|
+
requested them. See [`commit-policy`](../rules/commit-policy.md#never-write-commit-steps-into-roadmaps-unsolicited).
|
|
119
|
+
Roadmaps plan **work**; commits are a separate delivery decision.
|
|
120
|
+
- **Every phase MUST contain at least one `- [ ]` checkbox.** A roadmap
|
|
121
|
+
without checkboxes is invisible to `agents/roadmaps-progress.md` and
|
|
122
|
+
violates [`roadmap-progress-sync`](../rules/roadmap-progress-sync.md)
|
|
123
|
+
Iron Law #2.
|
|
124
|
+
- **Status is binary: `ready` (default) or `draft`.** Create new
|
|
125
|
+
roadmaps as **ready** — no `status:` field needed, ready is
|
|
126
|
+
implicit. Only mark `status: draft` (in YAML frontmatter) when the
|
|
127
|
+
user explicitly says it should be hidden from the dashboard (still
|
|
128
|
+
being authored, awaiting upstream decisions, capture-only synthesis
|
|
129
|
+
without executable phases). If the user wants draft, ask once at
|
|
130
|
+
step 3 — do not infer it.
|
|
113
131
|
- **Write the roadmap in English** (per project convention for `.md` files).
|
|
114
132
|
- Follow the roadmap template from `.augment/templates/roadmaps.md`.
|
|
115
133
|
- Keep the file focused: 500–1000 lines max. If larger, suggest splitting.
|
|
@@ -3,6 +3,10 @@ name: roadmap-execute
|
|
|
3
3
|
skills: [agent-docs-writing]
|
|
4
4
|
description: Read and interactively execute a roadmap from agents/roadmaps/
|
|
5
5
|
disable-model-invocation: true
|
|
6
|
+
suggestion:
|
|
7
|
+
eligible: true
|
|
8
|
+
trigger_description: "execute the roadmap, work through the roadmap step by step"
|
|
9
|
+
trigger_context: "existing agents/roadmaps/*.md referenced in the prompt"
|
|
6
10
|
---
|
|
7
11
|
|
|
8
12
|
# roadmap-execute
|
|
@@ -61,7 +65,16 @@ For each open step:
|
|
|
61
65
|
|
|
62
66
|
### Rules
|
|
63
67
|
|
|
64
|
-
- **
|
|
68
|
+
- **Commits are governed by [`commit-policy`](../rules/commit-policy.md).**
|
|
69
|
+
By default: only apply local changes and update the roadmap file — no commits.
|
|
70
|
+
- If the roadmap **does not** contain explicit commit steps → never commit, never ask.
|
|
71
|
+
- If the roadmap **does** contain explicit commit steps:
|
|
72
|
+
- **Non-autonomous** (`personal.autonomy: off`, or `auto` before opt-in) →
|
|
73
|
+
ask before each commit step.
|
|
74
|
+
- **Autonomous** (`personal.autonomy: on`, or `auto` after opt-in) →
|
|
75
|
+
pre-scan the roadmap **before starting**, ask **once** upfront whether
|
|
76
|
+
to execute the listed commit steps, then proceed silently per the answer.
|
|
77
|
+
- **Push, merge, branch, PR, tag** stay permission-gated by [`scope-control`](../rules/scope-control.md#git-operations--permission-gated).
|
|
65
78
|
- **Always ask before implementing** a step — never auto-execute.
|
|
66
79
|
- **Run quality checks** after each code change.
|
|
67
80
|
- If a step is unclear or too large, suggest breaking it down further.
|
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
name: rule-compliance-audit
|
|
3
3
|
description: Audit rule trigger quality, simulate activation, detect overlaps, and find never-activating rules
|
|
4
4
|
disable-model-invocation: true
|
|
5
|
+
suggestion:
|
|
6
|
+
eligible: true
|
|
7
|
+
trigger_description: "audit my rules, check rule trigger quality"
|
|
8
|
+
trigger_context: "maintainer working on .augment/rules/ files"
|
|
5
9
|
---
|
|
6
10
|
|
|
7
11
|
# rule-compliance-audit
|
|
@@ -3,8 +3,13 @@ name: set-cost-profile
|
|
|
3
3
|
description: Change the cost_profile in .agent-settings.yml — shows each profile's meaning and applies the selection
|
|
4
4
|
skills: [file-editor]
|
|
5
5
|
disable-model-invocation: true
|
|
6
|
+
suggestion:
|
|
7
|
+
eligible: false
|
|
8
|
+
rationale: "Settings mutation — must be deliberate."
|
|
6
9
|
---
|
|
7
10
|
|
|
11
|
+
<!-- cloud_safe: noop -->
|
|
12
|
+
|
|
8
13
|
# /set-cost-profile
|
|
9
14
|
|
|
10
15
|
Changes `cost_profile` in `.agent-settings.yml`. Four profiles are defined in
|
|
@@ -93,6 +98,12 @@ steps here, that's the docs' job.
|
|
|
93
98
|
- `custom` ignores the profile matrix — every per-feature toggle must be
|
|
94
99
|
set explicitly afterwards. Warn the user when switching to `custom`.
|
|
95
100
|
|
|
101
|
+
## Cloud Behavior
|
|
102
|
+
|
|
103
|
+
On cloud surfaces (Claude.ai Web, Skills API) this command is **fully inert** —
|
|
104
|
+
there is no `.agent-settings.yml` to write and no `cost_profile` toggle to
|
|
105
|
+
flip. Cost behaviour on those surfaces is governed by the platform itself.
|
|
106
|
+
|
|
96
107
|
## See also
|
|
97
108
|
|
|
98
109
|
- [`agent-settings`](../templates/agent-settings.md) — profile matrix and settings reference
|
|
@@ -2,8 +2,13 @@
|
|
|
2
2
|
name: sync-agent-settings
|
|
3
3
|
description: Sync `.agent-settings.yml` against the current template + profile — adds new sections/keys, preserves user values, shows a diff before writing
|
|
4
4
|
disable-model-invocation: true
|
|
5
|
+
suggestion:
|
|
6
|
+
eligible: false
|
|
7
|
+
rationale: "Settings sync — must be deliberate."
|
|
5
8
|
---
|
|
6
9
|
|
|
10
|
+
<!-- cloud_safe: noop -->
|
|
11
|
+
|
|
7
12
|
# /sync-agent-settings
|
|
8
13
|
|
|
9
14
|
Reconciles `.agent-settings.yml` with the shipped template
|
|
@@ -112,6 +117,13 @@ check-only workflows; report the drift and let the pipeline decide.
|
|
|
112
117
|
presets require a package update in the consumer project before
|
|
113
118
|
this command can apply them.
|
|
114
119
|
|
|
120
|
+
## Cloud Behavior
|
|
121
|
+
|
|
122
|
+
On cloud surfaces (Claude.ai Web, Skills API) this command is **fully inert** —
|
|
123
|
+
there is no `.agent-settings.yml` on disk, no `scripts/sync_agent_settings.py`
|
|
124
|
+
to call, and no template/profile preset reachable. Settings reconciliation
|
|
125
|
+
is a local-agent concern.
|
|
126
|
+
|
|
115
127
|
## See also
|
|
116
128
|
|
|
117
129
|
- [`scripts/sync_agent_settings.py`](../../../scripts/sync_agent_settings.py) — the helper
|
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
name: sync-gitignore
|
|
3
3
|
description: Sync the `event4u/agent-config` block in the consumer project's .gitignore — adds missing entries, preserves user-added lines, shows a diff before writing
|
|
4
4
|
disable-model-invocation: true
|
|
5
|
+
suggestion:
|
|
6
|
+
eligible: false
|
|
7
|
+
rationale: "Settings sync — must be deliberate."
|
|
5
8
|
---
|
|
6
9
|
|
|
7
10
|
# /sync-gitignore
|
|
@@ -3,6 +3,10 @@ name: tests-create
|
|
|
3
3
|
skills: [pest-testing]
|
|
4
4
|
description: Write meaningful tests for the changes in the current branch
|
|
5
5
|
disable-model-invocation: true
|
|
6
|
+
suggestion:
|
|
7
|
+
eligible: true
|
|
8
|
+
trigger_description: "write tests for these changes, add tests for this branch"
|
|
9
|
+
trigger_context: "code changes on the branch without matching test changes"
|
|
6
10
|
---
|
|
7
11
|
|
|
8
12
|
# tests-create
|
|
@@ -3,6 +3,10 @@ name: tests-execute
|
|
|
3
3
|
skills: [pest-testing]
|
|
4
4
|
description: Run PHP tests inside the Docker container
|
|
5
5
|
disable-model-invocation: true
|
|
6
|
+
suggestion:
|
|
7
|
+
eligible: true
|
|
8
|
+
trigger_description: "run the tests, execute the test suite"
|
|
9
|
+
trigger_context: "code changes pending verification"
|
|
6
10
|
---
|
|
7
11
|
|
|
8
12
|
# tests-execute
|
|
@@ -18,9 +22,8 @@ Check in this order — use the **first match**:
|
|
|
18
22
|
3. **`vendor/bin/pest` exists** → Pest → `vendor/bin/pest`
|
|
19
23
|
4. **Fallback** → PHPUnit → `vendor/bin/phpunit`
|
|
20
24
|
|
|
21
|
-
**Prefer Makefile targets** over raw commands — they handle container access,
|
|
22
|
-
environment variables, and parallel settings automatically.
|
|
23
|
-
uses a different task runner, inspect its config before falling back to raw.
|
|
25
|
+
**Prefer Makefile targets** over raw commands when they exist — they handle container access,
|
|
26
|
+
environment variables, and parallel settings automatically.
|
|
24
27
|
|
|
25
28
|
### 2. Run the tests
|
|
26
29
|
|
|
@@ -3,6 +3,10 @@ name: threat-model
|
|
|
3
3
|
skills: [threat-modeling, authz-review, security-sensitive-stop]
|
|
4
4
|
description: Run a pre-implementation threat model on a proposed change — enumerates abuse cases, trust boundaries, and authorization gaps before the first line of code is written
|
|
5
5
|
disable-model-invocation: true
|
|
6
|
+
suggestion:
|
|
7
|
+
eligible: true
|
|
8
|
+
trigger_description: "threat model this change, what could go wrong security-wise"
|
|
9
|
+
trigger_context: "changes touching auth, webhooks, uploads, secrets, or public endpoints"
|
|
6
10
|
---
|
|
7
11
|
|
|
8
12
|
# threat-model
|
|
@@ -3,6 +3,10 @@ name: update-form-request-messages
|
|
|
3
3
|
skills: [laravel-validation]
|
|
4
4
|
description: Sync the messages() method of a FormRequest class — add missing entries, link them to language keys, and clean up stale ones
|
|
5
5
|
disable-model-invocation: true
|
|
6
|
+
suggestion:
|
|
7
|
+
eligible: true
|
|
8
|
+
trigger_description: "sync the form request messages, update the validation messages"
|
|
9
|
+
trigger_context: "edits to app/Http/Requests/*.php referencing rules without messages"
|
|
6
10
|
---
|
|
7
11
|
|
|
8
12
|
# update-form-request-messages
|
|
@@ -3,6 +3,10 @@ name: upstream-contribute
|
|
|
3
3
|
skills: [upstream-contribute, skill-writing, learning-to-rule-or-skill]
|
|
4
4
|
description: Contribute a learning, skill, rule, or fix from a consumer project back to the shared agent-config package
|
|
5
5
|
disable-model-invocation: true
|
|
6
|
+
suggestion:
|
|
7
|
+
eligible: true
|
|
8
|
+
trigger_description: "contribute this back to agent-config, upstream this learning"
|
|
9
|
+
trigger_context: "project-local skill/rule that fits the shared package"
|
|
6
10
|
---
|
|
7
11
|
|
|
8
12
|
# /upstream-contribute
|