Skills for Real Engineers. Straight from my .agents directory.
code-documentation
Agent skill fromMoizIbnYousaf/ai-agent-skills
Writing effective code documentation - API docs, README files, inline comments, and technical guides. Use for documenting codebases, APIs, or writing developer guides.
How to install code-documentation
npx skills add MoizIbnYousaf/ai-agent-skills# or add only this skill to Claude Code: copy the folder
skills/code-documentation/
# into
~/.claude/skills/code-documentation/ (all projects)
.claude/skills/code-documentation/ (one project)
1# Code Documentation23## README Structure45### Standard README Template6```markdown7# Project Name89Brief description of what this project does.1011## Quick Start1213\`\`\`bash14npm install15npm run dev16\`\`\`1718## Installation1920Detailed installation instructions...2122## Usage2324\`\`\`typescript25import { something } from 'project';2627// Example usage28const result = something.doThing();29\`\`\`3031## API Reference3233### `functionName(param: Type): ReturnType`3435Description of what the function does.3637**Parameters:**38- `param` - Description of parameter3940**Returns:** Description of return value4142**Example:**43\`\`\`typescript44const result = functionName('value');45\`\`\`4647## Configuration4849| Option | Type | Default | Description |50|--------|------|---------|-------------|51| `option1` | `string` | `'default'` | What it does |5253## Contributing5455How to contribute...5657## License5859MIT60```6162## API Documentation6364### JSDoc/TSDoc Style65```typescript66/**67 * Creates a new user account.68 *69 * @param userData - The user data for account creation70 * @param options - Optional configuration71 * @returns The created user object72 * @throws {ValidationError} If email is invalid73 * @example74 * ```ts75 * const user = await createUser({76 * email: 'user@example.com',77 * name: 'John'78 * });79 * ```80 */81async function createUser(82 userData: UserInput,83 options?: CreateOptions84): Promise<User> {85 // Implementation86}8788/**89 * Configuration options for the API client.90 */91interface ClientConfig {92…
Excerpt shown under the repository's MIT license.
More skills in ai-agent-skills
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
