Logo Documentation Standards

Documentation Standards

Tổ chức
MadAppGang
documentation-standards

Use when writing README files, API documentation, user guides, or technical documentation following industry standards from Google, Microsoft, and GitLab style guides.

Tổng quan

Nhà phát hànhMadAppGang
Kho mãclaude-code
Tên kỹ năngdocumentation-standards
Sao
281
Bản fork
26
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được MadAppGang công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Documentation Standards trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/MadAppGang/claude-code/tree/main/plugins/dev/skills/documentation-standards
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/MadAppGang/claude-code.git /tmp/claude-code
mkdir -p .claude/skills
cp -r /tmp/claude-code/plugins/dev/skills/documentation-standards .claude/skills/documentation-standards
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Documentation Standards trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Documentation Standards ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Documentation Standards với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Documentation Standards

Overview

Comprehensive documentation standards based on research from Google, Microsoft, GitLab, Red Hat style guides, and 60+ additional sources. Provides templates, best practices, and anti-pattern detection for AI agents writing documentation.


15 Best Practices (Ranked by Consensus)

UNANIMOUS (100% Agreement)

1. Use Active Voice and Present Tense

Why: Reduces cognitive load 20-30%, shortens sentences 15-25%

Implementation:

markdown
BAD (passive): The request is processed by the server.
GOOD (active): The server processes the request.

BAD (future): The program will save your file.
GOOD (present): The program saves your file.

Validation: Check for "is/are/was/were + past participle" patterns


2. Start with 5-Minute Quick Start

Why: 70% of visitors are first-time users, time-to-first-success critical

Implementation:

markdown
## Quick Start

```bash
npm install my-tool
npx my-tool init
npx my-tool start

Visit http://localhost:3000

That's it!


**Validation**: Can a new user succeed in under 5 minutes with zero context?

---

#### 3. Use Progressive Disclosure (Three-Tier Structure)

**Why**: Accommodates all skill levels, reduces overwhelm

**Implementation**:

Tier 1: Quick Start (2-5 min) -> Copy-paste code, immediate success, no explanations

Tier 2: Tutorial (15-30 min) -> Step-by-step with explanations, build one feature

Tier 3: Reference (lookup) -> Complete API docs, searchable, advanced patterns


---

#### 4. Use Second Person ("You")

**Why**: Increases engagement, reduces word count 15-25%

**Implementation**:
```markdown
BAD: The user should configure the settings.
GOOD: Configure the settings.

BAD: One can install the plugin by...
GOOD: Install the plugin by...

5. Keep Sentences Under 25 Words

Why: Comprehension drops 30% when sentences exceed 30 words

Implementation:

markdown
BAD (42 words): The configuration file, which should be located in the
root directory of your project and named .claude, contains all the settings
that are required for the plugin system to function correctly and load
the appropriate agents.

GOOD (18 words): Place the `.claude` configuration file in your project
root. It contains settings for the plugin system and agents.

6. Use Lists and Tables for Comparison

Why: 70% faster comprehension vs paragraphs

Implementation:

markdown
## Prerequisites

Before starting, you need:
- [ ] Node.js 18+ installed
- [ ] Git access to GitHub
- [ ] API token configured

## Tool Comparison

| Tool | Best For | Stars | Learning Curve |
|------|----------|-------|----------------|
| Docusaurus | React | 55k+ | Medium |
| VitePress | Vue | 12k+ | Low |

STRONG (67%+ Agreement)

7. Use Language-Specific Documentation Tools

Why: Deep language integration, automatic type inference

Decision Matrix:

Language -> Tool:
- TypeScript -> TSDoc comments + TypeDoc generator
- Python -> Google/NumPy docstrings + Sphinx
- Rust -> /// comments + rustdoc
- Go -> Plain comments + godoc
- Java -> Javadoc

8. Follow Diataxis Framework

Why: Clear taxonomy reduces confusion

Four Types:

TypePurposeLengthWhen to Use
TutorialTeach by doing15-60 min"I'm new, show me"
How-ToSolve problem5-15 min"I need to do X"
ReferenceDescribe what existsAs needed"What parameters?"
ExplanationClarify concepts5-30 min"Why does this work?"

9. Show Code Examples with Expected Output

Why: Users know what success looks like

Implementation:

markdown
### Example: Fetching User Data

**Code:**
```typescript
const user = await api.getUserById('user-123');
console.log(user.name, user.email);

Expected Output:

John Doe john@example.com

Error Case:

typescript
const user = await api.getUserById('invalid-id');
// Throws: NotFoundError: User with ID 'invalid-id' not found

---

#### 10. Provide Troubleshooting Section

**Why**: 50%+ of support questions are error-related

**Template**:
```markdown
## Troubleshooting

### Issue: Command not found

**Symptom**: `/implement` returns "command not found"
**Cause**: Plugin not enabled
**Solution**:
1. Check `.claude/settings.json`
2. Run `/plugin reload`
3. Restart if needed

**Prevention**: Verify with `/plugin list`

11. Organize by Task ("How do I...")

Why: Users think in terms of goals, not architecture

Implementation:

markdown
## Guides

### How-To Guides (Task-Oriented)
- [How to deploy to production](deploy.md)
- [How to add authentication](auth.md)
- [How to handle file uploads](uploads.md)

12. Add Prerequisites Checklist

Why: Eliminates invisible barriers for beginners

Template:

markdown
## Prerequisites

Before starting, ensure you have:

- [ ] Node.js 18+ installed ([Download](https://nodejs.org))
- [ ] Basic JavaScript knowledge
- [ ] Text editor (VS Code recommended)

AI-SPECIFIC

13. Verify Examples Actually Work

Why: Prevents hallucination and outdated examples

Process:

  1. Read function implementation
  2. Extract actual parameters and return type
  3. Test example code
  4. Document actual output

14. Ground Documentation in Source Code

Why: Prevents documenting non-existent features

Process:

  1. Read source code FIRST
  2. Only document features that exist
  3. Use actual type signatures
  4. If uncertain, qualify with "typically", "generally"

15. Add Version Tracking

Why: Users need to know if docs apply to their version

Template:

markdown
---
**Version**: v2.0.0
**Last Updated**: 2026-01-09
**Compatible With**: Claude Code 1.5+, TypeScript 5.0+
---

> **DEPRECATED**: This approach works but superseded by [New Approach](link)

7 Ready-to-Use Templates

Template 1: README Quick Start

Purpose: Project landing page with 5-minute setup Max Length: 80 lines Use When: Creating project README

markdown
# [Project Name]

[One-line description of what this does]

## Quick Start

```bash
# Step 1: Install
npm install my-tool

# Step 2: Initialize
npx my-tool init

# Step 3: Start
npx my-tool start

Visit http://localhost:3000

That's it!

Features

  • Feature 1 (one-line description)
  • Feature 2 (one-line description)
  • Feature 3 (one-line description)

See detailed feature list

Documentation

Community

License

MIT - See LICENSE for details


---

### Template 2: TSDoc Function Documentation

**Purpose**: Document TypeScript functions
**Format**: TSDoc standard
**Use When**: Documenting public APIs

```typescript
/**
 * Retrieves a user by their unique identifier.
 *
 * @remarks
 * This function includes user permissions and preferences in the response.
 * Results are cached for 5 minutes to reduce database load.
 *
 * @param id - User unique identifier (UUID format)
 * @param options - Optional fetch configuration
 * @param options.includePermissions - Include user permissions (default: true)
 *
 * @returns Promise resolving to User object with permissions
 *
 * @throws {NotFoundError} If user with given ID doesn't exist
 * @throws {UnauthorizedError} If caller lacks 'read:users' permission
 *
 * @example
 * Basic usage:
 * ```typescript
 * const user = await getUserById('user-123');
 * console.log(user.name, user.email);
 * // Output: John Doe john@example.com
 * ```
 *
 * @example
 * Error handling:
 * ```typescript
 * try {
 *   const user = await getUserById('user-123');
 * } catch (error) {
 *   if (error instanceof NotFoundError) {
 *     console.error('User not found');
 *   }
 * }
 * ```
 *
 * @see {@link createUser} for creating new users
 * @since 2.0.0
 * @public
 */

Template 3: Error Documentation

Purpose: Document common errors and solutions Organization: By symptom Use When: Creating troubleshooting guides

markdown
# Troubleshooting Guide

## Installation Issues

### Error: EACCES permission denied

**Symptom**: npm install fails with permission error

**Full Error Message**:

npm ERR! code EACCES npm ERR! syscall access npm ERR! path /usr/local/lib


**Cause**: Trying to install globally without proper permissions

**Solution**:

**Option 1 (Recommended)**: Install locally
```bash
npm install --save-dev my-tool
npx my-tool

Option 2: Fix npm permissions

bash
mkdir ~/.npm-global
npm config set prefix '~/.npm-global'
export PATH=~/.npm-global/bin:$PATH

Prevention: Use local installation (avoid -g flag)


Error: Module not found

Symptom: Import fails with "Cannot find module 'X'"

Causes:

  1. Package not installed
  2. Wrong import path
  3. TypeScript configuration issue

Solution:

Step 1: Verify package is installed

bash
npm list my-package

Step 2: Check import path matches package name

typescript
// CORRECT
import { func } from 'my-package';

// WRONG
import { func } from 'my-package/lib/index';

Prevention: Always install dependencies before importing


---

### Template 4: Tutorial Structure

**Purpose**: Teach by doing
**Length**: 15-30 minutes
**Use When**: Creating beginner tutorials

```markdown
# Tutorial: Building Your First REST API

**What you'll learn**:
- How to create a basic REST API
- How to define routes and handlers
- How to connect to a database
- How to handle errors

**Prerequisites**:
- [ ] Node.js 18+ installed ([Download](https://nodejs.org))
- [ ] Basic JavaScript knowledge
- [ ] Text editor (VS Code recommended)

**Estimated time**: 30 minutes

---

## Step 1: Set Up Project

Create a new directory and initialize npm:

```bash
mkdir my-api
cd my-api
npm init -y

What this does: Creates package.json with default settings


Step 2: Create Basic Server

Create src/server.ts:

typescript
import express from 'express';

const app = express();
const PORT = 3000;

app.get('/', (req, res) => {
  res.json({ message: 'Hello, World!' });
});

app.listen(PORT, () => {
  console.log(`Server running on http://localhost:${PORT}`);
});

What this does:

  • Imports Express framework
  • Creates Express application
  • Defines route for GET /
  • Starts server on port 3000

Step 3: Test Your API

Start development server:

bash
npm run dev

Expected output:

Server running on http://localhost:3000

Test the endpoint:

bash
curl http://localhost:3000

Expected response:

json
{"message":"Hello, World!"}

Success! You've created your first API endpoint.


What You've Built

You now have a basic REST API with:

  • Express server
  • TypeScript configuration
  • First endpoint
  • Error handling

Next Steps

  1. Add a database: Tutorial: Connect to PostgreSQL
  2. Add authentication: Tutorial: Add JWT Authentication
  3. Deploy: Guide: Deploy to Vercel

Troubleshooting

Issue: Server won't start

Solution: Check if port 3000 is already in use:

bash
lsof -i :3000
kill -9 <PID>

---

### Template 5: Changelog

**Purpose**: Track version changes
**Format**: Keep a Changelog standard
**Use When**: Every release

```markdown
# Changelog

All notable changes documented here.

Format based on [Keep a Changelog](https://keepachangelog.com/),
adheres to [Semantic Versioning](https://semver.org/).

## [Unreleased]

### Added
- New feature X for user authentication (#123)

### Changed
- Improved performance of database queries (#145)

---

## [2.0.0] - 2026-01-09

### Breaking Changes

#### Agent Configuration Format Changed

**Old format:**
```json
{
  "agents": ["architect", "developer"]
}

New format:

json
{
  "agents": {
    "architect": { "enabled": true },
    "developer": { "enabled": true }
  }
}

Migration:

bash
npx @my-tool/migrate-config

Added

  • OAuth 2.0 support for authentication (#123)
  • Rate limiting middleware (#145)

Changed

  • Updated dependency X to v2.0 (security fix) (#156)

Deprecated

  • oldAuthMethod() - use newAuthMethod() instead

Removed

  • Support for Node.js 16 (end of life) - BREAKING

Fixed

  • Memory leak in connection pool (#134)

Security

  • Fixed XSS vulnerability (#156) - CRITICAL


---

### Template 6: Architecture Decision Record (ADR)

**Purpose**: Document significant architecture decisions
**Format**: Lightweight ADR
**Use When**: Technology choices, patterns, security decisions

```markdown
# ADR-001: Use PostgreSQL for Primary Database

## Status

Accepted (2026-01-09)

## Context

We need persistent storage for user data, transactions, and analytics.

**Requirements**:
- Store structured user data
- Support complex queries
- ACID compliance for transactions
- Handle 100K users, 1M records/month

## Decision

We will use **PostgreSQL 15+** as our primary database.

**Implementation**:
- Host on AWS RDS
- Use connection pooling (pgBouncer)
- Enable read replicas

## Consequences

### Positive
- ACID compliance for data integrity
- Rich query capabilities (JSON, full-text search)
- Proven scaling path

### Negative
- Schema migrations require planning
- Not optimal for document storage

### Risks
- **Risk**: Database bottleneck at scale
- **Mitigation**: Early read replicas and caching

## Alternatives Considered

### MongoDB
**Pros**: Flexible schema, horizontal scaling
**Cons**: Limited transactions, weaker consistency
**Why rejected**: Financial data requires ACID

### DynamoDB
**Pros**: Fully managed, auto-scaling
**Cons**: Vendor lock-in, complex pricing
**Why rejected**: Team expertise in SQL

---

**Author**: [Name]
**Reviewed by**: [Tech Lead]

Template 7: Comprehensive Troubleshooting Guide

Purpose: Systematic problem-solving Organization: By category and symptom Use When: Creating comprehensive troubleshooting docs

markdown
# Troubleshooting Guide: [Component]

**Last Updated**: 2026-01-09
**Covers**: Version 2.0.0+

---

## Quick Diagnostics

**Before detailed troubleshooting**:

1. **Check prerequisites**:
   - [ ] Dependencies installed
   - [ ] Environment configured
   - [ ] Services running

2. **Enable debug mode**:
   ```bash
   DEBUG=* my-tool start
  1. Check logs:
    bash
    tail -f ~/.my-tool/logs/latest.log

Common Issues by Category

Installation Issues

Issue: EACCES permission denied

Symptom: npm install fails

Root Cause: Insufficient permissions

Solution:

bash
npm install --save-dev my-tool
npx my-tool

Prevention: Use local installation


Configuration Issues

Issue: Environment variables not loaded

Symptom: "Missing required config" error

Root Causes:

  1. .env file doesn't exist
  2. .env in wrong location
  3. Variables not exported

Solution:

Step 1: Verify .env exists

bash
ls -la .env

Step 2: Check location (must be project root)

Step 3: Verify format

bash
# CORRECT
API_TOKEN=abc123

# WRONG (no quotes)
API_TOKEN="abc123"

Debug Workflows

Systematic Process

Level 1: Quick (5 min)

  1. Check error message
  2. Verify prerequisites
  3. Restart application

Level 2: Investigation (15 min) 4. Enable debug mode 5. Check logs 6. Search known issues

Level 3: Deep (30+ min) 7. Add debug logging 8. Use debugger 9. Profile performance


Getting Help

Before reporting:

  • Searched existing issues
  • Tried troubleshooting steps
  • Created minimal reproduction

Bug report includes:

  • Tool version: my-tool --version
  • Node.js version: node --version
  • Full error message
  • Steps to reproduce

Report a Bug


---

## 42-Point Anti-Pattern Checklist

Use this checklist to validate documentation quality.

### Content Quality (8 points)

- [ ] **No Over-Marketing**: Technical content, not sales pitch
- [ ] **No Feature Hallucination**: All documented features exist
- [ ] **No Assumption Overload**: Prerequisites explicitly listed
- [ ] **No Code Duplication**: Comments add insight, not repeat code
- [ ] **No Copy-Paste Docs**: Single source of truth
- [ ] **Examples Tested**: All code examples work
- [ ] **Errors Documented**: Top 5 errors with troubleshooting
- [ ] **Version Tracked**: Version header and date

### Structure Quality (8 points)

- [ ] **Quick Start First**: In first 20 lines (README)
- [ ] **Progressive Disclosure**: Simple -> Complex
- [ ] **User Journey Clear**: Persona-based entry points
- [ ] **Consistent Formatting**: Follows template
- [ ] **Hierarchy Logical**: H1 -> H2 -> H3
- [ ] **Lists for Steps**: Tasks >3 steps numbered
- [ ] **Tables for Comparison**: Comparison in tables
- [ ] **Navigation Present**: "Next Steps" included

### Writing Style (8 points)

- [ ] **Active Voice**: "Server processes" not "is processed"
- [ ] **Present Tense**: "Program saves" not "will save"
- [ ] **Second Person**: "You configure" not "user configures"
- [ ] **Short Sentences**: Average <25 words
- [ ] **Short Paragraphs**: 3-5 sentences max
- [ ] **Plain Language**: Terms defined
- [ ] **No Jargon**: Acronyms defined
- [ ] **Scannable**: Headings every 200-300 words

### AI-Specific (8 points)

- [ ] **Source Code Verified**: Claims match implementation
- [ ] **API Signatures Correct**: Parameters accurate
- [ ] **Examples Work**: Copy-paste tested
- [ ] **Version Compatible**: Versions stated
- [ ] **Edge Cases Included**: Error cases documented
- [ ] **Human Reviewed**: Expert validated
- [ ] **No Over-Confidence**: Uncertain qualified
- [ ] **Citations Provided**: Sources included

### Completeness (6 points)

- [ ] **Prerequisites Listed**: Dependencies stated
- [ ] **Expected Output Shown**: Results included
- [ ] **Error Cases Covered**: Common errors documented
- [ ] **Troubleshooting Present**: Dedicated section
- [ ] **Next Steps Provided**: Guidance included
- [ ] **Search Optimized**: Keywords in headings

### Maintenance (4 points)

- [ ] **Date Stamped**: "Last Updated: YYYY-MM-DD"
- [ ] **Version Noted**: "Version: X.Y.Z"
- [ ] **Deprecation Warnings**: Old approaches marked
- [ ] **Links Valid**: All links work

---

## Quality Gate Thresholds

| Score | Verdict | Action |
|-------|---------|--------|
| 40-42 | PASS | Ready to publish |
| 35-39 | GOOD | Minor improvements optional |
| 25-34 | NEEDS_WORK | Fix HIGH issues before publish |
| <25 | FAIL | Major revision required |

---

## Tool Recommendations by Language

| Language | Inline | Generator | Site Builder |
|----------|--------|-----------|--------------|
| TypeScript | TSDoc | TypeDoc | Docusaurus |
| Python | Google docstrings | Sphinx | MkDocs |
| Rust | /// comments | rustdoc | rustdoc |
| Go | Plain comments | godoc | godoc |
| Java | Javadoc | javadoc | javadoc |

---

## Anti-Pattern Detection Patterns

### OVER_MARKETING
**Severity**: HIGH
**Description**: Marketing hype buries quick start 64+ lines deep
**Detection**: Search for words: "amazing", "revolutionary", "best", "incredible", "powerful". Check if quick start appears after line 30.
**Impact**: 30-minute barrier to first success (should be <5 min)
**Fix**: Move quick start to first 20 lines, remove superlatives

### STALE_DOCS
**Severity**: HIGH
**Description**: No version tracking or last-updated dates
**Detection**: Missing: "Last Updated:", "Version:", "As of v". No YAML frontmatter with date/version.
**Impact**: Users don't know if docs apply to their version
**Fix**: Add version header with date

### MISSING_ERROR_RECOVERY
**Severity**: CRITICAL
**Description**: Happy path only, no troubleshooting
**Detection**: Missing sections: "Troubleshooting", "Common Issues", "FAQ", "Error"
**Impact**: 50%+ of support questions are error-related
**Fix**: Add troubleshooting section with top 5 errors

### PASSIVE_VOICE
**Severity**: MEDIUM
**Description**: Passive voice increases cognitive load
**Detection**: Pattern: "is/are/was/were + past participle". Examples: "is processed", "was created", "are stored"
**Impact**: 20-30% increased cognitive load
**Fix**: Convert to active voice: "The server processes" not "is processed by"

### FRAGMENTED_INFO
**Severity**: HIGH
**Description**: Same topic in multiple places
**Detection**: Duplicate headings, repeated explanations
**Impact**: Users get confused, docs become stale
**Fix**: Consolidate to single source of truth

### MISSING_JOURNEY
**Severity**: HIGH
**Description**: No clear user learning path
**Detection**: No "Getting Started" or navigation
**Impact**: Users don't know where to begin
**Fix**: Add persona-based entry points

### INCONSISTENT_FORMAT
**Severity**: MEDIUM
**Description**: Different structures per file
**Detection**: Varying heading styles, list formats
**Impact**: Cognitive overhead for readers
**Fix**: Apply consistent template

### ASSUMPTION_OVERLOAD
**Severity**: HIGH
**Description**: Unexplained prerequisites
**Detection**: Missing "Prerequisites" section
**Impact**: Beginners blocked by invisible barriers
**Fix**: Add explicit prerequisites checklist

### COPY_PASTE_DOCS
**Severity**: MEDIUM
**Description**: Duplicated content
**Detection**: 80%+ similar paragraphs
**Impact**: Maintenance nightmare, drift between copies
**Fix**: Extract to single source, link to it

### AI_HALLUCINATION_RISK
**Severity**: CRITICAL
**Description**: Undocumented features
**Detection**: Compare docs with source code, flag mismatches
**Impact**: Users try features that don't exist
**Fix**: Verify all documented features exist in code

---

*Documentation standards based on 73+ authoritative sources with 98% factual integrity*

Câu hỏi thường gặp

Kỹ năng AI Documentation Standards làm được gì?

Use when writing README files, API documentation, user guides, or technical documentation following industry standards from Google, Microsoft, and GitLab style guides.

Vì sao nên dùng Documentation Standards trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Documentation Standards là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Documentation Standards trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/MadAppGang/claude-code/tree/main/plugins/dev/skills/documentation-standards. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Documentation Standards?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Documentation Standards với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Documentation Standards với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Documentation Standards có miễn phí không?

Có. Kỹ năng này được MadAppGang phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇