Basic documentation

From duranserkan/DRN-Project · View interactive version

Basic documentation is an AI agent skill from the GitHub repository duranserkan/DRN-Project. Use when writing or reviewing public documentation, READMEs, release notes, API guides, or agent skills.

How to use this skill

Skill file

Documentation

Standards for creating and maintaining repository documentation.

1. Core Principles (DiSCOS)

2. README.md Standard

Structure

  1. Header: Project Name & Badges (CI/CD, Quality Gate, License, Version)
  2. Summary: 3-5 key benefits ("You can...")
  3. Navigation: Quick links to major sections
  4. About Project: Problem Statement, Solution Overview, Key Characteristics
  5. Solution Structure: Folder breakdown, component descriptions
  6. Getting Started: Quick setup with prerequisites
  7. Architecture/Design: Links to design documents
  8. Security: Link to security policy, vulnerability reporting
  9. Management: (Optional) Philosophy on Security, Task, Quality
  10. Footer: License, Credits

Best Practices

3. ROADMAP vs CHANGELOG vs RELEASE-NOTES

ROADMAP.md

Track planned features with [ ]/[/]/[x] markers, grouped by version.

CHANGELOG.md

Repository/service-level history. Reverse chronological. Sections: Added, Changed, Fixed, Security, Breaking.

RELEASE-NOTES.md

Per-package/module release notes. Use the repository profile or package metadata for the exact template, heading style, sections, prefix, and footer. Maintain versioned changes above existing history.

Update release notes when a change affects a published module's consumers or package metadata other than version-only alignment:

Do not add release-note entries for internal-only refactors, tests, comments, private/internal-only checks, agent-only docs, or routine dependency-only updates unless the repository profile declares a stricter rule.

For version-aligned releases, leave unchanged packages alone unless the profile requires entries. Record release notes as "not required" when no trigger applies.

SemVer

4. Agent Skills Documentation

Path: .agent/skills/<skill-name>/SKILL.md. Keep every agent file below 12,000 characters. Verify edited files with wc -m.

Frontmatter (YAML)

---
name: skill-name
description: Use when the task needs this skill's specific guidance.
last-updated: YYYY-MM-DD
difficulty: basic | intermediate | advanced
---

| Field | Required | Purpose |

|-------|----------|---------|

| name | Yes | Skill identifier (matches directory name) |

| description | Yes | Concise task trigger that distinguishes this skill from adjacent skills |

| last-updated | Yes | Date of last meaningful content change |

| difficulty | Yes | Triage hint: basic (orientation/reference), intermediate (domain context needed), advanced (deep framework knowledge) |

Content Sections

  1. Title: # Skill Name
  2. Overview: Purpose and scope paragraph
  3. Navigation: Add a table of contents when section discovery needs it. Avoid copying an existing index.
  4. Sections: Logical breakdown with tables, code blocks, examples
  5. Code Blocks: Follow Section 8. Prefer one verified example over repeated boilerplate.

Keep one owner for each rule and link to it. Split only when separate loading helps a distinct task. Preserve entry points, incoming anchors, safety gates, and public edge cases when consolidating.

5. Security Documentation

Mandatory for components handling sensitive data, auth, or external communication.

Required Sections: Threat Model, Auth & Authorization, Data Protection, Vulnerability Reporting, Dependencies, Audit Trail.

6. API Documentation

REST API Pattern

### POST /api/users
Creates a new user account.
**Authentication**: Required (Bearer token)
**Request/Response**: JSON with status codes (201, 400, 401, 409)

Code API Pattern

Use XML documentation comments (<summary>, <param>, <returns>, <exception>).

7. Markdown Standards

8. Code Block Best Practices

9. Verification Checklist

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.