writing-specs
Skill này làm gì
Skill này cho AI một bộ quy tắc để viết tài liệu đặc tả dự án. Nó giữ tài liệu ngắn, đánh dấu rõ các điểm chưa xác nhận và tránh nội dung thừa. Phù hợp với nhóm giữ tài liệu thiết kế cùng với mã nguồn.
Khi nào nên dùng
- ✓Khi AI soạn hoặc sửa một tài liệu đặc tả về mục tiêu, kiến trúc hoặc module.
- ✓Khi một đặc tả có nội dung đoán mò cần được đánh dấu là chưa xác nhận.
- ✓Khi bạn muốn tài liệu dự án để người đọc sau có thể hiểu nhanh.
Liên kết skill
https://github.com/JetBrains/thinkrail/blob/main/packages/pi-thinkrail-workflow/skills/writing-specs/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Viết lại tài liệu kiến trúc của chúng tôi để nó ngắn hơn và chỉ gồm các quyết định đã được xác nhận.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill đặt các quy tắc: giữ tài liệu ngắn, chỉ đưa vào nội dung đã chốt, đánh dấu phần đoán trực tiếp trong văn bản, và giữ các bản nháp mới được đánh dấu cho đến khi con người xem lại.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Writing Specs
The workflow family's shared bar for every spec a workflow produces: short, honest, on-rails.
Process skills name this concept at the steps that draft or revise specs; what to draft and when
stays with the referencing skill. Graph mechanics — frontmatter, link kinds, the spec_* tools — are
the spec-graph skill's ground; this concept carries the quality bar the family holds on top of them,
and is where the family's rules for specs and the spec graph accrue.
Short
- Small enough to read in one sitting. Target signal, not completeness.
- Explain intent, not inventory: what the thing is for, what it owns, where its boundary runs — never a file listing or a restatement of the code.
Honest
- Only settled content appears. Never pad with
[TBD]or placeholder sections — a section that hasn't been settled simply doesn't exist yet. - Anything inferred rather than confirmed is marked unconfirmed, inline, where it stands.
- New and inferred specs are
status: draftuntil the user has reviewed them — the flip out ofdraftfollows the user's review, never the drafting agent's own judgment. A reviewed durable spec goesactive, neverdone: it stays in force and evolves with the project.
On-rails
- High-signal enough that a future agent (or human) lands on the decisions without re-deriving them.
- The spec is the only home for rationale: decisions, invariants, trade-offs, and bug post-mortems are recorded here, never as code comments — a rationale paragraph found in code is content to promote into the owning spec, leaving at most a one-line pointer where misediting would silently break something.
- Say each thing once: link by
idinstead of restating; the dependency edges between sibling modules live in the parent's spec, not in each leaf. - One spec per genuine boundary — not per directory, not per file.
The goal doc describes the product, not a plan
goal-and-requirements is the living record of what the product is and why: its goal, problem,
audience, capabilities, and non-goals, plus any durable principles.
- No versions, releases, phases, MVP/v1/v2 splits, or "later" lists. Sequencing is not a spec's job: an idea cut from scope goes back to the user to track wherever they plan work, and never into the doc.
- Capabilities state what the product does, or for a new project what its smallest useful first build will do.
- Non-goals hold only what is excluded by decision. Something neither listed nor excluded is open, not forbidden.
- It evolves with the product: a change that adds a capability or overturns a principle updates the goal doc in the same change.
Câu hỏi thường gặp
Một đặc tả có thể có mục giữ chỗ không?
Không. Các mục chưa chốt sẽ bị bỏ đi thay vì được lấp bằng nội dung giữ chỗ.
Ai quyết định khi nào một đặc tả là chính thức?
Người dùng, sau khi xem lại. AI không tự đánh dấu bản nháp của mình là đã được phê duyệt.
Nó có mô tả mã từng dòng không?
Không. Đặc tả giải thích ý định và ranh giới, không phải danh sách tệp.
Chi tiết
Mô tả gốc của tác giả
Use when a workflow step drafts or revises a spec artifact — a goal-and-requirements, an architecture, or a module SPEC — or when a workflow skill names it at such a step. The shared quality bar for specs — not a workflow, nothing to execute.
repo: JetBrains/thinkrail
Độ phổ biến
- Sao GitHub
- 7.1k
- Vị trí xếp hạng
- #13495
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
asking-user-questions
7.1kDạy agent của bạn cách hỏi bạn những câu hỏi rõ ràng theo từng vòng, với các lựa chọn trả lời tốt, cho đến khi các điểm còn mở được giải quyết.
brainstorming
7.1kGiúp agent của bạn bàn bạc với bạn về một tính năng, thay đổi hành vi hoặc sửa lỗi trước khi xây dựng, rồi ghi lại thiết kế đã thống nhất.
choosing-a-workflow
7.1kGiúp agent của bạn chọn đúng quy trình ThinkRail cho một dự án mới, một pull request hoặc bất kỳ thay đổi nào về những gì sản phẩm làm.
importing-a-codebase
7.1kDạy agent của bạn đọc một codebase đã có sẵn và soạn bộ đặc tả dự án đầu tiên, chỉ hỏi bạn khi mã nguồn chưa rõ.
Skill tương tự
obsidian-vault-maintainer
394kGiúp agent của bạn giữ gọn kho ghi nhớ kiểu Obsidian, với liên kết wiki hoạt động tốt, thuộc tính nhất quán và các phần tự tạo an toàn.
wiki-maintainer
394kGiúp agent của bạn duy trì wiki bộ nhớ OpenClaw với các trang có thể lặp lại, khối được quản lý an toàn và kiểm tra mâu thuẫn hoặc thiếu sót.
obsidian
394kCho phép agent của bạn đọc, tìm, tạo và sửa ghi chú, công việc, liên kết và thuộc tính trong Obsidian bằng dòng lệnh Obsidian chính thức.