doc-writer
Write clear, maintainable technical documentation for code, APIs, modules, and decisions across full-stack projects.
Skill by nt-cli
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/ntimpano-doc-writer
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, backend, writing, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/doc-writer
What's inside
- Skill name
doc-writer- Description
- Write clear, maintainable technical documentation for code, APIs, modules, and decisions across full-stack projects. Covers inline docs, READMEs, API references, and architectural notes. Trigger: When writing or updating documentation, adding docstrings/JSDoc/godoc, creating READMEs, documenting APIs, or the user asks to document something.
- License
- Apache-2.0
- Metadata
- author: nt-cli · version: 1.0
- Instructions
- 194 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
## When to Use
- Adding or updating inline documentation (docstrings, JSDoc, godoc, etc.)
- Writing or updating a README or module-level doc
- Documenting an API endpoint or interface
- Documenting an architecture decision
- During `sdd-archive` to ensure changes are properly documented
## Adaptation Rule
If you encounter a language or toolchain not covered here, **state it explicitly**, apply the closest analogous doc convention, and flag the gap.
---
## Critical Patterns
### 1. Document the WHY, not the WHAT
Code shows WHAT. Documentation must explain WHY.
```python
# Bad: what (obvious from code)
# Increments counter by 1
counter += 1
# Good: why
# Throttle requests: counter tracks calls in the current window.
# When it reaches MAX_CALLS, the next request will be queued.
counter += 1
```
### 2. Inline Documentation by Language
**TypeScript / JavaScript — JSDoc**
```ts
/**
* Calculates the retry delay using exponential backoff.
*
* @param attempt - Zero-based attempt number (0 = first retry).
* @param baseMs - Base delay in milliseconds. Defaults to 500.
* @returns Delay in milliseconds, capped at 30 seconds.
*
* @example
* retryDelay(0) // 500
* retryDelay(3) // 4000
*/
export function retryDelay(attempt: number, baseMs = 500): number
```
**Python — Google-style docstrings**
```python
def retry_delay(attempt: int, base_ms: int = 500) -> int:
"""Calculates retry delay using exponential backoff.
Args:
attempt: Zero-based attempt number (0 = first retry).
base_ms: Base delay in milliseconds. Defaults to 500.
Returns:
Delay in milliseconds, capped at 30 seconds.
Example:
>>> retry_delay(0)
500
>>> retry_delay(3)
4000
"""
```
**Go — godoc**
```go
// RetryDelay calculates the retry delay using exponential backoff.
// attempt is zero-based (0 = first retry). Returns delay in milliseconds,
// capped at 30 seconds.
func RetryDelay(attempt int, baseMs int) int
```
**Rust — rustdoc**
```rust
/// Calculates retry delay using exponential backoff.
///
/// `attempt` is zero-based (0 = first retry). Returns delay in milliseconds,
/// capped at 30 seconds.
///
/// # Examples
/// ```
/// assert_eq!(retry_delay(0, 500), 500);
/// ```
pub fn retry_delay(attempt: u32, base_ms: u64) -> u64
```
### 3. README Structure
Use this structure, skip sections that don't apply:
```markdown
# Project / Module Name
One sentence: what this does and who it's for.
## Quick Start
[Minimum steps to get it running — prioritize speed]
## Usage
[Common use cases with examples]
## Configuration
[Environment variables, config files, options]
## API / Interface
[Public surface — inputs, outputs, errors]
## Architecture (if non-obvious)
[Key decisions and why — link to ADRs if they exist]
## Development
[How to run tests, lint, build locally]
## ContributingFrom ntimpano/guild, Apache-2.0.
More from ntimpano/guild
- 0.474score
bug-fix
nt-cli
Structured workflow for diagnosing, fixing, and verifying bugs across full-stack codebases.
SkillCFreshness: CClaude Code +9 - 0.406score
judgment-day
gentleman-programming
Parallel adversarial review protocol that launches two independent blind judge sub-agents simultaneously to review the same target, synthesizes their…
SkillCFreshness: CClaude Code +9 - 0.406score
sdd-init
gentleman-programming
Initialize Spec-Driven Development context in any project.
SkillCFreshness: CClaude Code +9 - 0.403score
comment-writer
gentleman-programming
Write warm, direct, human comments for PRs, issues, reviews, chats, and async collaboration.
SkillCFreshness: CClaude Code +9 - 0.403score
repo-workflow-ops
gentleman-programming
Prácticas operativas para git/repo y promoción dev->prd.
SkillCFreshness: CClaude Code +9 - 0.403score
sdd-apply
gentleman-programming
Implement tasks from the change, writing actual code following the specs and design.
SkillCFreshness: CClaude Code +9 - 0.403score
sdd-archive
gentleman-programming
Sync delta specs to main specs and archive a completed change.
SkillCFreshness: CClaude Code +9 - 0.403score
sdd-explore
gentleman-programming
Explore and investigate ideas before committing to a change.
SkillCFreshness: CClaude Code +9 - 0.403score
sdd-onboard
gentleman-programming
Guided end-to-end walkthrough of the SDD workflow using the real codebase.
SkillCFreshness: CClaude Code +9 - 0.403score
python-testing-tdd
gentleman-programming
Patrón estricto de testing Python con TDD aplicado a runtime e infraestructura.
SkillCFreshness: CClaude Code +9 - 0.403score
azure-pr-workflow
gentleman-programming
Flujo operativo para crear y actualizar pull requests en Azure DevOps.
SkillCFreshness: CClaude Code +9 - 0.403score
sdd-design
gentleman-programming
Create technical design document with architecture decisions and approach.
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- May 19, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 1.0
- License
- Apache-2.0
- Repository
- github.com/ntimpano/guild
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from nt-cli
Cite this page
doc-writer skill. Agent Mart. https://agentmart.dev/skills/ntimpano-doc-writer (last updated 2026-10-24)