Loading...
Loading...
Write or update external guide documents for the project —— dev-guide (for contributors/integrators/downstream developers) and user-guide (for end users). The output is stored in the project's docs/ directory, maintained alongside the code, and searchable by search tools. Difference from libdoc: guidedoc is task-oriented ("How to do Y with X"), while libdoc is reference-oriented ("What each part of X looks like"). Trigger scenarios: When the user says "write documentation", "developer guide", "user guide", or proactively push at the end of feature-acceptance.
npx skill4agent add liuzhengdongfortest/codestable cs-guide| Track | Target Readers | Typical Content | Output Path |
|---|---|---|---|
| Contributors, integrators, downstream developers | Local setup, architecture explanation, API description, extension methods | |
| End users | Feature overview, operation steps, concept explanation, FAQs | |
The pathsanddocs/dev/are default conventions. Follow the project's existing docs structure if it has one —— confirm this before starting.docs/user/
| Scenario | Description |
|---|---|
| End of feature-acceptance | Proactively push according to |
| Active trigger by user | "Write documentation", "guidedoc", "Add a developer guide" |
| After onboarding completion | Trigger this workflow for new repositories to complete the basic documentation skeleton |
codestable/docs/dev/{slug}.mddocs/user/{slug}.md{slug}.mdpython codestable/tools/search-yaml.py --dir docs/dev --filter doc_type=dev-guide --filter status=current
python codestable/tools/search-yaml.py --dir docs/user --filter doc_type=user-guide --filter component={feature-slug}---
doc_type: dev-guide | user-guide
slug: {English description, hyphen-separated}
component: {Associated module name or feature slug}
status: draft | current | outdated
summary: {One-sentence description of what this document covers}
tags: []
last_reviewed: YYYY-MM-DD
---statusdraftcurrentoutdated## Overview
A paragraph describing the feature's positioning and applicable scenarios.
## Prerequisites
Environments, dependencies, or configurations required to integrate this module (if any).
## Quick Start
Minimal runnable example. Code first, text as supplement.
## Core Concepts
(Optional) Key terms and design decisions needed to understand the behavior of interfaces/API/modules.
## Interface Reference
Main APIs, configuration options, events, hooks. Presented in tables or itemized lists.
## Common Scenarios
2-4 code examples for actual use cases, covering happy paths and common boundaries.
## Known Limitations & Notes
(Optional) Boundaries, performance considerations, workarounds for known bugs.
## Related Documents
Links or descriptions of associated user-guide, solution doc, architecture doc, or external references.## Feature Introduction
A paragraph describing what the feature is and what problem it solves.
## Preconditions
(Optional) Prerequisites before use (account permissions, required prior operations, etc.).
## How to Use
Step-by-step operations. One step per line, with screenshot placeholders for key operations (`` or note "Screenshot needed here").
## FAQs
Q: ...
A: ...
## Related Features
(Optional) Jump links or descriptions of associated features.search-yaml.pyoutdatedstatusdraftstatusdraftcurrentlast_reviewedlast_reviewedstatusoutdated| Source | Relationship |
|---|---|
| After acceptance, proactively push according to |
| Section 2 of the solution doc is the main information source for dev-guide; Section 1 is the main information source for user-guide |
| Complete the basic documentation skeleton after new repository onboarding |
| When inconsistency between design and code is detected, the corresponding guide should be marked |
| Technical selections referenced in dev-guide should come from decisions, not independently invented |
| If usage examples in dev-guide overlap with tricks, cross-reference instead of repeating |
| Guides reference libdoc entries for detailed references; libdoc is part reference, guidedoc is task tutorial |
statusdraftcurrentcurrentoutdatedcodestable/