Use when writing or updating project documentation (README, setup guides, architecture notes, API/CLI docs, or docstrings). Keeps project docs accurate, verifiable, and free of AI fluff.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Proper Code And Docs?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/ganesh-dark-proper-code-and-docs)
---
name: proper-code-and-docs
description: Use when writing or updating project documentation (README, setup guides, architecture notes, API/CLI docs, or docstrings). Keeps project docs accurate, verifiable, and free of AI fluff.
---
# Proper Code and Docs
Coding agents often write READMEs and docs filled with marketing buzzwords, invented CLI flags, wrong setup commands, and unbuilt features—or leave project docs stale after changing the code.
## Rules
- Document only what is actually built. Read the real entry points, routes, CLI parsers, and config files before writing docs; never describe planned or mocked features as working.
- Verify every command, flag, file path, port, and environment variable against `package.json`, `pyproject.toml`, `.env.example`, or source code so a developer can copy-paste and run it.
- Write in plain, concrete language. State what the project does, prerequisites, inputs/outputs, and known limits—skip AI filler like "seamless", "robust", or "enterprise-grade".
- Keep project docs in sync with code changes. When you add or change endpoints, CLI options, env vars, or setup steps, update `README.md`, `.env.example`, or the relevant doc file in the same task.
- Preserve existing accurate notes, comments, and docstrings; only update or remove lines that became stale because of your change.
## Example
Bad:
Writing a `README.md` that claims the app "seamlessly leverages distributed caching," lists `python run_prod.py` (which does not exist in the repo), and omits two required keys from `.env.example`.
Good:
Reading `pyproject.toml` and `app/main.py`, documenting the exact `uvicorn app.main:app` command, listing the real `/api/orders` endpoint and required env vars, and updating `.env.example` to match.