conventions
/conventions
Scaffold or update docs/CONVENTIONS.md by reading the actual codebase and interviewing the user. Use when setting up a new project or when conventions have drifted and need to be documented. Trigger this when someone says: document our team standards, set up conventions, what are our coding standards, conventions are out of date, update our style guide, write our CONVENTIONS.md. Do NOT use to read or apply existing conventions — those are loaded automatically. Do NOT use for architectural decisions — use /memory-audit instead.
- Author
- chuckplayer ↗
- Repository
- claude-agent-pack ↗
- Licence
- MIT
- Last repository change
- 13.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 13.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Scaffold or update docs/CONVENTIONS.md by reading the actual codebase and interviewing the user. Use when setting up a new project or when conventions have drifted and need to be documented. Trigger this when someone says: document our team standards, set up conventions, what are our coding standards, conventions are out of date, update our style guide, write our CONVENTIONS.md. Do NOT use to read or apply existing conventions — those are loaded automatically. Do NOT use for architectural decisions — use /memory-audit instead.
Original author description
Scaffold or update docs/CONVENTIONS.md by reading the actual codebase and interviewing the user. Use when setting up a new project or when conventions have drifted and need to be documented. Trigger this when someone says: document our team standards, set up conventions, what are our coding standards, conventions are out of date, update our style guide, write our CONVENTIONS.md. Do NOT use to read or apply existing conventions — those are loaded automatically. Do NOT use for architectural decisions — use /memory-audit instead.
How it works
- 1. Check current state
- 2. Read the codebase to discover actual conventions
- 3. Interview the user
- 4. Write or update CONVENTIONS.md
- 5. Confirm with the user
- 6. Suggest memory updates
- Gotchas
SKILL.md preview
---
name: conventions
description: "Scaffold or update docs/CONVENTIONS.md by reading the actual codebase and interviewing the user. Use when setting up a new project or when conventions have drifted and need to be documented. Trigger this when someone says: document our team standards, set up conventions, what are our coding standards, conventions are out of date, update our style guide, write our CONVENTIONS.md. Do NOT use to read or apply existing conventions — those are loaded automatically. Do NOT use for architectural decisions — use /memory-audit instead."
---
# Conventions
Scaffold or update `docs/CONVENTIONS.md` by grounding it in the actual codebase — not templates or guesses.
This skill is interactive. It reads existing code to discover what conventions are already in use, then asks the user to confirm, correct, or extend them.
## 1. Check current state
- Does `docs/CONVENTIONS.md` already exist?
- **Yes:** read it fully. This is an update run. Identify which sections need revision.
- **No:** this is a fresh scaffold. Read `docs/CONVENTIONS.template.md` if it exists for the expected structure.
- Check `memory/**/*.md` for any architecture or design decisions that should be reflected in conventions.
## 2. Read the codebase to discover actual conventions
Use Glob and Grep to observe what the code actually does — conventions should describe reality, not aspiration. Sample across all layers:
| Category | What to look for |
|----------|-----------------|
| **Naming** | Class/method/variable casing, file naming, interface prefix (`I`?) |
| **Architecture** | Directory layers, dependency flow (DI? static?), repo/service/controller separation |
| **Error handling** | Catch/log patterns, global error handler, return type (exception/Result\<T\>/tuple) |
| **Testing** | Framework, file location pattern, test class naming, mocks vs. real deps |
| **Frontend** | Options vs. Composition API, state management, API call pattern (fetch/axios/generated) |
| **Other** | Logging levels, auth patterns, compliance requirements visible in code |
## 3. Interview the user
For each category where you found ambiguity, inconsistency, or nothing at all, ask the user one focused question at a time. Do not ask all questions at once — work through them conversationally.
Examples (each asked separately, not together):
- "I see interface files in the codebase — should they be named `IFooService` or `FooService`?"
- "What's your preferred approach for error handling — exceptions, Result types, or something else?"
- "Should tests use mocks, real dependencies, or does it depend on the test type?"
## 4. Write or update CONVENTIONS.md
After gathering all answers:
- If creating fresh: write the full file using `docs/CONVENTIONS.template.md` as the structure, filling every section with what you discovered and what the user confirmed.
- If updating: edit only the sections that changed. Do not rewrite sections that are already accurate. Preserve any user-written content verbatim unless the user asked to change it.
The file must describe actual conventions — not aspirational ones. If a convention is aspirational ("we plan to migrate to X"), mark it clearly:
```markdown
> **Aspirational:** This convention is the target state. Existing code may not yet comply.
```
## 5. Confirm with the user
Present a summary of what was written or changed. Ask: "Does this accurately reflect how you want the team to work?" Make any corrections requested before finishing.
## 6. Suggest memory updates
If the conventions session revealed significant architectural decisions that aren't already in `memory/decisions/`, note them and ask the user whether to create memory entries for them. Do not write memory files directly — this skill is read/write only for `docs/CONVENTIONS.md`.
## Gotchas
- **Documenting aspirations as facts:** The most common failure mode is writing conventions that describe how the team wants to work rather than how it actually works. If the codebase contradicts a stated convention, flag the inconsistency — do not silently adopt the aspirational version. Mark aspirational items explicitly with the blockquote template in step 4.
- **Asking all questions at once:** Step 3 says one question at a time. Dumping a list of questions causes the user to give shallow answers. Work through them conversationally.
- **Rewriting user-written content:** On an update run, only touch sections that are incorrect or incomplete. Preserve any user-written prose verbatim unless explicitly asked to change it.
- **No template found:** If `docs/CONVENTIONS.template.md` doesn't exist during a fresh scaffold, fall back to the structure used in step 2 (Naming, Architecture, Error handling, Testing, Frontend, Other) rather than inventing a format.
- **Conventions file already exists but is empty:** Treat an empty file the same as a missing template — run a fresh scaffold, not an update.
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · chuckplayer/claude-agent-pack | 100 | MIT |
| optiflowic/keyturn | 100 | MIT |
| calkit/calkit | 100 | MIT |
| meteor/meteor | 100 | MIT |
| neha/rn-developer-skills | 100 | MIT |
| uptimerobot/ai | 100 | MIT |
| psenger/ai-agent-skills | 100 | MIT |
| kavo-labs/kavo | 95 | MIT |
| alexander-danilenko/cortex-claude-code-plugins | 90 | MIT |
Database snapshot: 13.11.2026 · package version 3294046b40c5 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100project-conventions
Create or update a CONVENTIONS.md that records a project's architecture, layout, approved libraries, coding rules, security defaults and anti-patterns, based on what the codebase actually does. Use when the user asks to document team conventions, onboard a new repo, write down… - 100conventions-setup
Create or update the company or team conventions file (`apex-oracle-conventions.md`) that the other skills follow: naming rules, audit columns, environments and approvals, PL/SQL and APEX standards, UX wording, security, release rules. Use when the user says "set up our… - 100code-standards-adopter
Infers a codebase's implicit coding conventions (naming, structure, imports, comments, error handling) by analyzing the existing code, then makes them explicit: generates linter/formatter configs that match current reality, a conventions document, and agent steering rules so… - 90architecture
Create or update docs/ARCHITECTURE.md — the system (components, data flow, stack, deployment, key decisions) and how it is engineered (testing strategy, dev environment, CI/CD, coding standards). Use when the user wants to design or document the system, map how the pieces fit,… - 100coding-standard
Creates and updates coding standards, conventions, rules, and guidelines for the current project. Use when creating new standards from scratch, converting existing documents into coding standards, or updating existing standards. Does not create architectural decision records —… - 100writing-docs
Write, audit or update a project's docs from its source code. User docs (quickstart, install, configuration, a page per feature) and maintainer docs (architecture, data model, invariants), as plain Markdown or for a docs framework such as Starlight or MkDocs. Use for "write the…