rd-tech-doc

Writes and updates Unity C# technical documentation following an L1-L5 architecture layer system.

Updated Jan 29, 2026
One-click install
npx skills add https://github.com/Sky9th/RedDust-Abandon --skill rd-tech-doc-sky9th
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: rd-tech-doc
Source: https://github.com/Sky9th/RedDust-Abandon/tree/main/.claude/skills/rd-tech-doc
Command: npx skills add https://github.com/Sky9th/RedDust-Abandon --skill rd-tech-doc-sky9th

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Technical documentation drifts out of sync with code as classes are renamed, deleted, or refactored, leaving developers with misleading docs. This Skill enforces mandatory freshness verification before writing or updating any tech doc, so documentation always matches the actual codebase. ## Core Features & Use Cases - Freshness Verification: Runs five pre-write checks covering file existence, deleted class detection, method signature matching, layer/count accuracy, and code-to-doc coverage before any doc is written. - L1-L5 Architecture Organization: Structures docs by architecture layer (GameManager root, Services, Modules, Components, Behaviors) with a root index, module overviews, and per-file sub-module documents. - Stale Doc Marking: Flags outdated docs with a WARNING banner and Last Verified stamp instead of silently deleting them. - Use Case: After refactoring a Unity character locomotion module, ask the AI to update the tech docs — it will verify every referenced .cs file and class still exists, detect renamed classes like LocomotionProfile, and regenerate the module overview with an updated verification stamp. ## Quick Start Write or update the tech documentation for the character module in Assets/Scripts following the L1-L5 layer structure.

Frequently Asked Questions about rd-tech-doc

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I keep technical documentation in sync with code changes?▼

Run freshness checks before every doc write or update: verify referenced files exist, search for deleted class names, and compare quoted method signatures against actual code. Mark docs stale with a dated warning banner when verification fails rather than deleting them.

How to structure architecture documentation for a Unity C# project?▼

Organize docs by architecture layers from L1 (root GameManager) through L5 (rare behavioral decomposition), with a root index, one module overview per module, and one sub-module document per .cs file. Use kebab-case filenames and L-prefixed directory names for true architectural layers only.

What should a module overview document contain?▼

A module overview needs six sections: Last Verified stamp, layer position, call chain diagram, coupled modules table, design decisions table, and future plans table, plus a sub-document index. It must not repeat the root index file tree or sub-module method details.

How do I detect deleted or renamed classes in existing documentation?▼

Scan the doc for PascalCase identifiers that look like class names, then search the codebase for each class declaration. Any identifier not found is flagged as deleted, and the doc is marked stale with the specific missing classes listed.

When should a directory get an architecture layer prefix?▼

Only true architectural responsibility layers receive an L-prefix, such as L4-animation or L5-states. Code organization directories like config/, structs/, or player/ exist for discoverability and must not be labeled as architecture layers.