Use when reviewing UI for accessibility — WCAG 2.2 AA, keyboard nav, focus, ARIA, contrast, screen-reader semantics — even on 'is this a11y-OK?' or 'mach das barrierefrei'.
日本語の概要は準備中です。原文の説明を表示しています。
Use when a learning, new skill, rule improvement, or bug fix from a consumer project should be contributed back to the shared agent-config package.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
learning-to-rule-or-skill skill identified something worth upstreamingupstream-proposal rule suggested a contribution and user agreedDo NOT use when:
Contribute a learning, skill, rule, or fix from a consumer project back to the
shared agent-config package — with correct file placement, quality gates, and PR structure.
THE SAME ARTIFACT OVERRIDDEN IN INDEPENDENT INSTALLS IS THE CHEAPEST AVAILABLE
HINT THAT A SHIPPED DEFAULT IS WRONG. IT IS A HINT.
NEVER CHANGE A SHIPPED DEFAULT ON OVERRIDES FROM ONE ORGANISATION.
INDEPENDENT MEANS DIFFERENT TEAMS, NOT DIFFERENT DIRECTORIES.
agent-config doctor --check override-set reports which shipped artifacts a
tree overrides and in how many layers. Two same-culture installs overriding the
same artifact is n=2 from one toolchain culture, which is a discovery
channel and not a mandate — and the temptation to "just fix the default, we
already know" is exactly how a general package becomes one organisation's house
style.
What makes an aggregate admissible, matching the Evidence-based and Universality first principles above:
Below that bar, the signal is one input to a future aggregate and nothing more. Record it and leave the default alone.
The signal carries no consumer content, by construction. Artifact kind, name and a layer count — the type has no field that can hold a path, a diff or anything from the tree, so privacy is the schema's shape rather than a scrubbing pass that could fail. Never widen it to make a proposal more persuasive; a proposal that needs the consumer's diff is a proposal that has not cleared the bar.
The shared agent-config package lives at:
git@github.com:event4u-app/agent-config.git
GitHub: https://github.com/event4u-app/agent-config
This step is NON-NEGOTIABLE. No exceptions.
Before ANY upstream work (branch, files, PR), ask the user:
> 🔄 This [skill/rule/guideline] could improve the shared agent-config package.
> [Brief explanation of what would be contributed and why it's valuable]
>
> 1. Yes — create an upstream PR
> 2. No — keep it project-local only
project.upstream_repo is empty in .agent-settings.yml → ask the user to configure it first.| Type | Source path | Condensed path |
|---|---|---|
| New skill | src/skills/{name}/SKILL.md | .augment/skills/{name}/SKILL.md |
| New rule | src/rules/{name}.md | .augment/rules/{name}.md |
| New command | src/domains/{domain}/{name}/command.md | .augment/commands/{name}.md |
| New guideline | docs/guidelines/{category}/{name}.md | .augment/guidelines/{category}/{name}.md |
| Update to existing | Same path as original | Same path as original |
Create an override so the project benefits immediately:
agents/overrides/{type}/{name}.md
With frontmatter:
---
overrides: {type}/{name}
mode: replace # or extend
---
This step is optional if the change is low-urgency.
If the content is project-specific but could be made universal:
Example: A project-specific "import-csv" skill → generic "file-import" skill with configurable format.
The agent needs access to the package repository. Ask the user:
> The improvement should go to the shared agent-config package.
> I need to create a PR in `event4u-app/agent-config`.
>
> 1. I have the package repo cloned locally — tell me the path
> 2. Clone it for me into a temp directory
> 3. I'll handle the PR manually — just give me the files
Option 1: User provides path → work directly in that repo.
Option 2: Clone into temp directory:
git clone git@github.com:event4u-app/agent-config.git /tmp/agent-config-upstream
cd /tmp/agent-config-upstream
Option 3: Output the file contents as copyable blocks for the user.
cd {package-repo-path}
git checkout main && git pull
git checkout -b feat/skills/{name} # or fix/rules/{name}, etc.
Create both files:
src/{type}/{name} (full, verbose, human-readable).augment/{type}/{name} (token-efficient, preserving all code blocks,
headings, frontmatter, validation, gotchas)For skills, the condensed version should be 40-60% shorter than uncondensed. For rules and commands, they are usually copied 1:1 (no condensation).
The files must:
name, description, source: package)./scripts-run src/scripts/skill_linter --all # 0 FAIL required
./scripts-run src/scripts/check_condensation # No errors for this file
./scripts-run src/scripts/condense --generate-tools # Regenerate symlinks
bash scripts/condense.sh --check # dist/agent-src/ in sync with source
If not in the package repo, note that these checks will run in CI after the PR is created.
If the contribution originates from a proposal under agents/proposals/
(produced by learning-to-rule-or-skill via the pipeline in
self-improvement-pipeline),
run the Stage-4 gate before opening the PR:
./agent-config proposal:check agents/proposals/{slug}.md
Hard refusal rule: if ./agent-config proposal:check exits non-zero, STOP —
do not create the branch, do not push, do not open the PR. Surface the
findings to the user, ask them to fix the proposal (add evidence,
remove TODO markers, complete required sections), then rerun.
When no proposal doc exists (small fix, typo, pure bug-fix), skip this step and document the rationale in the PR body under the Promotion Gate.
Branch naming: feat/skills/{name}, fix/rules/{name}, feat/commands/{name}
Commit message format:
feat(skills): add {name} skill
fix(rules): improve {name} rule — {what changed}
feat(commands): add {name} command
PR title: Same as commit message.
PR body must use the package's PR template with these gates:
Once the PR is merged and the package is updated in the project:
# In the consumer project
rm agents/overrides/{type}/{name}.md
composer update event4u/agent-config # or npm update
The shared version now replaces the local override.
.augment/ in the consumer project — that's read-only (symlinked)source field in frontmatter must be package, not project./agent-config proposal:check blocks — fix the proposal first (step 6b).augment/ in the consumer project — it's managed by the packageまだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Use when reviewing UI for accessibility — WCAG 2.2 AA, keyboard nav, focus, ARIA, contrast, screen-reader semantics — even on 'is this a11y-OK?' or 'mach das barrierefrei'.
日本語の概要は準備中です。原文の説明を表示しています。
Use when defining or auditing the activation event — aha-moment selection, retention correlation, falsifiable definition. Triggers on 'what is our aha moment', 'redefine activation'.
日本語の概要は準備中です。原文の説明を表示しています。
Use when capturing an architectural decision — file naming, next ADR number, Status / Context / Decision / Consequences, index regen; fires even without saying 'ADR'.
日本語の概要は準備中です。原文の説明を表示しています。
Adversarial critique — devil's advocate, stress-test, honest teardown ('poke holes', 'be brutal', 'was hältst du davon'); explicit request only. Routine code or design review → code-review.
日本語の概要は準備中です。原文の説明を表示しています。
Use when reading, creating, or updating agent documentation, module docs, roadmaps, or AGENTS.md. Understands the full .augment/, agents/, and copilot-instructions structure.
日本語の概要は準備中です。原文の説明を表示しています。
Use for an adversarial red-team / blue-team / auditor review of an AI agent's CONFIG + behaviour (rules, skills, MCP, hooks, permissions) — attack-chain → defensive-gap list, not a code audit.
日本語の概要は準備中です。原文の説明を表示しています。