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 when feature-acceptance is completed.
npx skill4agent add liuzhengdongfortest/easysdd easysdd-guidedoc| 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 explanations, 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 |
|---|---|
| After feature-acceptance completion | Proactively push according to |
| Active trigger by user | "Write documentation", "guidedoc", "Add a developer guide" |
| After onboarding completion | This workflow can be triggered for new repositories to complete the basic documentation skeleton |
easysdd/docs/dev/{slug}.mddocs/user/{slug}.md{slug}.mdpython easysdd/tools/search-yaml.py --dir docs/dev --filter doc_type=dev-guide --filter status=current
python easysdd/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
Minimum runnable example. Code first, text as supplementary.
## Core Concepts
(Optional) Key terms and design decisions needed to understand the behavior of the interface/API/module.
## Interface Reference
Main APIs, configuration options, events, hooks. Listed in tables or item by item.
## Common Scenarios
2-4 code examples of actual usage scenarios, covering happy paths and common boundaries.
## Known Limitations and Notes
(Optional) Boundaries, performance considerations, workarounds for known bugs.
## Related Documents
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, operations that need to be completed first, 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) Links or descriptions of associated features.search-yaml.pyoutdatedstatusdraftstatusdraftcurrentlast_reviewedlast_reviewedoutdated| Source | Relationship |
|---|---|
| After acceptance, proactively push according to |
| Section 2 of the solution is the main information source for dev-guide; Section 1 is the main information source for user-guide |
| After new repository onboarding, complete the basic documentation skeleton |
| When inconsistencies between design and code are detected, the corresponding guide should be marked |
| Technical selections referenced in dev-guide should come from decisions; do not invent independently |
| If usage examples in dev-guide overlap with tricks, cross-reference instead of repeating content |
| Guides reference libdoc entries for detailed references; libdoc is part reference, guidedoc is task tutorial |
statusdraftcurrentcurrentoutdatedeasysdd/