By lvh149
Bộ skill tài liệu hóa theo pipeline: spec 2 tầng (spec-writer) → thiết kế CSDL (db-designer) → thiết kế API (api-designer), dùng chung index truy vết F-NNN ↔ màn ↔ bảng ↔ endpoint. Dùng làm đầu vào cho hệ tạo test spec và plan/code. Pipeline: hỏi/đáp → spec → DB → API → plan → code, dừng được ở bất kỳ stage.
Use when designing or updating a REST API from existing requirements/screen + database specs (docs/spec/) — sinh tài liệu Thiết kế API 2 tầng (chung + theo resource) với request/response JSON, validation, error code, và cập nhật index truy vết để map API-ID ↔ F-NNN ↔ màn ↔ bảng. Là Stage 4 (API) trong pipeline spec-writer.
Use when designing or updating a database schema from an existing requirements/screen spec (docs/spec/) — sinh tài liệu Thiết kế Cơ sở dữ liệu (table definition + constraint/index + ER diagram Mermaid + phân loại dữ liệu) và cập nhật index truy vết để map F-NNN ↔ bảng ↔ NFR. Là Stage 3 (DB) trong pipeline spec-writer.
Use when creating, updating, or maintaining structured requirement/screen specification documents for a software project — especially when the spec will feed an external test-spec generation system AND/OR be used to plan and code. Produces a two-tier spec (master requirements + per-screen detail) with a traceability index, in the style of a Japanese/Vietnamese requirements-definition + screen-spec workflow. Orchestrates the pipeline Q&A → spec → plan → code, and can stop at the spec stage. Trigger phrases: "tạo spec", "tạo tài liệu yêu cầu", "spec màn hình", "update spec", "requirements document", "screen spec", "đặc tả".
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Bộ plugin Claude Code sinh tài liệu thiết kế phần mềm có truy vết — từ yêu cầu nghiệp vụ đến cơ sở dữ liệu và API, qua hỏi-đáp tự nhiên.
Ba skill phối hợp theo pipeline hỏi/đáp → spec → DB → API → plan → code (dừng được ở bất kỳ bước nào), cùng chia sẻ một index truy vết liên kết yêu cầu ↔ màn hình ↔ bảng dữ liệu ↔ API.
Yêu cầu: đã cài Claude Code. Chạy lần lượt 2 lệnh trong Claude Code.
Bước 1 — thêm marketplace:
/plugin marketplace add https://github.com/lvh149/create-document-skill.git
Bước 2 — cài plugin:
/plugin install spec-writer@spec-writer-marketplace
Sau khi cài, các skill có hiệu lực trên mọi dự án. Bắt đầu bằng cách gõ /spec-writer.
| Skill | Đầu ra | Phạm vi sở hữu |
|---|---|---|
| spec-writer | docs/spec/01_requirements.md + docs/spec/screens/F-NNN_*.md | Yêu cầu nghiệp vụ, user story, acceptance criteria, NFR đo được (9 nhóm), RBAC; đặc tả chi tiết từng màn hình (field, validation, flow, message, state transition, responsive/a11y); thiết kế trực quan bằng Claude design |
| db-designer | docs/spec/database/ | Định nghĩa bảng/cột/kiểu dữ liệu, constraint, index, relation, sơ đồ ER (Mermaid), phân loại dữ liệu |
| api-designer | docs/spec/api/ | Thiết kế API 2 tầng (chung + theo resource): request/response JSON, validation khớp ràng buộc DB, error code, route mapping |
Tất cả cập nhật chung docs/spec/00_index.md — nguồn sự thật map F-NNN ↔ màn hình ↔ NFR ↔ bảng ↔ API-ID:
Yêu cầu Màn hình Cơ sở dữ liệu API
F-001 → F-001 → Account → API-001
(spec tổng) (spec con) (bảng) (endpoint)
Nhờ liên kết này, tài liệu dùng trực tiếp để sinh test spec, lập plan và viết code; khi yêu cầu thay đổi, truy ngược được chính xác những tài liệu bị ảnh hưởng.
Pipeline gồm các stage độc lập, dừng được ở bất kỳ stage nào:
| Stage | Việc | Skill |
|---|---|---|
| 1 | Khai thác yêu cầu (hỏi-đáp) | superpowers:brainstorming |
| 2 | Spec 2 tầng (yêu cầu + màn hình) | spec-writer |
| 3 | Thiết kế cơ sở dữ liệu | db-designer |
| 4 | Thiết kế API | api-designer |
| 4.5 | Chiến lược & test case từ spec (tùy chọn) | spec-writer · references/test-strategy.md |
| 5 | Lập kế hoạch triển khai | superpowers:writing-plans |
| 6 | Viết code | executing-plans |
Mỗi stage đọc đầu ra của stage trước, nên tài liệu nhất quán và không lặp lại giữa các tầng.
Plugin khai báo superpowers là dependency (từ marketplace chính thức claude-plugins-official), nên khi cài plugin này, Claude Code sẽ tự cài kèm superpowers — không cần thao tác thêm.
brainstorming; Stage 5 dùng writing-plans để lập plan.spec-writer, db-designer, api-designer) sinh tài liệu bằng template của riêng plugin. Nếu vì lý do nào đó superpowers bị tắt, spec-writer vẫn tự hỏi-đáp để ra docs/spec/ (cơ chế dự phòng).Tạo spec cho dự án/feature mới (hỏi-đáp → sinh docs/spec/):
/spec-writer
Thiết kế cơ sở dữ liệu từ spec (sinh docs/spec/database/ + sơ đồ ER):
/db-designer
Thiết kế API từ spec và DB (sinh docs/spec/api/):
/api-designer
Ngoài ra có thể gõ yêu cầu tự nhiên, ví dụ:
00_index.md, liệt kê các tài liệu bị ảnh hưởng (spec + DB + API) và sửa đồng bộ kèm changelog.Cập nhật lên phiên bản mới:
/plugin marketplace update spec-writer-marketplace
/plugin update spec-writer
Tắt plugin:
/plugin disable spec-writer@spec-writer-marketplace
Gỡ marketplace:
/plugin marketplace remove spec-writer-marketplace
.
├── .claude-plugin/
│ ├── plugin.json # manifest plugin
│ └── marketplace.json # manifest marketplace
└── skills/
├── spec-writer/ # Stage 2 — spec 2 tầng
│ ├── SKILL.md
│ └── references/ # 8 file: 5 template + design-prompt + cross-doc-checks + test-strategy
├── db-designer/ # Stage 3 — thiết kế CSDL
│ ├── SKILL.md
│ └── references/ # db-design, tech-context, db-rules
└── api-designer/ # Stage 4 — thiết kế API
├── SKILL.md
└── references/ # api-common, api-resource, api-rules
npx claudepluginhub lvh149/create-document-skill --plugin spec-writerComprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.
A growing collection of Claude-compatible academic workflow bundles. Covers scientific figures, manuscript writing and polishing, reviewer assessment, citation retrieval, data availability, paper reading, literature search, response letters, paper-to-PPTX conversion, and evidence-grounded Chinese invention patent drafting. Rules are organized as reusable skill folders with explicit workflows and quality checks.
Complete creative writing suite with 10 specialized agents covering the full writing process: research gathering, character development, story architecture, world-building, dialogue coaching, editing/review, outlining, content strategy, believability auditing, and prose style/voice analysis. Includes genre-specific guides, templates, and quality checklists.
Tools to maintain and improve CLAUDE.md files - audit quality, capture session learnings, and keep project memory current.
Develop, test, build, and deploy Godot 4.x games with Claude Code. Includes GdUnit4 testing, web/desktop exports, CI/CD pipelines, and deployment to Vercel/GitHub Pages/itch.io.
Upstash Context7 MCP server for up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your LLM context.