Skip to content
Back to skills

Proper Code And Docs

ASecurity

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.

  • 4 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added December 1, 2026
ai-agentspythongoapidocumentation

Works with

  • cli
  • api

Security analysis

A100/100

Scanned December 1, 2026

npx -y skills add Ganesh-Dark/ai-coding-agent-skills --skill proper-code-and-docs --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Proper Code And Docs?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Proper Code And Docs
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ganesh-dark-proper-code-and-docs/badge)](https://www.skillsdirectory.com/skills/ganesh-dark-proper-code-and-docs)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.