来源信息
- 仓库
- vinilana/workshop-yungas
- 最近来源活动
- 2026年3月2日 18:43
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 0
- 分支
- 0
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
正在显示 SKILL.md
SKILL.md
来源说明 · 只读预览- type
- skill
- name
- Documentation
- description
- Generate and update technical documentation
- skillSlug
- documentation
- phases
- ["P","C"]
- generated
- 2026-03-02T00:00:00.000Z
- status
- filled
- scaffoldVersion
- 2.0.0
# Documentation
## When to Use
Activate this skill when creating or updating technical documentation. Use it after implementing features, changing architecture, or when documentation is outdated.
## Instructions
1. **Identify the document type**:
- Project overview → `project-overview.md`
- Architecture changes → `architecture.md`
- New workflows → `development-workflow.md`
- New domain terms → `glossary.md`
- Data flow changes → `data-flow.md`
- Security updates → `security.md`
- Tool additions → `tooling.md`
- Test changes → `testing-strategy.md`
2. **Follow the template structure**:
- Preserve YAML frontmatter (type, name, description, category, status).
- Update `status` from `unfilled` to `filled` when completing.
- Fill all section placeholders marked with `_Content to be added._`.
- Keep the `## Related Resources` section with working relative links.
3. **Writing style**:
- Use clear, concise language with technical precision.
- Use Markdown tables for structured data (APIs, types, config).
- Use code blocks for commands, file paths, and code examples.
- Use Mermaid diagrams for visual architecture or flow representations.
- Cross-reference related documents using relative links.
4. **Verify accuracy**:
- Check file paths and line numbers against current code.
- Verify commands run correctly before documenting them.
- Match type definitions to `packages/shared/src/types.ts`.
5. **Legacy vs. active distinction**: Documentation for new features should reference NestJS and SvelteKit. Mark Express/Next.js references as legacy. When documenting APIs or features, clearly indicate whether the content applies to the active stack (NestJS/SvelteKit) or the legacy stack (Express/Next.js).
## Examples
**API endpoint documentation:**
| Method | Path | Description | Auth | Status Codes |
|--------|------|-------------|------|-------------|
| GET | `/api/franchises` | List all franchises | Required | 200, 401 |
| POST | `/api/franchises` | Create a franchise | Required | 201, 400, 401 |
**Command documentation:**
```bash
# Start the NestJS backend in development mode
npm run dev:nestjs
# Seed the database with 10 sample franchises
npm run seed:nestjs
```
在 GitHub 查看