doc-updater
Synchronize, format, and update project specifications, architecture documents, and skill catalogs across docs/spec/ and .agents/skills/.
- License 许可
- MIT
- 最近更新
- 2026-11-06
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- doc-updater
- description
- Synchronize, format, and update project specifications, architecture documents, and skill catalogs across docs/spec/ and .agents/skills/.
03 SKILL.md 正文
Documentation & Specification Updater Skill (doc-updater)
Bộ kỹ năng chuyên biệt cho các Agent (Lead BA, Lead Design, Lead Dev, Supervisor) dùng để cập nhật, đồng bộ và chuẩn hóa tài liệu kỹ thuật, đặc tả nghiệp vụ và danh mục skills trong workspace.
1. When to Use
Kích hoạt skill này khi:
- Lead BA / Peer BA: Cần cập nhật tài liệu nghiệp vụ, User Stories hoặc Acceptance Criteria vào
docs/spec/<project>/ba/. - Lead Design / Peer Design: Cần cập nhật danh mục token màu, component mapping hoặc UI/UX spec vào
docs/spec/<project>/design/. - Lead Dev / Peer Dev: Cần cập nhật API contracts, database schema, DTOs, hoặc tài liệu kiến trúc vào
docs/spec/<project>/dev/. - Supervisor: Cần cập nhật tài liệu handoff phiên làm việc hoặc báo cáo kiến trúc tổng quan.
- Bất kỳ Agent nào khi hoàn thành một tính năng mới cần cập nhật
README.mdvàAGENTS.md.
2. Standard Document Structures
A. Cấu trúc tài liệu BA (docs/spec/<project>/ba/<task>-spec.md)
# Business Specification: [Task Name]
## 1. Overview & Business Value
- **Goal**: [Mục tiêu nghiệp vụ]
- **Target Users**: [Đối tượng sử dụng]
## 2. User Story (BDD)
As a [User Role],
I want [Action / Goal],
So that [Business Value].
## 3. Acceptance Criteria (AC)
- [ ] AC1: [Điều kiện nghiệm thu 1]
- [ ] AC2: [Điều kiện nghiệm thu 2]
B. Cấu trúc tài liệu Design (docs/spec/<project>/design/<task>-ui.md)
# UI/UX Specification: [Task Name]
## 1. TDS UI Component Mapping
| Figma Component | TDS Component | TDS Module | Class Utilities |
|---|---|---|---|
| Primary Button | `button[tds-button]` | `TDSButtonModule` | `color="primary"` |
## 2. Color Tokens
- Theme Preset: `default` / `blue`
- Primary: `bg-tds-color-primary-500-light`
C. Cấu trúc tài liệu Dev (docs/spec/<project>/dev/<task>-arch.md)
# Technical Architecture: [Task Name]
## 1. Data Transfer Objects (DTO)
```typescript
export interface ExampleDto {
id: string;
name: string;
}
2. API Endpoints & State Management
GET /api/v1/resource: Fetch list
---
## 3. Automation Scripts
Chạy script tự động cập nhật và đồng bộ cấu trúc tài liệu:
```bash
python3 tools/doc_sync.py
04 同仓库更多 Skills
workflow-launch-exec
Launch, orchestrate, and drive end-to-end multi-agent pipelines (BA -> DESIGN -> DEV -> VERIFY) for any task.
paseo-handoff
Hand off the current task to another agent with full context. Use when the user says "handoff", "hand off", "hand this to", or wants to pass work to another agent.
loop-me
Grill me about specs for the workflows I want to build, within this workspace.
loop-engineering
Use when the user wants Claude Code to keep working on its own until a goal is met — a self-running loop instead of write→wait→review→re-prompt. Helps decide if a loop is even worth building, picks manual vs automatic and open vs closed, distinguishes /goal vs /loop vs routines (/schedule), and wires up a CLOSED loop with a real verification gate (Stop hook running tests, or an LLM-judge + rubric when output isn't testable) plus a turn/budget ceiling so it never spins forever. Triggers on "loop", "döngü", "loop engineering", "auto mode", "run until tests pass", "self-running / autonomous agent", "/goal", "Stop hook", "ralph wiggum".
handoff
Compact the current conversation into a handoff document for another agent to pick up.
claude-handoff
Hand the current conversation off to a fresh background agent that picks up the work immediately.