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.
Scanned 9/2/2026
Install to Claude Code
npx -y skills add majiayu000/claude-skill-registry --skill kramme-agents-md --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Kramme Agents Md?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/majiayu000-kramme-agents-md)More formats (shields.io, HTML) on the badges page.
---
name: kramme:agents-md
description: 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.
---
# Adding to AGENTS.md
AGENTS.md is the canonical agent-facing documentation. Each rule should be minimal, but many rules are OK.
## Before Writing
Discover local skills to reference:
```bash
find .claude/skills -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.
## Guideline Keywords
Use these keywords to indicate requirement strength:
- **ALWAYS** — Mandatory requirement
- **NEVER** — Strong prohibition
- **PREFER** — Strong recommendation, exceptions allowed
- **CAN** — Optional, developer's discretion
- **NOTE** — Context or clarification
- **EXAMPLE** — Illustrative example
Strictness hierarchy: ALWAYS/NEVER > PREFER > CAN > NOTE/EXAMPLE
## Writing Rules
- **Existing sections first** - Only propose new sections if no appropriate existing section exists
- **One rule per bullet** - Keep each guideline minimal and atomic
- **Start with keyword** - Every rule begins with ALWAYS/NEVER/PREFER/CAN/NOTE
- **Headers + bullets** - No paragraphs
- **Code blocks** - For commands and templates
- **Reference, don't duplicate** - Point to skills: "See `.claude/skills/db-migrate/SKILL.md`"
- **No filler** - No intros, conclusions, or pleasantries
## Common Sections
Add sections as needed for the project:
### When Stuck
```markdown
## When Stuck
- **ALWAYS** ask a clarifying question or propose alternatives
- **NEVER** initiate large speculative changes without confirmation
```
### Git Commits
```markdown
## Git Commits
- **ALWAYS** write succinct commit messages in imperative mood
- **ALWAYS** keep the first line short
- **NEVER** mention that you are an AI
```
### Issue Management
```markdown
## Linear Issues
- **NEVER** change issue status without explicit instruction
- **NEVER** create issues without explicit instruction
```
### Package Manager
```markdown
## Package Manager
Use **pnpm**: `pnpm install`, `pnpm dev`, `pnpm test`
```
### Local Skills
Reference each discovered skill:
```markdown
## Database
Use `db-migrate` skill. See `.claude/skills/db-migrate/SKILL.md`
```
### Domain-Specific Sections
Add sections for each tech stack (Frontend, Backend, etc.) with domain-specific guidelines.
## Anti-Patterns
Omit these:
- "Welcome to..." or "This document explains..."
- Obvious instructions ("run tests", "write clean code")
- Explanations of why (just say what)
- Long prose paragraphs
- Content duplicated from skills (reference instead)

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!