Skip to content
Back to skills

Octocode Documentation

ASecurity

Load this skill first when asked to write, shorten or review a README, guide, runbook, docstring or comment. Organize it around the reader’s task and verify claims, commands and links.

  • 971 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added August 31, 2026
ai-agentsbashnodeapidocumentation

Works with

  • api

Security analysis

A100/100

Pro scans all 19 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add bgauryy/octocode --skill octocode-documentation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Octocode Documentation?

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

Security grade badge for Octocode Documentation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bgauryy-octocode-documentation/badge)](https://www.skillsdirectory.com/skills/bgauryy-octocode-documentation)

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: octocode-documentation
description: "Load this skill first when asked to write, shorten or review a README, guide, runbook, docstring or comment. Organize it around the reader’s task and verify claims, commands and links."
---

# Octocode Documentation

Read the requested page and nearby conventions; identify the reader, their next action and the destination. A named document authorizes editing there; a review returns findings (location, issue, correction, severity, verified). Resolve missing information only when it changes the content or destination.

## Writing rules

Follow user instructions, project style, local convention, then this skill. Preserve meaning in wording-only edits.

| When | Action |
|---|---|
| A fact, API or command changes | Check its owning source, contract or test. For cross-file claims or ADRs, use [writing and verification](references/write.md); for agent-readable pages or agent instruction files, [agent docs](references/agent-docs.md). |
| Drafting steps | Put prerequisites first and give the result the reader sees after each consequential step. |
| Reviewing, or editing wording or repetition | Use the [style guide](references/style-guide.md) for the review procedure, review comments and disputed wording, [structure and formatting](references/style-layout.md) for layout, punctuation, UI terms and diagrams, and [code, claims and links](references/style-code-claims.md). Give each rule one home and link to it where readers need it. |
| Comparing choices or explaining a branch | Use the [format chooser](references/report-output.md#choose-the-format). |
| Before delivery | Run the [doc check](#check-before-delivery) and the project's own docs lint, if it has one. Verify changed examples and commands where safe and authorized, otherwise inspect their source. |

Before removing text, check whether the reader can still choose the next action, find each rule and recognize success. Test a consequential line literally: what can fail if followed? Verify that risk against its source.

## Check before delivery

Run [doc-check.mjs](scripts/doc-check.mjs) from any folder on the changed Markdown files. It reads the files and writes nothing unless you pass `--write`:

```bash
node <skill-folder>/scripts/doc-check.mjs <changed.md>...
```

After renaming a heading or file, scan the folder that holds the inbound links and name each rename; `--write` rewrites each stale link whose replacement resolves:

```bash
node <skill-folder>/scripts/doc-check.mjs <docs-root> --renamed '<file.md>#<old heading>=<new heading>' --write
```

| Result | Action |
|---|---|
| Exit 0, `ok: true` | No mechanical finding. |
| `brokenLinks`, `missingAnchors` | Fix each entry; `suggestion` names the anchor a fragment was probably meant to be. |
| `missingCommands` | Fix the path or script name, unless the command runs the reader's own file (such as `app.mjs`) or a folder the text names. `counts.commands: 0` means no command was checked. |
| `staleInboundAnchors` | An entry without `written: true` still needs its `link` replaced by `replacement`; `replacementOk: false` means the renamed heading or file does not exist yet. |
| `headingIssues`, `wordListHits`, `styleIssues` | Judge each in context with `wordGuidance` and `styleGuidance`; keep names and quoted examples as written. |
| Exit 2 | Fix the arguments the error names; `--help` lists the options. |

Deliver the document or findings. Cite stable source anchors; name the checks run and unverified items. Save reports per [output.md](output.md); render them with [render-report.mjs](scripts/render-report.mjs). Use `octocode-research` for unresolved code claims, `octocode-rfc-generator` for open decisions and `octocode-skills` for skill instructions and packaging.

Files in this skill

  • README.md4.9 KB
  • SKILL.md8 KB
  • assets/google-style-pages.tsv6.4 KB
  • references/adr.md1.5 KB
  • references/agent-readable.md1.7 KB
  • references/agents-md.md1.8 KB
  • references/diataxis.md1.4 KB
  • references/evidence-research.md1.6 KB
  • references/modes.md2.2 KB
  • references/style-abbreviations.md2.7 KB
  • references/style-api.md3.1 KB
  • references/style-blocks.md3.1 KB
  • references/style-claims.md3.8 KB
  • references/style-cli.md3.7 KB
  • references/style-code.md3.2 KB
  • references/style-examples.md2.5 KB
  • references/style-format.md4.3 KB
  • references/style-global.md3.4 KB
  • references/style-grammar.md4.1 KB

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.