2025-11-23 01:01:27 +00:00
# CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
2025-12-11 13:50:15 +00:00
---
## ⛔ CRITICAL RULES (READ FIRST)
refactor: apply lexical salience guidelines across dev-team plugin
- Remove diluted CAPS words (ALL, ANY, ONLY, EACH, EVERY, NOT, NO, etc.)
- Preserve enforcement words (MUST, STOP, HARD GATE, FAIL, PASS, etc.)
- Add Lexical Salience Guidelines section to CLAUDE.md
- Rewrite docs/PROMPT_ENGINEERING.md with new approach
- Create docs/plans/lexical-salience-refactor.md plan
- Update 35 dev-team files (skills, agents, standards, commands)
Principle: Selective emphasis creates focus - fewer CAPS words
at sentence beginnings produce higher AI attention on critical
instructions.
Generated-by: Claude
AI-Model: claude-sonnet-4-20250514
2026-01-06 14:35:39 +00:00
**These rules are NON-NEGOTIABLE. They MUST be followed for every task.**
2025-12-11 13:50:15 +00:00
### 1. Agent Modification = Mandatory Verification
2026-02-09 14:10:47 +00:00
refactor: apply lexical salience guidelines across dev-team plugin
- Remove diluted CAPS words (ALL, ANY, ONLY, EACH, EVERY, NOT, NO, etc.)
- Preserve enforcement words (MUST, STOP, HARD GATE, FAIL, PASS, etc.)
- Add Lexical Salience Guidelines section to CLAUDE.md
- Rewrite docs/PROMPT_ENGINEERING.md with new approach
- Create docs/plans/lexical-salience-refactor.md plan
- Update 35 dev-team files (skills, agents, standards, commands)
Principle: Selective emphasis creates focus - fewer CAPS words
at sentence beginnings produce higher AI attention on critical
instructions.
Generated-by: Claude
AI-Model: claude-sonnet-4-20250514
2026-01-06 14:35:39 +00:00
When creating or modifying any agent in `*/agents/*.md` :
2026-02-09 14:10:47 +00:00
refactor: apply lexical salience guidelines across dev-team plugin
- Remove diluted CAPS words (ALL, ANY, ONLY, EACH, EVERY, NOT, NO, etc.)
- Preserve enforcement words (MUST, STOP, HARD GATE, FAIL, PASS, etc.)
- Add Lexical Salience Guidelines section to CLAUDE.md
- Rewrite docs/PROMPT_ENGINEERING.md with new approach
- Create docs/plans/lexical-salience-refactor.md plan
- Update 35 dev-team files (skills, agents, standards, commands)
Principle: Selective emphasis creates focus - fewer CAPS words
at sentence beginnings produce higher AI attention on critical
instructions.
Generated-by: Claude
AI-Model: claude-sonnet-4-20250514
2026-01-06 14:35:39 +00:00
- **MUST** verify agent has all required sections (see "Agent Modification Verification")
2025-12-11 13:50:15 +00:00
- **MUST** use STRONG language (MUST, REQUIRED, CANNOT, FORBIDDEN)
- **MUST** include anti-rationalization tables
refactor: apply lexical salience guidelines across dev-team plugin
- Remove diluted CAPS words (ALL, ANY, ONLY, EACH, EVERY, NOT, NO, etc.)
- Preserve enforcement words (MUST, STOP, HARD GATE, FAIL, PASS, etc.)
- Add Lexical Salience Guidelines section to CLAUDE.md
- Rewrite docs/PROMPT_ENGINEERING.md with new approach
- Create docs/plans/lexical-salience-refactor.md plan
- Update 35 dev-team files (skills, agents, standards, commands)
Principle: Selective emphasis creates focus - fewer CAPS words
at sentence beginnings produce higher AI attention on critical
instructions.
Generated-by: Claude
AI-Model: claude-sonnet-4-20250514
2026-01-06 14:35:39 +00:00
- If any section is missing → Agent is INCOMPLETE
2025-12-11 13:50:15 +00:00
### 2. Agents are EXECUTORS, Not DECISION-MAKERS
2026-02-09 14:10:47 +00:00
refactor: apply lexical salience guidelines across dev-team plugin
- Remove diluted CAPS words (ALL, ANY, ONLY, EACH, EVERY, NOT, NO, etc.)
- Preserve enforcement words (MUST, STOP, HARD GATE, FAIL, PASS, etc.)
- Add Lexical Salience Guidelines section to CLAUDE.md
- Rewrite docs/PROMPT_ENGINEERING.md with new approach
- Create docs/plans/lexical-salience-refactor.md plan
- Update 35 dev-team files (skills, agents, standards, commands)
Principle: Selective emphasis creates focus - fewer CAPS words
at sentence beginnings produce higher AI attention on critical
instructions.
Generated-by: Claude
AI-Model: claude-sonnet-4-20250514
2026-01-06 14:35:39 +00:00
- Agents **VERIFY** , they DO NOT **ASSUME**
- Agents **REPORT** blockers, they DO NOT **SOLVE** ambiguity autonomously
- Agents **FOLLOW** gates, they DO NOT **SKIP** gates
- Agents **ASK** when uncertain, they DO NOT **GUESS**
2026-02-13 13:28:49 +00:00
### 3. Anti-Patterns (MUST NOT do these)
2026-02-09 14:10:47 +00:00
2026-02-13 13:28:49 +00:00
1. **MUST NOT skip ring:using-ring** - It's mandatory, not optional
2. **MUST NOT run reviewers sequentially** - dispatch in parallel
3. **MUST NOT skip TDD's RED phase** - Test must fail before implementation
4. **MUST NOT ignore skill when applicable** - "Simple task" is not an excuse
2026-03-23 16:47:31 +00:00
5. **ZERO PANIC POLICY** - `panic()` , `log.Fatal()` , and `Must*` helpers are FORBIDDEN everywhere (including bootstrap/init). Return `(T, error)` instead. Only exception: `regexp.MustCompile()` with compile-time constants.
2026-04-12 13:12:03 +00:00
6. **MUST NOT commit manually** - use `ring:commit` skill
2026-02-13 13:28:49 +00:00
7. **MUST NOT assume compliance** - VERIFY with evidence
refactor: apply lexical salience guidelines across dev-team plugin
- Remove diluted CAPS words (ALL, ANY, ONLY, EACH, EVERY, NOT, NO, etc.)
- Preserve enforcement words (MUST, STOP, HARD GATE, FAIL, PASS, etc.)
- Add Lexical Salience Guidelines section to CLAUDE.md
- Rewrite docs/PROMPT_ENGINEERING.md with new approach
- Create docs/plans/lexical-salience-refactor.md plan
- Update 35 dev-team files (skills, agents, standards, commands)
Principle: Selective emphasis creates focus - fewer CAPS words
at sentence beginnings produce higher AI attention on critical
instructions.
Generated-by: Claude
AI-Model: claude-sonnet-4-20250514
2026-01-06 14:35:39 +00:00
2026-02-13 13:28:49 +00:00
### 4. Unified Ring Namespace (MANDATORY)
2026-02-09 14:10:47 +00:00
refactor(plugins): unify namespace and archive legacy teams
This commit restructures the plugin ecosystem to improve maintainability,
simplify component invocation, and focus on high-value domains.
Key changes:
- **Unified Namespace:** All component invocations are standardized to the
`ring:{component}` format, replacing the verbose `ring-{plugin}:...`
prefix. This simplifies usage and abstracts the internal plugin
structure.
- **Archive Legacy Plugins:** The `finance-team`, `ops-team`, `pmm-team`,
and `pmo-team` plugins are moved to a new `.archive` directory.
These plugins contained complex, outdated patterns and are now
preserved for historical reference only.
- **Introduce FinOps Plugin:** A new, highly-focused `finops-team` plugin
is added to handle Brazilian financial regulatory compliance (BACEN,
RFB), consolidating critical functionality into a more focused package.
- **Update Documentation:** Core documentation (`ARCHITECTURE.md`,`README.md`,
`CLAUDE.md`, `MANUAL.md`) and the plugin marketplace are updated to
reflect the new structure and unified namespace.
2026-01-12 17:54:27 +00:00
All Ring components use the unified `ring:` prefix. Plugin differentiation is handled internally.
2026-02-09 14:10:47 +00:00
refactor(plugins): unify namespace and archive legacy teams
This commit restructures the plugin ecosystem to improve maintainability,
simplify component invocation, and focus on high-value domains.
Key changes:
- **Unified Namespace:** All component invocations are standardized to the
`ring:{component}` format, replacing the verbose `ring-{plugin}:...`
prefix. This simplifies usage and abstracts the internal plugin
structure.
- **Archive Legacy Plugins:** The `finance-team`, `ops-team`, `pmm-team`,
and `pmo-team` plugins are moved to a new `.archive` directory.
These plugins contained complex, outdated patterns and are now
preserved for historical reference only.
- **Introduce FinOps Plugin:** A new, highly-focused `finops-team` plugin
is added to handle Brazilian financial regulatory compliance (BACEN,
RFB), consolidating critical functionality into a more focused package.
- **Update Documentation:** Core documentation (`ARCHITECTURE.md`,`README.md`,
`CLAUDE.md`, `MANUAL.md`) and the plugin marketplace are updated to
reflect the new structure and unified namespace.
2026-01-12 17:54:27 +00:00
- ✅ `ring:code-reviewer`
- ✅ `ring:backend-engineer-golang`
2026-01-14 05:18:46 +00:00
- ❌ `<missing ring prefix>` (FORBIDDEN: omitting the `ring:` prefix)
2026-01-14 06:10:31 +00:00
- ❌ `ring-default:ring:code-reviewer` (deprecated plugin-specific prefix)
2025-12-11 13:50:15 +00:00
2026-02-13 13:28:49 +00:00
### 5. Standards-Agent Synchronization (MUST CHECK)
2026-02-09 14:10:47 +00:00
2025-12-13 20:30:09 +00:00
When modifying standards files (`dev-team/docs/standards/*.md`):
2025-12-17 15:47:03 +00:00
**⛔ FOUR-FILE UPDATE RULE:**
2026-02-09 14:10:47 +00:00
2025-12-13 20:30:09 +00:00
1. Edit `dev-team/docs/standards/{file}.md` - Add your `## Section Name`
2025-12-17 15:47:03 +00:00
2. **Update TOC** - Add section to the `## Table of Contents` at the top of the same file
3. Edit `dev-team/skills/shared-patterns/standards-coverage-table.md` - Add section to agent's index table
refactor: apply lexical salience guidelines across dev-team plugin
- Remove diluted CAPS words (ALL, ANY, ONLY, EACH, EVERY, NOT, NO, etc.)
- Preserve enforcement words (MUST, STOP, HARD GATE, FAIL, PASS, etc.)
- Add Lexical Salience Guidelines section to CLAUDE.md
- Rewrite docs/PROMPT_ENGINEERING.md with new approach
- Create docs/plans/lexical-salience-refactor.md plan
- Update 35 dev-team files (skills, agents, standards, commands)
Principle: Selective emphasis creates focus - fewer CAPS words
at sentence beginnings produce higher AI attention on critical
instructions.
Generated-by: Claude
AI-Model: claude-sonnet-4-20250514
2026-01-06 14:35:39 +00:00
4. Edit `dev-team/agents/{agent}.md` - Verify agent references coverage table (not inline categories)
2026-02-10 00:05:41 +00:00
2026-02-13 13:28:49 +00:00
**All files in same commit** - MUST NOT update one without the others.
2025-12-17 15:47:03 +00:00
**⛔ TOC MAINTENANCE RULE:**
Every standards file has a `## Table of Contents` section that MUST stay in sync:
2026-02-09 14:10:47 +00:00
2025-12-17 15:47:03 +00:00
- **Format:** `| # | [Section Name](#anchor-link) | Description |`
- **Meta-sections** (Checklist, Standards Compliance) are listed separately below the table
- **Anchor links** use lowercase with hyphens (e.g., `#error-handling-mandatory` )
- **Section count in TOC** MUST match section count in `standards-coverage-table.md`
**⛔ CHECKLIST: Adding/Removing a Section in Standards Files**
2026-02-09 14:10:47 +00:00
2025-12-17 15:47:03 +00:00
```
Before committing changes to dev-team/docs/standards/*.md:
[ ] 1. Did you add/remove a `## Section` in the standards file?
[ ] 2. Did you update the `## Table of Contents` in the SAME file?
- Add/remove row: `| N | [Section Name](#anchor) | Description |`
- Update numbering if needed
[ ] 3. Did you update `dev-team/skills/shared-patterns/standards-coverage-table.md` ?
2026-01-14 06:10:31 +00:00
- Find the agent's section index (e.g., "ring:backend-engineer-golang → golang.md")
2025-12-17 15:47:03 +00:00
- Add/remove the section row
[ ] 4. Do the section counts match?
- Count `## ` headers in standards file (excluding meta-sections)
- Count rows in TOC
- Count rows in standards-coverage-table.md for that agent
refactor: apply lexical salience guidelines across dev-team plugin
- Remove diluted CAPS words (ALL, ANY, ONLY, EACH, EVERY, NOT, NO, etc.)
- Preserve enforcement words (MUST, STOP, HARD GATE, FAIL, PASS, etc.)
- Add Lexical Salience Guidelines section to CLAUDE.md
- Rewrite docs/PROMPT_ENGINEERING.md with new approach
- Create docs/plans/lexical-salience-refactor.md plan
- Update 35 dev-team files (skills, agents, standards, commands)
Principle: Selective emphasis creates focus - fewer CAPS words
at sentence beginnings produce higher AI attention on critical
instructions.
Generated-by: Claude
AI-Model: claude-sonnet-4-20250514
2026-01-06 14:35:39 +00:00
- all THREE must be equal
2025-12-17 15:47:03 +00:00
refactor: apply lexical salience guidelines across dev-team plugin
- Remove diluted CAPS words (ALL, ANY, ONLY, EACH, EVERY, NOT, NO, etc.)
- Preserve enforcement words (MUST, STOP, HARD GATE, FAIL, PASS, etc.)
- Add Lexical Salience Guidelines section to CLAUDE.md
- Rewrite docs/PROMPT_ENGINEERING.md with new approach
- Create docs/plans/lexical-salience-refactor.md plan
- Update 35 dev-team files (skills, agents, standards, commands)
Principle: Selective emphasis creates focus - fewer CAPS words
at sentence beginnings produce higher AI attention on critical
instructions.
Generated-by: Claude
AI-Model: claude-sonnet-4-20250514
2026-01-06 14:35:39 +00:00
If any checkbox is no → Fix before committing.
2025-12-17 15:47:03 +00:00
```
2025-12-15 22:21:30 +00:00
**⛔ AGENT INLINE CATEGORIES ARE FORBIDDEN:**
2026-02-09 14:10:47 +00:00
2025-12-15 22:21:30 +00:00
- ✅ Agent has "Sections to Check" referencing `standards-coverage-table.md`
- ❌ Agent has inline "Comparison Categories" table (FORBIDDEN - causes drift)
**Meta-sections (excluded from agent checks):**
2026-02-09 14:10:47 +00:00
2025-12-15 22:21:30 +00:00
- `## Checklist` - Self-verification section in standards files
- `## Standards Compliance` - Output format examples
- `## Standards Compliance Output Format` - Output templates
2025-12-13 20:30:09 +00:00
2026-02-09 14:10:47 +00:00
| Standards File | Agents That Use It |
| --------------- | ---------------------------------------------------------------------------------------------- |
| `golang.md` | `ring:backend-engineer-golang` , `ring:qa-analyst` |
2026-02-05 22:22:58 +00:00
| `typescript.md` | `ring:backend-engineer-typescript` , `ring:frontend-bff-engineer-typescript` , `ring:qa-analyst` |
2026-02-09 14:10:47 +00:00
| `frontend.md` | `ring:frontend-engineer` , `ring:frontend-designer` |
| `devops.md` | `ring:devops-engineer` |
| `sre.md` | `ring:sre` |
2025-12-13 20:30:09 +00:00
**Section Index Location:** `dev-team/skills/shared-patterns/standards-coverage-table.md` → "Agent → Standards Section Index"
2026-02-13 13:28:49 +00:00
**Quick Reference - Section Counts:**
2025-12-15 22:21:30 +00:00
2026-02-13 13:28:49 +00:00
MUST match `dev-team/skills/shared-patterns/standards-coverage-table.md` . See the coverage table for current counts per agent.
2025-12-15 22:21:30 +00:00
2026-02-13 13:28:49 +00:00
| Agent | Standards File |
| --------------------------------------- | -------------------------- |
| `ring:backend-engineer-golang` | golang.md |
| `ring:backend-engineer-typescript` | typescript.md |
| `ring:frontend-bff-engineer-typescript` | typescript.md |
| `ring:frontend-engineer` | frontend.md |
| `ring:frontend-designer` | frontend.md |
| `ring:devops-engineer` | devops.md |
| `ring:sre` | sre.md |
| `ring:qa-analyst` | golang.md or typescript.md |
**⛔ If section counts in skills don't match the coverage table → Update the skill.**
2025-12-15 22:21:30 +00:00
2026-02-04 21:14:25 +00:00
### 6. CLAUDE.md ↔ AGENTS.md Synchronization (AUTOMATIC via Symlink)
2025-12-14 18:55:59 +00:00
2026-02-13 13:28:49 +00:00
**⛔ AGENTS.md IS A SYMLINK TO CLAUDE.md - MUST NOT break:**
2026-02-09 14:10:47 +00:00
2025-12-14 18:55:59 +00:00
- `CLAUDE.md` - Primary project instructions (source of truth)
- `AGENTS.md` - Symlink to CLAUDE.md (automatically synchronized)
**Current Setup:** `AGENTS.md -> CLAUDE.md` (symlink)
refactor: apply lexical salience guidelines across dev-team plugin
- Remove diluted CAPS words (ALL, ANY, ONLY, EACH, EVERY, NOT, NO, etc.)
- Preserve enforcement words (MUST, STOP, HARD GATE, FAIL, PASS, etc.)
- Add Lexical Salience Guidelines section to CLAUDE.md
- Rewrite docs/PROMPT_ENGINEERING.md with new approach
- Create docs/plans/lexical-salience-refactor.md plan
- Update 35 dev-team files (skills, agents, standards, commands)
Principle: Selective emphasis creates focus - fewer CAPS words
at sentence beginnings produce higher AI attention on critical
instructions.
Generated-by: Claude
AI-Model: claude-sonnet-4-20250514
2026-01-06 14:35:39 +00:00
**Why:** Both files serve as entry points for AI agents. CLAUDE.md is read by Claude Code, AGENTS.md is read by other AI systems. The symlink ensures they always contain identical information.
2025-12-14 18:55:59 +00:00
**Rules:**
2026-02-09 14:10:47 +00:00
2026-02-13 13:28:49 +00:00
- **MUST NOT delete the AGENTS.md symlink**
- **MUST NOT replace AGENTS.md with a regular file**
- **MUST edit CLAUDE.md** - changes automatically appear in AGENTS.md
2025-12-14 18:55:59 +00:00
- If symlink is broken → Restore with: `ln -sf CLAUDE.md AGENTS.md`
---
2026-02-13 13:28:49 +00:00
### 7. Content Duplication Prevention (MUST CHECK)
2026-02-09 14:10:47 +00:00
refactor: apply lexical salience guidelines across dev-team plugin
- Remove diluted CAPS words (ALL, ANY, ONLY, EACH, EVERY, NOT, NO, etc.)
- Preserve enforcement words (MUST, STOP, HARD GATE, FAIL, PASS, etc.)
- Add Lexical Salience Guidelines section to CLAUDE.md
- Rewrite docs/PROMPT_ENGINEERING.md with new approach
- Create docs/plans/lexical-salience-refactor.md plan
- Update 35 dev-team files (skills, agents, standards, commands)
Principle: Selective emphasis creates focus - fewer CAPS words
at sentence beginnings produce higher AI attention on critical
instructions.
Generated-by: Claude
AI-Model: claude-sonnet-4-20250514
2026-01-06 14:35:39 +00:00
Before adding any content to prompts, skills, agents, or documentation:
2026-02-09 14:10:47 +00:00
2025-12-11 19:35:06 +00:00
1. **SEARCH FIRST** : `grep -r "keyword" --include="*.md"` - Check if content already exists
refactor: apply lexical salience guidelines across dev-team plugin
- Remove diluted CAPS words (ALL, ANY, ONLY, EACH, EVERY, NOT, NO, etc.)
- Preserve enforcement words (MUST, STOP, HARD GATE, FAIL, PASS, etc.)
- Add Lexical Salience Guidelines section to CLAUDE.md
- Rewrite docs/PROMPT_ENGINEERING.md with new approach
- Create docs/plans/lexical-salience-refactor.md plan
- Update 35 dev-team files (skills, agents, standards, commands)
Principle: Selective emphasis creates focus - fewer CAPS words
at sentence beginnings produce higher AI attention on critical
instructions.
Generated-by: Claude
AI-Model: claude-sonnet-4-20250514
2026-01-06 14:35:39 +00:00
2. **If content exists** → **REFERENCE it** , DO NOT duplicate. Use: `See [file](path) for details`
2025-12-11 19:35:06 +00:00
3. **If adding new content** → Add to the canonical source per table below
2026-02-13 13:28:49 +00:00
4. **MUST NOT copy** content between files - link to the single source of truth
2025-12-11 19:35:06 +00:00
2026-02-09 14:10:47 +00:00
| Information Type | Canonical Source (Single Source of Truth) |
| --------------------- | ----------------------------------------- |
| Critical rules | CLAUDE.md |
| Language patterns | docs/PROMPT_ENGINEERING.md |
| Agent schemas | docs/AGENT_DESIGN.md |
2026-04-06 16:52:28 +00:00
| Frontmatter fields | docs/FRONTMATTER_SCHEMA.md |
2026-02-09 14:10:47 +00:00
| Workflows | docs/WORKFLOWS.md |
| Plugin overview | README.md |
| Agent requirements | CLAUDE.md (Agent Modification section) |
| Shared skill patterns | `{plugin}/skills/shared-patterns/*.md` |
2025-12-13 19:05:28 +00:00
**Shared Patterns Rule (MANDATORY):**
When content is reused across multiple skills within a plugin:
2026-02-09 14:10:47 +00:00
2025-12-13 19:05:28 +00:00
1. **Extract to shared-patterns** : Create `{plugin}/skills/shared-patterns/{pattern-name}.md`
2. **Reference from skills** : Use `See [shared-patterns/{name}.md](../shared-patterns/{name}.md)`
2026-02-13 13:28:49 +00:00
3. **MUST NOT duplicate** : If the same table/section appears in 2+ skills → extract to shared-patterns
2025-12-13 19:05:28 +00:00
2026-02-09 14:10:47 +00:00
| Shared Pattern Type | Location |
| ----------------------------- | ------------------------------------------------------------- |
| Pressure resistance scenarios | `{plugin}/skills/shared-patterns/pressure-resistance.md` |
| Anti-rationalization tables | `{plugin}/skills/shared-patterns/anti-rationalization.md` |
| Execution report format | `{plugin}/skills/shared-patterns/execution-report.md` |
| Standards coverage table | `{plugin}/skills/shared-patterns/standards-coverage-table.md` |
2025-12-11 19:35:06 +00:00
**Reference Pattern:**
2026-02-09 14:10:47 +00:00
2025-12-11 19:35:06 +00:00
- ✅ `See [docs/PROMPT_ENGINEERING.md](docs/PROMPT_ENGINEERING.md) for language patterns`
2025-12-13 19:05:28 +00:00
- ✅ `See [shared-patterns/pressure-resistance.md](../shared-patterns/pressure-resistance.md) for universal pressures`
2025-12-11 19:35:06 +00:00
- ❌ Copying the language patterns table into another file
2025-12-13 19:05:28 +00:00
- ❌ Duplicating pressure resistance tables across multiple skills
2025-12-11 19:35:06 +00:00
2025-12-11 13:50:15 +00:00
---
2026-04-18 23:17:45 +00:00
### 8. Reviewer-Pool Synchronization (MUST CHECK)
When adding or removing a code review agent in the `ring:codereview` pool:
2026-04-18 23:41:28 +00:00
**⛔ SEVEN-FILE UPDATE RULE:**
2026-04-18 23:17:45 +00:00
1. Edit `default/skills/codereview/SKILL.md` — update dispatch step (add/remove Task block), state initialization (review_state.reviewers keys), count references ("N reviewers" throughout), output schema Reviewer Verdicts table
2. Edit frontmatter `description` in EVERY peer reviewer agent (`default/agents/*-reviewer.md` and `dev-team/agents/*-reviewer.md` ) — "Runs in parallel with..." list must reflect new peer set
3. Edit body prose `## Your Role` section in EVERY peer reviewer agent — `**Position:**` and `**Critical:** You are one of N parallel reviewers` must reflect new count and peer list
4. Edit `dev-team/hooks/validate-gate-progression.sh` — reviewer array and count threshold
2026-04-18 23:41:28 +00:00
5. Edit `dev-team/skills/dev-cycle/SKILL.md` — Gate 8 table, agent list, and "N reviewers" references throughout (~15 occurrences typical)
6. Edit `dev-team/skills/using-dev-team/SKILL.md` — gate tables (backend Gate 8 + frontend Gate 7) with reviewer count and peer enumeration
7. Edit shared-patterns that enumerate reviewers — `default/skills/shared-patterns/reviewer-slicing-strategy.md` , `dev-team/skills/shared-patterns/shared-anti-rationalization.md` , `dev-team/skills/shared-patterns/gate-cadence-classification.md` , `dev-team/skills/shared-patterns/custom-prompt-validation.md`
2026-04-18 23:17:45 +00:00
**All files in same commit** — MUST NOT update one without the others.
**⛔ ADDITIONAL SWEEP (secondary consumers, should also update same commit):**
- `default/skills/pr-review-multi-source/SKILL.md` — Final-tier reviewer list
- `default/skills/execute-plan/SKILL.md` — review dispatch instructions
- `default/skills/using-ring/SKILL.md` — entry-point skill reminder
- `default/agents/write-plan.md` — output schema instructing plans to dispatch reviewers
- `install-symlinks.sh` — user-facing install advertisement
- `docs/PROMPT_ENGINEERING.md` — canonical example of strong language
- `docs/WORKFLOWS.md` — workflow documentation
- `MANUAL.md` , `README.md` , `ARCHITECTURE.md` — public-facing docs
- `.claude-plugin/marketplace.json` — plugin descriptions + keywords
- Any dev-team skill that dispatches `ring:codereview` (e.g., `dev-multi-tenant` , `dev-systemplane-migration` )
**⛔ CHECKLIST: Adding/Removing a Reviewer**
```
Before committing changes to the codereview pool:
[ ] 1. Updated codereview/SKILL.md (dispatch + state + output schema)?
[ ] 2. Updated frontmatter description in ALL peer reviewer agents?
[ ] 3. Updated body prose Position/Critical in ALL peer reviewer agents?
[ ] 4. Updated validate-gate-progression.sh (array + threshold)?
2026-04-18 23:41:28 +00:00
[ ] 5. Updated dev-cycle/SKILL.md (Gate 8 + all "N reviewers" refs)?
[ ] 6. Updated using-dev-team/SKILL.md (both gate tables)?
[ ] 7. Updated shared-patterns files enumerating reviewers?
[ ] 8. Swept secondary consumers (pr-review-multi-source, execute-plan, using-ring, write-plan, docs, marketplace.json)?
[ ] 9. Grep sanity: `grep -rn "N reviewer\|all N" --include="*.md" --include="*.sh"` returns zero stale counts?
2026-04-18 23:17:45 +00:00
If any checkbox is no → Fix before committing.
```
**Why this rule exists:** In 2026-04-18 dogfood, we discovered that when `performance-reviewer` was added to the pool some time prior, 7+ files were never updated. Adding 2 more reviewers then cascaded into ~65 stale references across 22 files. This rule makes the propagation explicit so the next pool change doesn't replay the same drift.
---
2025-12-11 13:50:15 +00:00
## Quick Navigation
2026-02-09 14:10:47 +00:00
| Section | Content |
| ----------------------------------------------------------------------------------------- | -------------------------------------------------- |
| [CRITICAL RULES ](#-critical-rules-read-first ) | Non-negotiable requirements |
| [CLAUDE.md ↔ AGENTS.md Sync ](#6-claudemd--agentsmd-synchronization-automatic-via-symlink ) | Symlink ensures sync |
2026-02-13 13:28:49 +00:00
| [Content Duplication Prevention ](#7-content-duplication-prevention-must-check ) | Canonical sources + reference pattern |
2026-04-18 23:41:28 +00:00
| [Reviewer-Pool Synchronization ](#8-reviewer-pool-synchronization-must-check ) | Seven-file update rule for codereview pool changes |
2026-02-09 14:10:47 +00:00
| [Anti-Rationalization Tables ](#anti-rationalization-tables-mandatory-for-all-agents ) | Prevent AI from assuming/skipping |
| [Lexical Salience Guidelines ](#lexical-salience-guidelines-mandatory ) | Selective emphasis for effective prompts |
| [Agent Modification Verification ](#agent-modification-verification-mandatory ) | Checklist for agent changes |
| [Repository Overview ](#repository-overview ) | What Ring is |
| [Architecture ](#architecture ) | Plugin summary |
| [Key Workflows ](#key-workflows ) | Quick reference + [full docs ](docs/WORKFLOWS.md ) |
| [Agent Output Schemas ](#agent-output-schema-archetypes ) | Schema summary + [full docs ](docs/AGENT_DESIGN.md ) |
| [Compliance Rules ](#compliance-rules ) | TDD, Review, Commit rules |
2026-02-13 13:28:49 +00:00
| [Standards-Agent Synchronization ](#5-standards-agent-synchronization-must-check ) | Standards ↔ Agent mapping |
2026-04-06 16:52:28 +00:00
| [Frontmatter Schema ](docs/FRONTMATTER_SCHEMA.md ) | Canonical YAML frontmatter field reference |
2026-02-09 14:10:47 +00:00
| [Documentation Sync ](#documentation-sync-checklist ) | Files to update |
2025-12-11 13:50:15 +00:00
---
## Anti-Rationalization Tables (MANDATORY for All Agents)
refactor: apply lexical salience guidelines across dev-team plugin
- Remove diluted CAPS words (ALL, ANY, ONLY, EACH, EVERY, NOT, NO, etc.)
- Preserve enforcement words (MUST, STOP, HARD GATE, FAIL, PASS, etc.)
- Add Lexical Salience Guidelines section to CLAUDE.md
- Rewrite docs/PROMPT_ENGINEERING.md with new approach
- Create docs/plans/lexical-salience-refactor.md plan
- Update 35 dev-team files (skills, agents, standards, commands)
Principle: Selective emphasis creates focus - fewer CAPS words
at sentence beginnings produce higher AI attention on critical
instructions.
Generated-by: Claude
AI-Model: claude-sonnet-4-20250514
2026-01-06 14:35:39 +00:00
**MANDATORY: Every agent must include an anti-rationalization table.** This is a HARD GATE for agent design.
2025-12-11 13:50:15 +00:00
**Why This Is Mandatory:**
refactor: apply lexical salience guidelines across dev-team plugin
- Remove diluted CAPS words (ALL, ANY, ONLY, EACH, EVERY, NOT, NO, etc.)
- Preserve enforcement words (MUST, STOP, HARD GATE, FAIL, PASS, etc.)
- Add Lexical Salience Guidelines section to CLAUDE.md
- Rewrite docs/PROMPT_ENGINEERING.md with new approach
- Create docs/plans/lexical-salience-refactor.md plan
- Update 35 dev-team files (skills, agents, standards, commands)
Principle: Selective emphasis creates focus - fewer CAPS words
at sentence beginnings produce higher AI attention on critical
instructions.
Generated-by: Claude
AI-Model: claude-sonnet-4-20250514
2026-01-06 14:35:39 +00:00
AI models naturally attempt to be "helpful" by making autonomous decisions. This is dangerous in structured workflows. Agents MUST NOT rationalize skipping gates, assuming compliance, or making decisions that belong to users or orchestrators.
2025-12-11 13:50:15 +00:00
refactor: apply lexical salience guidelines across dev-team plugin
- Remove diluted CAPS words (ALL, ANY, ONLY, EACH, EVERY, NOT, NO, etc.)
- Preserve enforcement words (MUST, STOP, HARD GATE, FAIL, PASS, etc.)
- Add Lexical Salience Guidelines section to CLAUDE.md
- Rewrite docs/PROMPT_ENGINEERING.md with new approach
- Create docs/plans/lexical-salience-refactor.md plan
- Update 35 dev-team files (skills, agents, standards, commands)
Principle: Selective emphasis creates focus - fewer CAPS words
at sentence beginnings produce higher AI attention on critical
instructions.
Generated-by: Claude
AI-Model: claude-sonnet-4-20250514
2026-01-06 14:35:39 +00:00
**Anti-rationalization tables use selective emphasis.** Place enforcement words (MUST, STOP, FORBIDDEN) at the beginning of instructions for maximum impact. See [Lexical Salience Guidelines ](#lexical-salience-guidelines-mandatory ).
2025-12-11 13:50:15 +00:00
**Required Table Structure:**
2026-02-09 14:10:47 +00:00
2025-12-11 13:50:15 +00:00
```markdown
2026-02-09 14:10:47 +00:00
| Rationalization | Why It's WRONG | Required Action |
| ----------------------------------- | -------------------------------- | ------------------------------ |
2025-12-11 13:50:15 +00:00
| "[Common excuse AI might generate]" | [Why this thinking is incorrect] | ** [MANDATORY action in bold]** |
```
2026-01-14 06:10:31 +00:00
**Example from ring:backend-engineer-golang.md:**
2026-02-09 14:10:47 +00:00
2025-12-11 13:50:15 +00:00
```markdown
2026-02-09 14:10:47 +00:00
| Rationalization | Why It's WRONG | Required Action |
| ---------------------------------------- | -------------------------------------------------- | ------------------------- |
| "Codebase already uses lib-commons" | Partial usage ≠ full compliance. Check everything. | **Verify all categories** |
| "Already follows Lerian standards" | Assumption ≠ verification. Prove it with evidence. | **Verify all categories** |
| "Only checking what seems relevant" | You don't decide relevance. The checklist does. | **Verify all categories** |
| "Code looks correct, skip verification" | Looking correct ≠ being correct. Verify. | **Verify all categories** |
| "Previous refactor already checked this" | Each refactor is independent. Check again. | **Verify all categories** |
| "Small codebase, not all applies" | Size is irrelevant. Standards apply uniformly. | **Verify all categories** |
2025-12-11 13:50:15 +00:00
```
**Mandatory Sections Every Agent MUST Have:**
2026-02-09 14:10:47 +00:00
| Section | Purpose | Language Requirements |
| ------------------------------ | --------------------------------- | ------------------------------------------------ |
| **Blocker Criteria** | Define when to STOP and report | Use "STOP", "CANNOT proceed", "HARD BLOCK" |
| **Cannot Be Overridden** | List non-negotiable requirements | Use "CANNOT be waived", "NON-NEGOTIABLE" |
| **Severity Calibration** | Define issue severity levels | Use "CRITICAL", "MUST be fixed" |
| **Pressure Resistance** | Handle user pressure to skip | Use "Cannot proceed", "I'll implement correctly" |
| **Anti-Rationalization Table** | Prevent AI from assuming/skipping | Use "Why It's WRONG", "REQUIRED action" |
2025-12-11 13:50:15 +00:00
**Language Guidelines for Agent Prompts:**
2026-02-13 13:28:49 +00:00
See [Lexical Salience Guidelines ](#lexical-salience-guidelines-mandatory ) for the complete weak→strong transformation rules and enforcement word positioning.
refactor: apply lexical salience guidelines across dev-team plugin
- Remove diluted CAPS words (ALL, ANY, ONLY, EACH, EVERY, NOT, NO, etc.)
- Preserve enforcement words (MUST, STOP, HARD GATE, FAIL, PASS, etc.)
- Add Lexical Salience Guidelines section to CLAUDE.md
- Rewrite docs/PROMPT_ENGINEERING.md with new approach
- Create docs/plans/lexical-salience-refactor.md plan
- Update 35 dev-team files (skills, agents, standards, commands)
Principle: Selective emphasis creates focus - fewer CAPS words
at sentence beginnings produce higher AI attention on critical
instructions.
Generated-by: Claude
AI-Model: claude-sonnet-4-20250514
2026-01-06 14:35:39 +00:00
**HARD GATE: If an agent lacks anti-rationalization tables, it is incomplete and must be updated.**
2025-12-11 13:50:15 +00:00
---
refactor: apply lexical salience guidelines across dev-team plugin
- Remove diluted CAPS words (ALL, ANY, ONLY, EACH, EVERY, NOT, NO, etc.)
- Preserve enforcement words (MUST, STOP, HARD GATE, FAIL, PASS, etc.)
- Add Lexical Salience Guidelines section to CLAUDE.md
- Rewrite docs/PROMPT_ENGINEERING.md with new approach
- Create docs/plans/lexical-salience-refactor.md plan
- Update 35 dev-team files (skills, agents, standards, commands)
Principle: Selective emphasis creates focus - fewer CAPS words
at sentence beginnings produce higher AI attention on critical
instructions.
Generated-by: Claude
AI-Model: claude-sonnet-4-20250514
2026-01-06 14:35:39 +00:00
## Lexical Salience Guidelines (MANDATORY)
**Effective prompts use selective emphasis.** When too many words are in CAPS, none stand out - the AI treats all as equal priority.
### Principle: Less is More
2026-02-09 14:10:47 +00:00
| Approach | Effectiveness | Why |
| --------------- | ------------- | -------------------------------------------------------------- |
| Few CAPS words | HIGH | AI attention focuses on truly critical instructions |
| Many CAPS words | LOW | Salience dilution - everything emphasized = nothing emphasized |
refactor: apply lexical salience guidelines across dev-team plugin
- Remove diluted CAPS words (ALL, ANY, ONLY, EACH, EVERY, NOT, NO, etc.)
- Preserve enforcement words (MUST, STOP, HARD GATE, FAIL, PASS, etc.)
- Add Lexical Salience Guidelines section to CLAUDE.md
- Rewrite docs/PROMPT_ENGINEERING.md with new approach
- Create docs/plans/lexical-salience-refactor.md plan
- Update 35 dev-team files (skills, agents, standards, commands)
Principle: Selective emphasis creates focus - fewer CAPS words
at sentence beginnings produce higher AI attention on critical
instructions.
Generated-by: Claude
AI-Model: claude-sonnet-4-20250514
2026-01-06 14:35:39 +00:00
### Words to Keep in Lowercase (Context Words)
These words provide context but DO NOT need emphasis:
2026-02-09 14:10:47 +00:00
| Word | Use Instead |
| ---------- | -------------------------- |
| ~~all~~ | all |
| ~~any~~ | any |
| ~~only~~ | only |
| ~~each~~ | each |
| ~~every~~ | every |
| ~~not~~ | not (except in "MUST not") |
| ~~no~~ | no |
| ~~and~~ | and |
| ~~or~~ | or |
| ~~if~~ | if |
| ~~else~~ | else |
| ~~never~~ | "MUST NOT" |
| ~~always~~ | "must" |
refactor: apply lexical salience guidelines across dev-team plugin
- Remove diluted CAPS words (ALL, ANY, ONLY, EACH, EVERY, NOT, NO, etc.)
- Preserve enforcement words (MUST, STOP, HARD GATE, FAIL, PASS, etc.)
- Add Lexical Salience Guidelines section to CLAUDE.md
- Rewrite docs/PROMPT_ENGINEERING.md with new approach
- Create docs/plans/lexical-salience-refactor.md plan
- Update 35 dev-team files (skills, agents, standards, commands)
Principle: Selective emphasis creates focus - fewer CAPS words
at sentence beginnings produce higher AI attention on critical
instructions.
Generated-by: Claude
AI-Model: claude-sonnet-4-20250514
2026-01-06 14:35:39 +00:00
### Words to Keep in CAPS (Enforcement Words)
Use these sparingly and only at the **beginning** of instructions:
2025-12-11 13:50:15 +00:00
2026-02-09 14:10:47 +00:00
| Word | Purpose | Correct Position |
| --------- | ------------------- | -------------------------------------- |
| MUST | Primary requirement | "MUST verify before proceeding" |
| STOP | Immediate action | "STOP and report blocker" |
refactor: apply lexical salience guidelines across dev-team plugin
- Remove diluted CAPS words (ALL, ANY, ONLY, EACH, EVERY, NOT, NO, etc.)
- Preserve enforcement words (MUST, STOP, HARD GATE, FAIL, PASS, etc.)
- Add Lexical Salience Guidelines section to CLAUDE.md
- Rewrite docs/PROMPT_ENGINEERING.md with new approach
- Create docs/plans/lexical-salience-refactor.md plan
- Update 35 dev-team files (skills, agents, standards, commands)
Principle: Selective emphasis creates focus - fewer CAPS words
at sentence beginnings produce higher AI attention on critical
instructions.
Generated-by: Claude
AI-Model: claude-sonnet-4-20250514
2026-01-06 14:35:39 +00:00
| HARD GATE | Critical checkpoint | "HARD GATE: Cannot proceed without..." |
2026-02-09 14:10:47 +00:00
| FAIL/PASS | Verdict states | "FAIL: Gate 4 incomplete" |
| MANDATORY | Section marker | "MANDATORY: Initialize first" |
| CRITICAL | Severity level | "CRITICAL: Security issue" |
| FORBIDDEN | Strong prohibition | "FORBIDDEN: Direct code editing" |
| REQUIRED | Alternative to MUST | "REQUIRED: Load standards first" |
| CANNOT | Prohibition | "CANNOT skip this gate" |
2025-12-11 13:50:15 +00:00
refactor: apply lexical salience guidelines across dev-team plugin
- Remove diluted CAPS words (ALL, ANY, ONLY, EACH, EVERY, NOT, NO, etc.)
- Preserve enforcement words (MUST, STOP, HARD GATE, FAIL, PASS, etc.)
- Add Lexical Salience Guidelines section to CLAUDE.md
- Rewrite docs/PROMPT_ENGINEERING.md with new approach
- Create docs/plans/lexical-salience-refactor.md plan
- Update 35 dev-team files (skills, agents, standards, commands)
Principle: Selective emphasis creates focus - fewer CAPS words
at sentence beginnings produce higher AI attention on critical
instructions.
Generated-by: Claude
AI-Model: claude-sonnet-4-20250514
2026-01-06 14:35:39 +00:00
### Positioning Rule: Beginning of Instructions
**Enforcement words MUST appear at the BEGINNING of instructions, not in the middle or end.**
2026-02-09 14:10:47 +00:00
| Position | Effectiveness | Example |
| ------------- | ------------- | ---------------------------------------------- |
| **Beginning** | HIGH | "MUST verify all sections before proceeding" |
| Middle | LOW | "You should verify all sections, this is MUST" |
| End | LOW | "Verify all sections before proceeding, MUST" |
refactor: apply lexical salience guidelines across dev-team plugin
- Remove diluted CAPS words (ALL, ANY, ONLY, EACH, EVERY, NOT, NO, etc.)
- Preserve enforcement words (MUST, STOP, HARD GATE, FAIL, PASS, etc.)
- Add Lexical Salience Guidelines section to CLAUDE.md
- Rewrite docs/PROMPT_ENGINEERING.md with new approach
- Create docs/plans/lexical-salience-refactor.md plan
- Update 35 dev-team files (skills, agents, standards, commands)
Principle: Selective emphasis creates focus - fewer CAPS words
at sentence beginnings produce higher AI attention on critical
instructions.
Generated-by: Claude
AI-Model: claude-sonnet-4-20250514
2026-01-06 14:35:39 +00:00
### Transformation Examples
2026-02-09 14:10:47 +00:00
| Before (Diluted) | After (Focused) |
| ---------------------------------- | --------------------------------------- |
| "You MUST check all sections" | "MUST check all sections" |
| "never skip any gate" | "MUST not skip any gate" |
refactor: apply lexical salience guidelines across dev-team plugin
- Remove diluted CAPS words (ALL, ANY, ONLY, EACH, EVERY, NOT, NO, etc.)
- Preserve enforcement words (MUST, STOP, HARD GATE, FAIL, PASS, etc.)
- Add Lexical Salience Guidelines section to CLAUDE.md
- Rewrite docs/PROMPT_ENGINEERING.md with new approach
- Create docs/plans/lexical-salience-refactor.md plan
- Update 35 dev-team files (skills, agents, standards, commands)
Principle: Selective emphasis creates focus - fewer CAPS words
at sentence beginnings produce higher AI attention on critical
instructions.
Generated-by: Claude
AI-Model: claude-sonnet-4-20250514
2026-01-06 14:35:39 +00:00
| "This is MANDATORY for every task" | "MANDATORY: This applies to every task" |
2026-02-09 14:10:47 +00:00
| "always verify BEFORE proceeding" | "MUST verify before proceeding" |
| "Check if this CONDITION is met" | "MUST check if this condition is met" |
refactor: apply lexical salience guidelines across dev-team plugin
- Remove diluted CAPS words (ALL, ANY, ONLY, EACH, EVERY, NOT, NO, etc.)
- Preserve enforcement words (MUST, STOP, HARD GATE, FAIL, PASS, etc.)
- Add Lexical Salience Guidelines section to CLAUDE.md
- Rewrite docs/PROMPT_ENGINEERING.md with new approach
- Create docs/plans/lexical-salience-refactor.md plan
- Update 35 dev-team files (skills, agents, standards, commands)
Principle: Selective emphasis creates focus - fewer CAPS words
at sentence beginnings produce higher AI attention on critical
instructions.
Generated-by: Claude
AI-Model: claude-sonnet-4-20250514
2026-01-06 14:35:39 +00:00
### Sentence Structure Pattern
```
[ENFORCEMENT WORD]: [Action/Instruction] [Context]
Examples:
- MUST dispatch agent before proceeding to next gate
- STOP and report if PROJECT_RULES.md is missing
2026-04-18 22:32:16 +00:00
- HARD GATE: All 10 reviewers must pass before Gate 5
refactor: apply lexical salience guidelines across dev-team plugin
- Remove diluted CAPS words (ALL, ANY, ONLY, EACH, EVERY, NOT, NO, etc.)
- Preserve enforcement words (MUST, STOP, HARD GATE, FAIL, PASS, etc.)
- Add Lexical Salience Guidelines section to CLAUDE.md
- Rewrite docs/PROMPT_ENGINEERING.md with new approach
- Create docs/plans/lexical-salience-refactor.md plan
- Update 35 dev-team files (skills, agents, standards, commands)
Principle: Selective emphasis creates focus - fewer CAPS words
at sentence beginnings produce higher AI attention on critical
instructions.
Generated-by: Claude
AI-Model: claude-sonnet-4-20250514
2026-01-06 14:35:39 +00:00
- FORBIDDEN: Reading source code directly as orchestrator
```
2025-12-11 13:50:15 +00:00
2026-01-06 17:30:52 +00:00
### Strategic Spacing (Attention Reset)
2026-01-06 20:18:18 +00:00
**Spacing matters for AI attention.** When multiple critical rules appear in sequence, add blank lines between sections to allow "attention reset".
2026-01-06 17:30:52 +00:00
2026-01-06 20:18:18 +00:00
**→ See [docs/PROMPT_ENGINEERING.md ](docs/PROMPT_ENGINEERING.md#strategic-spacing-attention-reset ) for:**
2026-02-09 14:10:47 +00:00
2026-01-06 20:18:18 +00:00
- Effectiveness comparison table
- Good example with spaced sections
- Anti-pattern example (dense text)
2026-01-06 17:30:52 +00:00
2026-01-06 18:36:54 +00:00
### Semantic Block Tags (Recognition Patterns)
**Use XML-like tags to create recognizable blocks for critical instructions.** Tags create semantic boundaries that AI models recognize as structured blocks requiring special attention.
2026-01-06 20:14:15 +00:00
**→ See [docs/PROMPT_ENGINEERING.md ](docs/PROMPT_ENGINEERING.md#semantic-block-tags-recognition-patterns ) for:**
2026-02-09 14:10:47 +00:00
2026-01-06 20:14:15 +00:00
- Complete tag reference table (9 tags)
- Example usage with all tag types
- Why tags work explanation
2025-12-11 13:50:15 +00:00
---
## Agent Modification Verification (MANDATORY)
refactor: apply lexical salience guidelines across dev-team plugin
- Remove diluted CAPS words (ALL, ANY, ONLY, EACH, EVERY, NOT, NO, etc.)
- Preserve enforcement words (MUST, STOP, HARD GATE, FAIL, PASS, etc.)
- Add Lexical Salience Guidelines section to CLAUDE.md
- Rewrite docs/PROMPT_ENGINEERING.md with new approach
- Create docs/plans/lexical-salience-refactor.md plan
- Update 35 dev-team files (skills, agents, standards, commands)
Principle: Selective emphasis creates focus - fewer CAPS words
at sentence beginnings produce higher AI attention on critical
instructions.
Generated-by: Claude
AI-Model: claude-sonnet-4-20250514
2026-01-06 14:35:39 +00:00
**HARD GATE: Before creating or modifying any agent file, Claude Code MUST verify compliance with this checklist.**
2025-12-11 13:50:15 +00:00
When you receive instructions to create or modify an agent in `*/agents/*.md` :
**Step 1: Read This Section**
refactor: apply lexical salience guidelines across dev-team plugin
- Remove diluted CAPS words (ALL, ANY, ONLY, EACH, EVERY, NOT, NO, etc.)
- Preserve enforcement words (MUST, STOP, HARD GATE, FAIL, PASS, etc.)
- Add Lexical Salience Guidelines section to CLAUDE.md
- Rewrite docs/PROMPT_ENGINEERING.md with new approach
- Create docs/plans/lexical-salience-refactor.md plan
- Update 35 dev-team files (skills, agents, standards, commands)
Principle: Selective emphasis creates focus - fewer CAPS words
at sentence beginnings produce higher AI attention on critical
instructions.
Generated-by: Claude
AI-Model: claude-sonnet-4-20250514
2026-01-06 14:35:39 +00:00
Before any agent work, re-read this CLAUDE.md section to understand current requirements.
2025-12-11 13:50:15 +00:00
refactor: apply lexical salience guidelines across dev-team plugin
- Remove diluted CAPS words (ALL, ANY, ONLY, EACH, EVERY, NOT, NO, etc.)
- Preserve enforcement words (MUST, STOP, HARD GATE, FAIL, PASS, etc.)
- Add Lexical Salience Guidelines section to CLAUDE.md
- Rewrite docs/PROMPT_ENGINEERING.md with new approach
- Create docs/plans/lexical-salience-refactor.md plan
- Update 35 dev-team files (skills, agents, standards, commands)
Principle: Selective emphasis creates focus - fewer CAPS words
at sentence beginnings produce higher AI attention on critical
instructions.
Generated-by: Claude
AI-Model: claude-sonnet-4-20250514
2026-01-06 14:35:39 +00:00
**Step 2: Verify Agent Has all Required Sections**
2025-12-11 13:50:15 +00:00
2026-02-09 14:10:47 +00:00
| Required Section | Pattern to Check | If Missing |
| -------------------------------------- | --------------------------------- | ----------------------------------------------- |
| **Standards Loading (MANDATORY)** | `## Standards Loading` | MUST add with WebFetch instructions |
| **Blocker Criteria - STOP and Report** | `## Blocker Criteria` | MUST add with decision type table |
| **Cannot Be Overridden** | `### Cannot Be Overridden` | MUST add with non-negotiable requirements |
| **Severity Calibration** | `## Severity Calibration` | MUST add with CRITICAL/HIGH/MEDIUM/LOW table |
| **Pressure Resistance** | `## Pressure Resistance` | MUST add with "User Says / Your Response" table |
| **Anti-Rationalization Table** | `Rationalization.*Why It's WRONG` | MUST add in Standards Compliance section |
| **When Implementation is Not Needed** | `## When.*Not Needed` | MUST add with compliance signs |
| **Standards Compliance Report** | `## Standards Compliance Report` | MUST add for dev-team agents |
2025-12-11 13:50:15 +00:00
**Step 3: Verify Language Strength**
Check agent uses STRONG language, not weak:
```text
SCAN for weak phrases → REPLACE with strong:
- "should" → "MUST"
- "recommended" → "REQUIRED"
- "consider" → "MANDATORY"
- "can skip" → "CANNOT skip"
- "optional" → "NON-NEGOTIABLE"
- "try to" → "HARD GATE:"
```
**Step 4: Before Completing Agent Modification**
```text
refactor: apply lexical salience guidelines across dev-team plugin
- Remove diluted CAPS words (ALL, ANY, ONLY, EACH, EVERY, NOT, NO, etc.)
- Preserve enforcement words (MUST, STOP, HARD GATE, FAIL, PASS, etc.)
- Add Lexical Salience Guidelines section to CLAUDE.md
- Rewrite docs/PROMPT_ENGINEERING.md with new approach
- Create docs/plans/lexical-salience-refactor.md plan
- Update 35 dev-team files (skills, agents, standards, commands)
Principle: Selective emphasis creates focus - fewer CAPS words
at sentence beginnings produce higher AI attention on critical
instructions.
Generated-by: Claude
AI-Model: claude-sonnet-4-20250514
2026-01-06 14:35:39 +00:00
CHECKLIST (all must be YES):
2025-12-11 13:50:15 +00:00
[ ] Does agent have Standards Loading section?
[ ] Does agent have Blocker Criteria table?
[ ] Does agent have Cannot Be Overridden table?
[ ] Does agent have Severity Calibration table?
[ ] Does agent have Pressure Resistance table?
[ ] Does agent have Anti-Rationalization table?
2025-12-14 03:05:02 +00:00
[ ] Does agent have When Not Needed section?
2025-12-11 13:50:15 +00:00
[ ] Does agent use STRONG language (MUST, REQUIRED, CANNOT)?
[ ] Does agent define when to STOP and report?
[ ] Does agent define non-negotiable requirements?
refactor: apply lexical salience guidelines across dev-team plugin
- Remove diluted CAPS words (ALL, ANY, ONLY, EACH, EVERY, NOT, NO, etc.)
- Preserve enforcement words (MUST, STOP, HARD GATE, FAIL, PASS, etc.)
- Add Lexical Salience Guidelines section to CLAUDE.md
- Rewrite docs/PROMPT_ENGINEERING.md with new approach
- Create docs/plans/lexical-salience-refactor.md plan
- Update 35 dev-team files (skills, agents, standards, commands)
Principle: Selective emphasis creates focus - fewer CAPS words
at sentence beginnings produce higher AI attention on critical
instructions.
Generated-by: Claude
AI-Model: claude-sonnet-4-20250514
2026-01-06 14:35:39 +00:00
If any checkbox is no → Agent is INCOMPLETE. Add missing sections.
2025-12-11 13:50:15 +00:00
```
refactor: apply lexical salience guidelines across dev-team plugin
- Remove diluted CAPS words (ALL, ANY, ONLY, EACH, EVERY, NOT, NO, etc.)
- Preserve enforcement words (MUST, STOP, HARD GATE, FAIL, PASS, etc.)
- Add Lexical Salience Guidelines section to CLAUDE.md
- Rewrite docs/PROMPT_ENGINEERING.md with new approach
- Create docs/plans/lexical-salience-refactor.md plan
- Update 35 dev-team files (skills, agents, standards, commands)
Principle: Selective emphasis creates focus - fewer CAPS words
at sentence beginnings produce higher AI attention on critical
instructions.
Generated-by: Claude
AI-Model: claude-sonnet-4-20250514
2026-01-06 14:35:39 +00:00
**This verification is not optional. This is a HARD GATE for all agent modifications.**
2025-12-11 13:50:15 +00:00
---
2025-11-23 01:01:27 +00:00
## Repository Overview
feat(pmo): introduce ring-pmo-team plugin for portfolio management
The existing ring-pm-team focuses on single-feature planning. This
leaves a gap in portfolio-level coordination, governance, and
executive reporting.
This commit adds the 'ring-pmo-team' plugin to provide macro-level
strategic oversight for managing a portfolio of multiple projects. It
complements the feature-focused teams, completing the value chain from
portfolio strategy to code execution.
Key additions include:
- 5 specialist agents for portfolio, resource, risk, governance, and
executive reporting functions.
- 8 skills with frameworks for planning, allocation, and analysis.
- 3 slash commands to initiate common PMO workflows.
- A 'shared-patterns' library to enforce consistency across skills.
The plugin is registered in the marketplace, and all documentation and
installation scripts are updated to reflect this new addition and the
corresponding increase in total agents, skills, and commands.
2026-01-23 03:25:28 +00:00
Ring is a comprehensive skills library and workflow system for AI agents that enforces proven software engineering practices through mandatory workflows, parallel code review, and systematic pre-development planning. Currently implemented as a Claude Code plugin marketplace with **6 active plugins** , the skills are agent-agnostic and reusable across different AI systems.
2025-11-25 20:25:38 +00:00
**Active Plugins:**
2026-02-09 14:10:47 +00:00
2026-04-20 00:07:09 +00:00
- **ring-default**: 24 core skills, 10 specialized agents
2026-04-18 22:32:16 +00:00
- **ring-dev-team**: 33 development skills, 15 developer agents (Backend Go, Backend TypeScript, DevOps, Frontend TypeScript, Frontend Designer, Frontend Engineer, Helm, Performance Reviewer, QA Backend, QA Frontend, SRE, UI Engineer, Prompt Quality Reviewer, Multi-Tenant Reviewer, lib-commons Reviewer)
docs: sync plugin counts and add performance-reviewer as 8th codereview reviewer
Sweep all documentation to match filesystem ground truth:
- ring-default: 22→23 skills (added pr-review-multi-source)
- ring-dev-team: 31→33 skills (added dev-licensing, dev-verify-code), 12→13 agents (added performance-reviewer)
- ring-pm-team: 15→16 skills (added deep-doc-review)
- Total: 90→94 skills, 38→39 agents
Add ring:performance-reviewer as 8th parallel codereview reviewer across
codereview SKILL.md (dispatch block, state, metrics, verdicts, anti-rationalization)
and all documentation (CLAUDE.md, README.md, MANUAL.md, ARCHITECTURE.md).
Fix ARCHITECTURE.md finops/tw-team skill count swap in ASCII diagram.
Fix codereview metrics bug (X/6→X/8).
Remove phantom skill references (verification-before-completion, root-cause-tracing) from MANUAL.md.
X-Lerian-Ref: 0x1
2026-04-14 16:31:29 +00:00
- **ring-pm-team**: 16 product management skills, 4 research agents (includes delivery planning + status tracking + Product Designer + Lerian Map Management)
2026-04-12 13:12:03 +00:00
- **ring-pmo-team**: 9 PMO skills, 6 PMO agents (Portfolio Manager, Resource Planner, Risk Analyst, Governance Specialist, Executive Reporter, Delivery Reporter)
2026-02-04 21:44:54 +00:00
- **ring-finops-team**: 7 regulatory skills, 3 FinOps agents (Analyzer, Automation, Infrastructure Cost Estimator)
2026-04-12 13:12:03 +00:00
- **ring-tw-team**: 6 technical writing skills, 3 documentation agents (Functional Writer, API Writer, Docs Reviewer)
2025-11-27 04:09:19 +00:00
2026-03-07 23:10:56 +00:00
**Note:** Plugin versions are managed in `.claude-plugin/marketplace.json`
2025-11-26 18:05:18 +00:00
2026-04-20 00:07:09 +00:00
**Total: 95 skills (24 + 33 + 16 + 9 + 7 + 6) across 6 plugins**
2026-04-18 22:32:16 +00:00
**Total: 41 agents (10 + 15 + 4 + 6 + 3 + 3) across 6 plugins**
2025-11-25 20:25:38 +00:00
The architecture uses markdown-based skill definitions with YAML frontmatter, auto-discovered at session start via hooks, and executed through Claude Code's native Skill/Task tools.
2025-11-23 01:01:27 +00:00
2025-12-11 13:50:15 +00:00
---
2025-11-25 22:07:20 +00:00
## Installation
2026-01-19 23:07:46 +00:00
See [README.md ](README.md#installation ) for detailed installation instructions.
2025-11-27 21:20:53 +00:00
2025-12-11 15:34:45 +00:00
**Quick install:** `curl -fsSL https://raw.githubusercontent.com/lerianstudio/ring/main/install-ring.sh | bash`
2025-11-27 21:20:53 +00:00
2025-12-11 13:50:15 +00:00
---
2025-11-23 01:01:27 +00:00
## Architecture
feat(pmo): introduce ring-pmo-team plugin for portfolio management
The existing ring-pm-team focuses on single-feature planning. This
leaves a gap in portfolio-level coordination, governance, and
executive reporting.
This commit adds the 'ring-pmo-team' plugin to provide macro-level
strategic oversight for managing a portfolio of multiple projects. It
complements the feature-focused teams, completing the value chain from
portfolio strategy to code execution.
Key additions include:
- 5 specialist agents for portfolio, resource, risk, governance, and
executive reporting functions.
- 8 skills with frameworks for planning, allocation, and analysis.
- 3 slash commands to initiate common PMO workflows.
- A 'shared-patterns' library to enforce consistency across skills.
The plugin is registered in the marketplace, and all documentation and
installation scripts are updated to reflect this new addition and the
corresponding increase in total agents, skills, and commands.
2026-01-23 03:25:28 +00:00
**Monorepo Structure** - 6 plugin collections:
2025-11-24 17:38:32 +00:00
2026-02-09 14:10:47 +00:00
| Plugin | Path | Contents |
| ---------------- | -------------- | -------------------------------- |
2026-04-20 00:07:09 +00:00
| ring-default | `default/` | 24 skills, 10 agents |
2026-04-18 22:32:16 +00:00
| ring-dev-team | `dev-team/` | 33 skills, 15 agents |
docs: sync plugin counts and add performance-reviewer as 8th codereview reviewer
Sweep all documentation to match filesystem ground truth:
- ring-default: 22→23 skills (added pr-review-multi-source)
- ring-dev-team: 31→33 skills (added dev-licensing, dev-verify-code), 12→13 agents (added performance-reviewer)
- ring-pm-team: 15→16 skills (added deep-doc-review)
- Total: 90→94 skills, 38→39 agents
Add ring:performance-reviewer as 8th parallel codereview reviewer across
codereview SKILL.md (dispatch block, state, metrics, verdicts, anti-rationalization)
and all documentation (CLAUDE.md, README.md, MANUAL.md, ARCHITECTURE.md).
Fix ARCHITECTURE.md finops/tw-team skill count swap in ASCII diagram.
Fix codereview metrics bug (X/6→X/8).
Remove phantom skill references (verification-before-completion, root-cause-tracing) from MANUAL.md.
X-Lerian-Ref: 0x1
2026-04-14 16:31:29 +00:00
| ring-pm-team | `pm-team/` | 16 skills, 4 agents |
2026-04-12 13:12:03 +00:00
| ring-pmo-team | `pmo-team/` | 9 skills, 6 agents |
| ring-finops-team | `finops-team/` | 7 skills, 3 agents |
| ring-tw-team | `tw-team/` | 6 skills, 3 agents |
2025-12-11 15:34:45 +00:00
2026-04-12 13:12:03 +00:00
Each plugin contains: `skills/` , `agents/` , `hooks/`
2025-12-11 15:34:45 +00:00
See [README.md ](README.md#architecture ) for full directory structure.
2025-11-23 01:01:27 +00:00
2025-12-11 13:50:15 +00:00
---
2025-11-23 01:01:27 +00:00
## Common Commands
```bash
# Git operations (no build system - this is a plugin)
git status # Check current branch (main)
git log --oneline -20 # Recent commits show hook development
git worktree list # Check isolated development branches
# Skill invocation (via Claude Code)
refactor(plugins): unify namespace and archive legacy teams
This commit restructures the plugin ecosystem to improve maintainability,
simplify component invocation, and focus on high-value domains.
Key changes:
- **Unified Namespace:** All component invocations are standardized to the
`ring:{component}` format, replacing the verbose `ring-{plugin}:...`
prefix. This simplifies usage and abstracts the internal plugin
structure.
- **Archive Legacy Plugins:** The `finance-team`, `ops-team`, `pmm-team`,
and `pmo-team` plugins are moved to a new `.archive` directory.
These plugins contained complex, outdated patterns and are now
preserved for historical reference only.
- **Introduce FinOps Plugin:** A new, highly-focused `finops-team` plugin
is added to handle Brazilian financial regulatory compliance (BACEN,
RFB), consolidating critical functionality into a more focused package.
- **Update Documentation:** Core documentation (`ARCHITECTURE.md`,`README.md`,
`CLAUDE.md`, `MANUAL.md`) and the plugin marketplace are updated to
reflect the new structure and unified namespace.
2026-01-12 17:54:27 +00:00
Skill tool: "ring:test-driven-development" # Enforce TDD workflow
Skill tool: "ring:systematic-debugging" # Debug with 4-phase analysis
Skill tool: "ring:using-ring" # Load mandatory workflows
2026-04-12 13:12:03 +00:00
Skill tool: "ring:dev-cycle" # 10-gate development cycle
Skill tool: "ring:dev-refactor" # Analyze codebase against standards
Skill tool: "ring:portfolio-review" # Comprehensive portfolio review
2025-11-23 01:01:27 +00:00
2025-11-24 17:38:32 +00:00
# Hook validation (from default plugin)
bash default/hooks/session-start.sh # Test skill loading
python default/hooks/generate-skills-ref.py # Generate skill overview
2025-11-23 01:01:27 +00:00
```
2025-12-11 13:50:15 +00:00
---
2025-11-23 01:01:27 +00:00
## Key Workflows
2025-12-11 15:34:45 +00:00
| Workflow | Quick Reference |
|----------|-----------------|
2026-04-06 16:52:28 +00:00
| Add skill | `mkdir default/skills/name/` → create `SKILL.md` with frontmatter per [Frontmatter Schema ](docs/FRONTMATTER_SCHEMA.md ) |
2025-12-11 15:34:45 +00:00
| Add agent | Create `*/agents/name.md` → verify required sections per [Agent Design ](docs/AGENT_DESIGN.md ) |
| Modify hooks | Edit `*/hooks/hooks.json` → test with `bash */hooks/session-start.sh` |
2026-04-18 22:32:16 +00:00
| Code review | `ring:codereview` skill dispatches 10 parallel reviewers |
2026-04-12 13:12:03 +00:00
| Pre-dev (small) | `ring:pre-dev-feature` skill → 5-gate workflow |
| Pre-dev (large) | `ring:pre-dev-full` skill → 10-gate workflow |
2026-04-18 01:06:35 +00:00
| Dev cycle - backend (10 gates) | `ring:dev-cycle` skill → Subtask loop: implementation (w/ delivery-verification exit check)→unit-testing→validation. Task-level: devops→SRE→fuzz→property→integration (write)→chaos (write)→review. Cycle-end: integration (execute)→chaos (execute)→multi-tenant verify→dev-report. See [dev-team/skills/dev-cycle/SKILL.md ](dev-team/skills/dev-cycle/SKILL.md ) |
| Dev cycle - frontend (9 gates) | `ring:dev-cycle-frontend` skill → Subtask loop: implementation→unit-testing→validation. Task-level: devops→accessibility→visual→e2e→performance→review. See [dev-team/skills/dev-cycle-frontend/SKILL.md ](dev-team/skills/dev-cycle-frontend/SKILL.md ) |
2026-04-12 13:12:03 +00:00
| Refactor - frontend | `ring:dev-refactor-frontend` skill → dispatches 5-7 frontend agents in ANALYSIS mode → generates findings → tasks → handoff to `ring:dev-cycle-frontend` |
2025-11-23 01:01:27 +00:00
2025-12-11 15:34:45 +00:00
See [docs/WORKFLOWS.md ](docs/WORKFLOWS.md ) for detailed instructions.
2025-11-23 01:01:27 +00:00
2025-12-11 13:50:15 +00:00
---
2025-11-23 01:01:27 +00:00
## Important Patterns
### Code Organization
2026-02-09 14:10:47 +00:00
2026-04-06 16:52:28 +00:00
- **Skill Structure**: `default/skills/{name}/SKILL.md` with YAML frontmatter (see [Frontmatter Schema ](docs/FRONTMATTER_SCHEMA.md ))
2025-11-24 17:38:32 +00:00
- **Agent Output**: Required markdown sections per `default/agents/*.md:output_schema`
2025-11-23 01:01:27 +00:00
- **Hook Scripts**: Must output JSON with success/error fields
2025-11-24 17:38:32 +00:00
- **Shared Patterns**: Reference via `default/skills/shared-patterns/*.md`
2025-11-23 01:01:27 +00:00
- **Documentation**: Artifacts in `docs/pre-dev/{feature}/*.md`
2026-02-10 00:05:41 +00:00
- **Monorepo Layout**: Each plugin (`default/`, `{name}-team/` ) is self-contained
2025-11-23 01:01:27 +00:00
### Naming Conventions
2026-02-09 14:10:47 +00:00
2025-11-23 01:01:27 +00:00
- Skills: `kebab-case` matching directory name
2026-02-10 00:05:41 +00:00
- Agents: `ring:{domain}.md` or `ring:{domain}-reviewer.md` format
2025-11-23 01:01:27 +00:00
- Hooks: `{event}-{purpose}.sh` format
2026-04-12 13:12:03 +00:00
#### Agent/Skill Invocation
2026-02-09 14:10:47 +00:00
2026-02-13 13:28:49 +00:00
See [Unified Ring Namespace ](#4-unified-ring-namespace-mandatory ) above for invocation format. MUST use `ring:{component}` (e.g., `ring:code-reviewer` , `ring:backend-engineer-golang` ).
fix(naming): enforce fully qualified plugin names across Ring marketplace
Replaces ambiguous 'ring:' shorthand with explicit 'ring-default:' prefix across all skills, agents, commands, documentation, and user-facing examples to prevent namespace confusion in the 7-plugin marketplace environment.
Changes eliminate AI agent invocation errors by ensuring unambiguous plugin resolution throughout documentation (CLAUDE.md, ARCHITECTURE.md, MANUAL.md), runtime logic (skills, commands, agents), and user experience touchpoints (installation scripts, session hooks).
Adds documentation to test fixtures explaining intentional use of legacy format for transformation testing.
Generated-by: Claude
AI-Model: claude-sonnet-4-5-20250929
2025-11-27 23:35:01 +00:00
2025-12-11 13:50:15 +00:00
---
## Agent Output Schema Archetypes
2025-11-26 20:42:41 +00:00
2026-02-09 14:10:47 +00:00
| Schema Type | Used By | Key Sections |
| -------------- | ---------------------- | ----------------------------------------------- |
| Implementation | \* engineers | Summary, Implementation, Files Changed, Testing |
| Analysis | ring:frontend-designer | Analysis, Findings, Recommendations |
| Reviewer | \*-reviewer | VERDICT, Issues Found, What Was Done Well |
| Exploration | ring:codebase-explorer | Exploration Summary, Key Findings, Architecture |
| Planning | ring:write-plan | Goal, Architecture, Tech Stack, Tasks |
2025-11-26 20:42:41 +00:00
2025-12-11 15:34:45 +00:00
See [docs/AGENT_DESIGN.md ](docs/AGENT_DESIGN.md ) for complete schema definitions and Standards Compliance requirements.
2025-12-11 12:57:48 +00:00
2025-12-11 13:50:15 +00:00
---
## Compliance Rules
2026-02-10 00:05:41 +00:00
```text
2025-12-22 04:18:11 +00:00
# TDD compliance (default/skills/test-driven-development/SKILL.md)
2025-11-23 01:01:27 +00:00
- Test file must exist before implementation
- Test must produce failure output (RED)
- Only then write implementation (GREEN)
2026-04-12 13:12:03 +00:00
# Review compliance (default/skills/codereview/SKILL.md)
2026-04-18 22:32:16 +00:00
- All 10 reviewers must pass
2025-11-23 01:01:27 +00:00
- Critical findings = immediate fix required
2026-04-18 22:32:16 +00:00
- Re-run all 10 reviewers after fixes
2025-11-23 01:01:27 +00:00
2025-12-22 04:18:11 +00:00
# Skill compliance (default/skills/using-ring/SKILL.md)
refactor: apply lexical salience guidelines across dev-team plugin
- Remove diluted CAPS words (ALL, ANY, ONLY, EACH, EVERY, NOT, NO, etc.)
- Preserve enforcement words (MUST, STOP, HARD GATE, FAIL, PASS, etc.)
- Add Lexical Salience Guidelines section to CLAUDE.md
- Rewrite docs/PROMPT_ENGINEERING.md with new approach
- Create docs/plans/lexical-salience-refactor.md plan
- Update 35 dev-team files (skills, agents, standards, commands)
Principle: Selective emphasis creates focus - fewer CAPS words
at sentence beginnings produce higher AI attention on critical
instructions.
Generated-by: Claude
AI-Model: claude-sonnet-4-20250514
2026-01-06 14:35:39 +00:00
- Check for applicable skills before any task
2025-11-23 01:01:27 +00:00
- If skill exists for task → MUST use it
- Announce non-obvious skill usage
2025-12-04 12:01:27 +00:00
2026-04-12 13:12:03 +00:00
# Commit compliance (default/skills/commit/SKILL.md)
- MUST use ring:commit skill for all commits
2026-02-13 13:28:49 +00:00
- MUST NOT write git commit commands manually
2026-04-12 13:12:03 +00:00
- Skill enforces: conventional commits, trailers, no emoji signatures
refactor: apply lexical salience guidelines across dev-team plugin
- Remove diluted CAPS words (ALL, ANY, ONLY, EACH, EVERY, NOT, NO, etc.)
- Preserve enforcement words (MUST, STOP, HARD GATE, FAIL, PASS, etc.)
- Add Lexical Salience Guidelines section to CLAUDE.md
- Rewrite docs/PROMPT_ENGINEERING.md with new approach
- Create docs/plans/lexical-salience-refactor.md plan
- Update 35 dev-team files (skills, agents, standards, commands)
Principle: Selective emphasis creates focus - fewer CAPS words
at sentence beginnings produce higher AI attention on critical
instructions.
Generated-by: Claude
AI-Model: claude-sonnet-4-20250514
2026-01-06 14:35:39 +00:00
- MUST use --trailer parameter for AI identification (not in message body)
2025-12-04 12:35:56 +00:00
- Format: git commit -m "msg" --trailer "Generated-by: Claude" --trailer "AI-Model: < model > "
2026-02-13 13:28:49 +00:00
- MUST NOT use HEREDOC to include trailers in message body
2025-11-23 01:01:27 +00:00
```
2025-12-11 13:50:15 +00:00
---
## Session Context
2025-11-24 17:38:32 +00:00
The system loads at SessionStart (from `default/` plugin):
2026-02-09 14:10:47 +00:00
2025-11-25 20:25:38 +00:00
1. `default/hooks/session-start.sh` - Loads skill quick reference via `generate-skills-ref.py`
2026-01-14 05:18:46 +00:00
2. `ring:using-ring` skill - Injected as mandatory workflow
2025-11-23 01:01:27 +00:00
2025-11-24 17:38:32 +00:00
**Monorepo Context:**
2026-02-09 14:10:47 +00:00
2025-11-24 17:38:32 +00:00
- Repository: Monorepo marketplace with multiple plugin collections
feat(pmo): introduce ring-pmo-team plugin for portfolio management
The existing ring-pm-team focuses on single-feature planning. This
leaves a gap in portfolio-level coordination, governance, and
executive reporting.
This commit adds the 'ring-pmo-team' plugin to provide macro-level
strategic oversight for managing a portfolio of multiple projects. It
complements the feature-focused teams, completing the value chain from
portfolio strategy to code execution.
Key additions include:
- 5 specialist agents for portfolio, resource, risk, governance, and
executive reporting functions.
- 8 skills with frameworks for planning, allocation, and analysis.
- 3 slash commands to initiate common PMO workflows.
- A 'shared-patterns' library to enforce consistency across skills.
The plugin is registered in the marketplace, and all documentation and
installation scripts are updated to reflect this new addition and the
corresponding increase in total agents, skills, and commands.
2026-01-23 03:25:28 +00:00
- Active plugins: 6 (`ring-default`, `ring-dev-team` , `ring-pm-team` , `ring-pmo-team` , `ring-finops-team` , `ring-tw-team` )
2025-11-27 04:09:19 +00:00
- Plugin versions: See `.claude-plugin/marketplace.json`
2026-04-20 00:07:09 +00:00
- Core plugin: `default/` (24 skills, 10 agents)
2026-04-18 22:32:16 +00:00
- Developer agents: `dev-team/` (33 skills, 15 agents)
docs: sync plugin counts and add performance-reviewer as 8th codereview reviewer
Sweep all documentation to match filesystem ground truth:
- ring-default: 22→23 skills (added pr-review-multi-source)
- ring-dev-team: 31→33 skills (added dev-licensing, dev-verify-code), 12→13 agents (added performance-reviewer)
- ring-pm-team: 15→16 skills (added deep-doc-review)
- Total: 90→94 skills, 38→39 agents
Add ring:performance-reviewer as 8th parallel codereview reviewer across
codereview SKILL.md (dispatch block, state, metrics, verdicts, anti-rationalization)
and all documentation (CLAUDE.md, README.md, MANUAL.md, ARCHITECTURE.md).
Fix ARCHITECTURE.md finops/tw-team skill count swap in ASCII diagram.
Fix codereview metrics bug (X/6→X/8).
Remove phantom skill references (verification-before-completion, root-cause-tracing) from MANUAL.md.
X-Lerian-Ref: 0x1
2026-04-14 16:31:29 +00:00
- Product planning: `pm-team/` (16 skills, 4 agents)
2026-04-12 13:12:03 +00:00
- PMO specialists: `pmo-team/` (9 skills, 6 agents)
2026-02-04 21:44:54 +00:00
- FinOps regulatory: `finops-team/` (7 skills, 3 agents)
2026-04-12 13:12:03 +00:00
- Technical writing: `tw-team/` (6 skills, 3 agents)
2025-11-24 17:38:32 +00:00
- Current git branch: `main`
2025-11-26 04:25:31 +00:00
- Remote: `github.com/LerianStudio/ring`
2025-12-11 13:50:15 +00:00
---
## Documentation Sync Checklist
2025-11-26 04:25:31 +00:00
2026-04-12 13:12:03 +00:00
**IMPORTANT:** When modifying agents, skills, or hooks, check all these files for consistency:
2025-11-26 04:25:31 +00:00
```
Root Documentation:
├── CLAUDE.md # Project instructions (this file)
├── MANUAL.md # Team quick reference guide
├── README.md # Public documentation
└── ARCHITECTURE.md # Architecture diagrams
2025-12-11 15:34:45 +00:00
Reference Documentation:
├── docs/PROMPT_ENGINEERING.md # Assertive language patterns
├── docs/AGENT_DESIGN.md # Output schemas, standards compliance
2026-04-06 16:52:28 +00:00
├── docs/FRONTMATTER_SCHEMA.md # Canonical YAML frontmatter fields
2025-12-11 15:34:45 +00:00
└── docs/WORKFLOWS.md # Detailed workflow instructions
2025-11-26 04:25:31 +00:00
Plugin Hooks (inject context at session start):
├── default/hooks/session-start.sh # Skills reference
feat(plugins): add technical writing and issue tracking capabilities
Adds two new plugins, `ring-tw-team` and `beads`, to the marketplace.
This expands Ring's capabilities to include formal documentation workflows
and integrated, dependency-aware issue tracking.
The `ring-tw-team` plugin introduces technical writing specialists to
create and review documentation. This ensures high-quality, consistent
content by enforcing standards for voice, tone, and structure.
- Adds 3 agents: `functional-writer`, `api-writer`, `docs-reviewer`.
- Adds 7 skills defining patterns for guides, API docs, and reviews.
- Adds 3 commands to start documentation workflows.
The `beads` plugin integrates the `bd` issue tracker to manage tasks
discovered during development. It prevents work from being lost by using a
`Stop` hook to capture any remaining TODOs or FIXMEs as issues before a
session ends.
- Adds `SessionStart` and `Stop` hooks for workflow integration.
- Adds a `using-beads` skill to guide the user.
- Configures `.gitattributes` for a custom `bd` merge driver.
2025-11-27 15:50:11 +00:00
├── dev-team/hooks/session-start.sh # Developer agents
├── pm-team/hooks/session-start.sh # Pre-dev skills
feat(pmo): introduce ring-pmo-team plugin for portfolio management
The existing ring-pm-team focuses on single-feature planning. This
leaves a gap in portfolio-level coordination, governance, and
executive reporting.
This commit adds the 'ring-pmo-team' plugin to provide macro-level
strategic oversight for managing a portfolio of multiple projects. It
complements the feature-focused teams, completing the value chain from
portfolio strategy to code execution.
Key additions include:
- 5 specialist agents for portfolio, resource, risk, governance, and
executive reporting functions.
- 8 skills with frameworks for planning, allocation, and analysis.
- 3 slash commands to initiate common PMO workflows.
- A 'shared-patterns' library to enforce consistency across skills.
The plugin is registered in the marketplace, and all documentation and
installation scripts are updated to reflect this new addition and the
corresponding increase in total agents, skills, and commands.
2026-01-23 03:25:28 +00:00
├── pmo-team/hooks/session-start.sh # PMO specialist agents
refactor(plugins): unify namespace and archive legacy teams
This commit restructures the plugin ecosystem to improve maintainability,
simplify component invocation, and focus on high-value domains.
Key changes:
- **Unified Namespace:** All component invocations are standardized to the
`ring:{component}` format, replacing the verbose `ring-{plugin}:...`
prefix. This simplifies usage and abstracts the internal plugin
structure.
- **Archive Legacy Plugins:** The `finance-team`, `ops-team`, `pmm-team`,
and `pmo-team` plugins are moved to a new `.archive` directory.
These plugins contained complex, outdated patterns and are now
preserved for historical reference only.
- **Introduce FinOps Plugin:** A new, highly-focused `finops-team` plugin
is added to handle Brazilian financial regulatory compliance (BACEN,
RFB), consolidating critical functionality into a more focused package.
- **Update Documentation:** Core documentation (`ARCHITECTURE.md`,`README.md`,
`CLAUDE.md`, `MANUAL.md`) and the plugin marketplace are updated to
reflect the new structure and unified namespace.
2026-01-12 17:54:27 +00:00
├── finops-team/hooks/session-start.sh # FinOps regulatory agents
2025-11-28 12:18:29 +00:00
└── tw-team/hooks/session-start.sh # Technical writing agents
2025-11-26 04:25:31 +00:00
Using-* Skills (plugin introductions):
docs(plugins): add documentation for Finance, Ops, PMM, and PMO plugins
Update all project documentation to reflect the addition of four new
plugins: `ring-finance-team`, `ring-ops-team`, `ring-pmm-team`, and
`ring-pmo-team`.
This expansion increases the total number of plugins from 5 to 9,
extending Ring's capabilities across the entire software delivery value
chain, from finance and portfolio management to operations.
The changes include:
- Updating plugin, skill, and agent counts in all relevant documents.
- Adding sections for the new plugins with descriptions of their agents
and commands in the README and MANUAL.
- Refreshing architecture diagrams and tables to include the new
components.
This ensures the documentation provides an accurate and comprehensive
overview of the project's significantly expanded scope.
2025-12-14 05:27:24 +00:00
├── default/skills/using-ring/SKILL.md # Core workflow + agent list
├── dev-team/skills/using-dev-team/SKILL.md # Developer agents guide
├── pm-team/skills/using-pm-team/SKILL.md # Pre-dev workflow
feat(pmo): introduce ring-pmo-team plugin for portfolio management
The existing ring-pm-team focuses on single-feature planning. This
leaves a gap in portfolio-level coordination, governance, and
executive reporting.
This commit adds the 'ring-pmo-team' plugin to provide macro-level
strategic oversight for managing a portfolio of multiple projects. It
complements the feature-focused teams, completing the value chain from
portfolio strategy to code execution.
Key additions include:
- 5 specialist agents for portfolio, resource, risk, governance, and
executive reporting functions.
- 8 skills with frameworks for planning, allocation, and analysis.
- 3 slash commands to initiate common PMO workflows.
- A 'shared-patterns' library to enforce consistency across skills.
The plugin is registered in the marketplace, and all documentation and
installation scripts are updated to reflect this new addition and the
corresponding increase in total agents, skills, and commands.
2026-01-23 03:25:28 +00:00
├── pmo-team/skills/using-pmo-team/SKILL.md # PMO portfolio guide
refactor(plugins): unify namespace and archive legacy teams
This commit restructures the plugin ecosystem to improve maintainability,
simplify component invocation, and focus on high-value domains.
Key changes:
- **Unified Namespace:** All component invocations are standardized to the
`ring:{component}` format, replacing the verbose `ring-{plugin}:...`
prefix. This simplifies usage and abstracts the internal plugin
structure.
- **Archive Legacy Plugins:** The `finance-team`, `ops-team`, `pmm-team`,
and `pmo-team` plugins are moved to a new `.archive` directory.
These plugins contained complex, outdated patterns and are now
preserved for historical reference only.
- **Introduce FinOps Plugin:** A new, highly-focused `finops-team` plugin
is added to handle Brazilian financial regulatory compliance (BACEN,
RFB), consolidating critical functionality into a more focused package.
- **Update Documentation:** Core documentation (`ARCHITECTURE.md`,`README.md`,
`CLAUDE.md`, `MANUAL.md`) and the plugin marketplace are updated to
reflect the new structure and unified namespace.
2026-01-12 17:54:27 +00:00
├── finops-team/skills/using-finops-team/SKILL.md # FinOps regulatory guide
docs(plugins): add documentation for Finance, Ops, PMM, and PMO plugins
Update all project documentation to reflect the addition of four new
plugins: `ring-finance-team`, `ring-ops-team`, `ring-pmm-team`, and
`ring-pmo-team`.
This expansion increases the total number of plugins from 5 to 9,
extending Ring's capabilities across the entire software delivery value
chain, from finance and portfolio management to operations.
The changes include:
- Updating plugin, skill, and agent counts in all relevant documents.
- Adding sections for the new plugins with descriptions of their agents
and commands in the README and MANUAL.
- Refreshing architecture diagrams and tables to include the new
components.
This ensures the documentation provides an accurate and comprehensive
overview of the project's significantly expanded scope.
2025-12-14 05:27:24 +00:00
└── tw-team/skills/using-tw-team/SKILL.md # Technical writing guide
2025-11-26 04:25:31 +00:00
```
**Checklist when adding/modifying:**
2026-02-09 14:10:47 +00:00
2025-12-14 18:55:59 +00:00
- [ ] CLAUDE.md updated? → AGENTS.md auto-updates (it's a symlink)
- [ ] AGENTS.md symlink broken? → Restore with `ln -sf CLAUDE.md AGENTS.md`
2026-02-09 14:10:47 +00:00
- [ ] Agent added? Update hooks, using-\* skills, MANUAL.md, README.md
2025-11-26 04:25:31 +00:00
- [ ] Skill added? Update CLAUDE.md architecture, hooks if plugin-specific
2026-02-09 14:10:47 +00:00
- [ ] Plugin added? Create hooks/, using-\* skill, update marketplace.json
2025-11-26 04:25:31 +00:00
- [ ] Names changed? Search repo for old names: `grep -r "old-name" --include="*.md" --include="*.sh"`
fix(naming): enforce fully qualified plugin names across Ring marketplace
Replaces ambiguous 'ring:' shorthand with explicit 'ring-default:' prefix across all skills, agents, commands, documentation, and user-facing examples to prevent namespace confusion in the 7-plugin marketplace environment.
Changes eliminate AI agent invocation errors by ensuring unambiguous plugin resolution throughout documentation (CLAUDE.md, ARCHITECTURE.md, MANUAL.md), runtime logic (skills, commands, agents), and user experience touchpoints (installation scripts, session hooks).
Adds documentation to test fixtures explaining intentional use of legacy format for transformation testing.
Generated-by: Claude
AI-Model: claude-sonnet-4-5-20250929
2025-11-27 23:35:01 +00:00
**Naming Convention Enforcement:**
2026-02-09 14:10:47 +00:00
refactor(plugins): unify namespace and archive legacy teams
This commit restructures the plugin ecosystem to improve maintainability,
simplify component invocation, and focus on high-value domains.
Key changes:
- **Unified Namespace:** All component invocations are standardized to the
`ring:{component}` format, replacing the verbose `ring-{plugin}:...`
prefix. This simplifies usage and abstracts the internal plugin
structure.
- **Archive Legacy Plugins:** The `finance-team`, `ops-team`, `pmm-team`,
and `pmo-team` plugins are moved to a new `.archive` directory.
These plugins contained complex, outdated patterns and are now
preserved for historical reference only.
- **Introduce FinOps Plugin:** A new, highly-focused `finops-team` plugin
is added to handle Brazilian financial regulatory compliance (BACEN,
RFB), consolidating critical functionality into a more focused package.
- **Update Documentation:** Core documentation (`ARCHITECTURE.md`,`README.md`,
`CLAUDE.md`, `MANUAL.md`) and the plugin marketplace are updated to
reflect the new structure and unified namespace.
2026-01-12 17:54:27 +00:00
- [ ] All agent invocations use `ring:agent-name` format
- [ ] All skill invocations use `ring:skill-name` format
- [ ] No bare agent/skill names in invocation contexts (must have ring: prefix)
- [ ] No deprecated `ring-{plugin}:` format used
fix(naming): enforce fully qualified plugin names across Ring marketplace
Replaces ambiguous 'ring:' shorthand with explicit 'ring-default:' prefix across all skills, agents, commands, documentation, and user-facing examples to prevent namespace confusion in the 7-plugin marketplace environment.
Changes eliminate AI agent invocation errors by ensuring unambiguous plugin resolution throughout documentation (CLAUDE.md, ARCHITECTURE.md, MANUAL.md), runtime logic (skills, commands, agents), and user experience touchpoints (installation scripts, session hooks).
Adds documentation to test fixtures explaining intentional use of legacy format for transformation testing.
Generated-by: Claude
AI-Model: claude-sonnet-4-5-20250929
2025-11-27 23:35:01 +00:00
2026-02-13 13:28:49 +00:00
**MUST use unified namespace:** `ring:{component}` (e.g., `ring:code-reviewer` )