askill
documentation

documentationSafety 100Repository

Create and maintain clear, useful documentation. Use when writing docs, README, API docs, guides, or ADRs.

0 stars
1.2k downloads
Updated 1/11/2026

Package Files

Loading files...
SKILL.md

Documentation Skill

Instructions

TypePurposeLocation
READMEProject overviewRoot
API DocsEndpoint reference/docs/api/
GuidesHow-to tutorials/docs/guides/
SpecsFeature specifications/docs/specs/
ADRsDecision records/docs/adr/
CommentsCode explanationsIn source

Steps

  1. Identify Documentation Need

    • What changed?
    • Who needs to know?
    • What format is best?
  2. Gather Information

    • Read the code
    • Understand the feature
    • Note important details
  3. Choose Template

    • Use existing templates when available
    • Follow project conventions
  4. Write Documentation

    • Clear and concise
    • Include examples
    • Use proper formatting
  5. Review and Verify

    • Test code examples
    • Check links
    • Proofread

Templates

README Section

## Feature Name

Brief description of what this feature does.

### Usage

\`\`\`typescript
// Example code
const result = featureFunction(input)
\`\`\`

### Configuration

| Option  | Type   | Default | Description |
| ------- | ------ | ------- | ----------- |
| option1 | string | ''      | Description |
| option2 | number | 0       | Description |

### Examples

#### Basic Usage

\`\`\`typescript
// Code example
\`\`\`

#### Advanced Usage

\`\`\`typescript
// Code example
\`\`\`

API Endpoint

## Endpoint Name

Brief description.

### Request

\`\`\`
POST /api/resource
\`\`\`

#### Headers

| Header        | Required | Description  |
| ------------- | -------- | ------------ |
| Authorization | Yes      | Bearer token |

#### Body

\`\`\`json
{
"field": "value"
}
\`\`\`

### Response

#### Success (200)

\`\`\`json
{
"id": "uuid",
"field": "value"
}
\`\`\`

#### Errors

| Status | Code             | Description        |
| ------ | ---------------- | ------------------ |
| 400    | VALIDATION_ERROR | Invalid input      |
| 404    | NOT_FOUND        | Resource not found |

How-To Guide

# How to [Accomplish Task]

This guide explains how to [task] in [context].

## Prerequisites

- Prerequisite 1
- Prerequisite 2

## Steps

### Step 1: [Action]

Explanation of what to do.

\`\`\`bash
command to run
\`\`\`

### Step 2: [Action]

Explanation.

\`\`\`typescript
// Code example
\`\`\`

### Step 3: [Action]

Explanation.

## Verification

How to confirm it worked:

\`\`\`bash
verification command
\`\`\`

## Troubleshooting

### Problem 1

Solution.

### Problem 2

Solution.

## Next Steps

- Link to related guide
- Link to API docs

ADR (Architecture Decision Record)

# ADR-XXX: [Decision Title]

## Status

[Proposed | Accepted | Deprecated | Superseded]

## Context

What is the issue that we're seeing that is motivating this decision?

## Decision

What is the change that we're proposing and/or doing?

## Consequences

### Positive

- Benefit 1
- Benefit 2

### Negative

- Drawback 1
- Drawback 2

### Neutral

- Trade-off 1

## Alternatives Considered

### Alternative 1

Description and why rejected.

### Alternative 2

Description and why rejected.

Writing Guidelines

Be Direct

# ❌ Verbose

In order to successfully install the package, you will need to run
the following command in your terminal application.

# ✅ Direct

Install with:
\`\`\`
npm install package
\`\`\`

Use Examples

# ❌ Abstract

The function accepts configuration options.

# ✅ Concrete

\`\`\`typescript
createUser({
name: 'John',
email: 'john@example.com',
role: 'admin'
})
\`\`\`

Keep Current

# ❌ Outdated

See the `config.json` file for options.
(But project now uses config.yaml)

# ✅ Current

See `config.yaml` for options:
\`\`\`yaml
option: value
\`\`\`

Checklist

Before publishing:

  • Spelling and grammar checked
  • Code examples tested
  • Links verified
  • Formatting consistent
  • No sensitive information
  • Added to navigation/index (if applicable)

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

83/100Analyzed 2/24/2026

High-quality documentation skill with clear structure, comprehensive templates for README/API/How-To/ADR, actionable steps, and writing guidelines. Well-organized with tables and examples. Located in internal .ai folder which reduces external reusability, but content itself is generic and valuable. Includes practical checklist and before/after examples for writing style.

100
90
80
85
90

Metadata

Licenseunknown
Version-
Updated1/11/2026
PublisherAdemKao

Tags

apitesting