kramme-cc-workflow/skills/kramme:docs:update-agents-md/SKILL.md
This skill should be used when the user asks to "update AGENTS.md", "add to AGENTS.md", "maintain agent docs", or needs to add guidelines to agent instructions. Guides discovery of local skills and enforces structured, keyword-based documentation style.
npx skillsauth add abildtoft/kramme-cc-workflow kramme:docs:update-agents-mdInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
4 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
AGENTS.md is the canonical agent-facing documentation. If a project uses CLAUDE.md or another equivalent instruction file instead, apply the same structure there. Many rules are OK.
Use AGENTS.md as a routing map, not a warehouse. A Context Pointer is a concise link from an agent-facing rule to deeper context: a skill, doc, script, module, test suite, schema, runbook, ADR, or example file.
A strong Context Pointer includes:
Prefer Context Pointers when the detail would make AGENTS.md long, duplicate another source of truth, or apply only to a subset of tasks.
Resolve the target file first:
AGENTS.md, CLAUDE.md, or another equivalent.AGENTS.md; mirror rules into the others only when the project already keeps them in sync.AGENTS.md.Discover local skills to reference (skill directories vary by harness — adjust paths to the local layout):
find .claude/skills .agents -name "SKILL.md" 2> /dev/null
ls plugins/*/skills/*/SKILL.md 2> /dev/null
Read each skill's frontmatter to understand when to reference it.
Map existing context before editing:
find . -maxdepth 3 \
\( -type d \( -name ".git" -o -name ".context" -o -name "node_modules" -o -name "dist" -o -name "build" -o -name ".next" -o -name ".nuxt" -o -name "coverage" -o -name ".venv" -o -name "venv" -o -name "target" \) -prune \) -o \
-type f \( -name "*.md" \) -print 2> /dev/null
find . -maxdepth 3 \
\( -type d \( -name ".git" -o -name ".context" -o -name "node_modules" -o -name "dist" -o -name "build" -o -name ".next" -o -name ".nuxt" -o -name "coverage" -o -name ".venv" -o -name "venv" -o -name "target" \) -prune \) -o \
-type f \( -name "*schema*" -o -name "*registry*" -o -name "*routes*" -o -name "index.*" \) -print 2> /dev/null
Identify existing docs, scripts, modules, examples, and skills that should be pointed to instead of duplicated.
Use these keywords to indicate requirement strength:
Strictness hierarchy: ALWAYS/NEVER > PREFER > CAN > NOTE/EXAMPLE
.claude/skills/db-migrate/SKILL.md"Add sections as needed for the project:
Use this authoring example when the repo has multiple important docs, skills, scripts, or subsystems:
## Context Map
- **ALWAYS** read `docs/architecture.md` before changing module boundaries
- **ALWAYS** run `scripts/verify.sh` before claiming local verification; see `docs/testing.md` only for suite-specific details
- **PREFER** `packages/api/src/routes/index.ts` as the entry point for API route discovery
- **CAN** use `.claude/skills/db-migrate/SKILL.md` when changing database migrations
## When Stuck
- **ALWAYS** ask a clarifying question or propose alternatives
- **NEVER** initiate large speculative changes without confirmation
## Git Commits
- **ALWAYS** write succinct commit messages in imperative mood
- **ALWAYS** keep the first line short
- **NEVER** mention that you are an AI
## Linear Issues
- **NEVER** change issue status without explicit instruction
- **NEVER** create issues without explicit instruction
## Package Manager
Use **pnpm**: `pnpm install`, `pnpm dev`, `pnpm test`
Reference each discovered skill:
## Database
Use `db-migrate` skill. See `.claude/skills/db-migrate/SKILL.md`
Add sections for each tech stack (Frontend, Backend, etc.) with domain-specific guidelines.
Omit these:
tools
Requires Linear MCP. Implements one Linear issue end to end, selects applicable code-review, convention, and PR-refactor gates, runs them to bounded convergence, verifies, and optionally opens the PR and iterates on CI and review feedback until green. Use when the user wants a single Linear issue taken from implementation through a clean Pull Request. Not for implementation-only work, SIW-tracked issues, stacked PRs, existing PR updates, or post-merge rollout.
development
Reviews PR and local changes for convention drift and overcaution against documented rules and mined peer-file practice. Use for new patterns, dependencies, abstractions, or defensive complexity that departs from established practice; every finding cites evidence. Supports --inline. Not for general code quality (use kramme:pr:code-review) or spec review (use kramme:siw:spec-audit --team).
testing
Charts huge or foggy initiatives into a local `.context` decision map and resolves one typed frontier ticket per session until the work is ready for SIW or another execution workflow. Use when the route to a destination cannot fit in one agent session or parallel workspaces need coordinated planning state. Not for clear specs, ordinary issue decomposition, implementation, or Linear-native tracking.
development
Investigates a question against primary sources and saves one cited Markdown artifact. Use for reading legwork: official docs/API facts, source-code or spec checks, standards, and first-party service behavior before planning or implementation. Not for making product or architecture decisions, implementing code, broad web search, secondary blog summaries, or uncited answers.