Preface¶
Medium-to-large features often drift off track before any code is written—traversing verbal requirements, scattered documents, and a “just start coding and see” approach. Acceptance criteria become unclear, multi-module changes lack unified design, and Agents tend to modify files directly without confirmation. The following introduces the Spec Workflow for Requirements and Design (@tencent-adm/spec-workflow-guide) published by the Tencent CloudBase team on SkillHub. By using a standard SKILL.md to embed “whether to follow a specification process, how to execute it, and what documents to produce” into the Agent context, it ensures verifiable requirements, designs, and task lists exist before implementation begins.
What is this¶
Spec Workflow is an Agent Skill representing the standard software development process of Tencent CloudBase. The current version is 2.36.0. Its SkillHub coordinates are @tencent-adm/spec-workflow-guide. It is sourced from “enterprise”, categorized under “dev-programming”, and published by the Tencent CloudBase team. The Skill tags indicate requires_api_key=false, meaning no additional API Key is required after installation.
One-sentence positioning: Before implementing code, it guides the Agent to produce three types of documents—Requirements, Technical Design, and Task Decomposition—in stages, while unifying EARS-style acceptance criteria. It is suitable for medium-to-large features and multi-module integration; however, for small-scale changes with clearly defined acceptance criteria, the full process does not need to be strictly applied.
Core Features¶
The Skill body (SKILL.md) breaks down capabilities into two parts: “When to enable” and the “Four-stage workflow”. Below is a list of only the verified content.
Activation Contract¶
Scenarios where this Skill should be prioritized:
- New features, multi-step product changes, cross-module integration, or architecture/design tasks
- Unclear acceptance criteria that need to be defined clearly before writing code
- Changes involving multiple files, user flows, databases, or UI that require confirmation in stages
Scenarios where it is not necessary: Small bug fixes with a clear scope, single-file document updates, simple configuration changes, or minor refactors where the user has provided precise implementation instructions.
Common Misconceptions (emphasized in the original Skill text): Writing code without defined acceptance criteria; lack of user confirmation between requirements, design, and tasks; vague task descriptions that do not correspond to user-visible results; treating UI as a purely technical implementation without clarifying design intent.
Four-Stage Workflow¶
- Requirements
Define the problem and scope, user stories, business rules, and constraints inspecs/<spec_name>/requirements.md, and write acceptance criteria using EARS. The sentence template is:
While <optional precondition>, when <optional trigger>, the <system name> shall <system response>
-
Design
Producespecs/<spec_name>/design.md: architecture and module boundaries, technology selection and trade-offs. Supplement data models, APIs, security, and testing strategies as needed; use Mermaid diagrams only when helpful for understanding. -
Tasks
Producespecs/<spec_name>/tasks.md: Break the design down into executable, reviewable tasks linked to the corresponding requirements; update task status during execution. Task items should use Markdown lists with checkboxes and be tagged with_Requirement: N. -
Execution
Only begin modifying code after the user confirms the task plan; maintain task status and traceability of “Changes → Tasks → Requirements” during execution.
User confirmation is required between stages; the Agent should ask follow-up questions when requirements are ambiguous rather than guessing core product behavior. If frontend pages or visual design are involved, the Skill requires reading the sibling Skill ../ui-design/SKILL.md in the same directory first; for complex data model scenarios, refer to ../data-model-creation/SKILL.md (requires installing the CloudBase plugin or corresponding Skill; the Skill explicitly prohibits fetching remote skill documents via HTTP).
Output Conventions¶
| File | Content |
|---|---|
requirements.md |
Problem, scope, user stories, EARS acceptance criteria |
design.md |
Architecture, technical solutions, data/API/security/testing descriptions |
tasks.md |
Executable implementation checklist linked to requirement numbers |
Installation and Activation¶
The Skill is based on the universal SKILL.md format with alwaysApply set to false. It needs to be installed in a skills directory loadable by the Agent and triggered by the Agent based on the description for appropriate tasks.
1. Install SkillHub CLI (if not already installed)¶
command -v skillhub && skillhub --version
If not installed, you can execute (CLI only):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
2. Install this Skill¶
When installing, you must use --dir to point to the current Agent’s skills directory; otherwise, it may default to ./skills/ and not be recognized. The installation prompt given on the official Skill page is: Refer to the SkillHub Installation Documentation to install @tencent-adm/spec-workflow-guide.
CLI Installation Command (namespace and slug are subject to SkillHub search results):
skillhub install spec-workflow-guide --namespace tencent-adm --dir <your skills directory>
Common path examples (from SkillHub installation documentation):
- Cursor:
~/.cursor/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project - Claude Code:
~/.claude/skills/
You can also send the prompt below to the AI to let it complete the installation according to the installation documentation:
Please install `@tencent-adm/spec-workflow-guide` according to https://skillhub.cn/install/skillhub.md.
After installation, restart or refresh the Agent as required by your client to enable the new Skill.
Typical Usage¶
The following examples come from the Skill body and can be reproduced directly in the repository directory structure.
1. Determine whether to follow the full process
User proposes “Build a booking module with a form, involving frontend pages, backend APIs, and database”—this falls under the scenario of multi-module integration requiring clarification of acceptance criteria. The Spec Workflow should be followed first, rather than modifying code directly.
2. Requirements Phase
Create specs/booking/requirements.md, where the acceptance criteria might be written as:
When the user submits the form, the booking system shall validate required fields before creating the record.
3. Design and Tasks
After user confirms the requirements, write specs/booking/design.md, then generate tasks.md, for example:
# Implementation Plan
- [ ] 1. Task title
- Specific work item
- Another concrete step
- _Requirement: 1
4. Execution
After the user confirms the task list, implement item by item according to the tasks, check off completion status, and maintain the correspondence with requirement numbers.
Applicable Scenarios and Notes¶
Who is it for?
- Teams using CloudBase or similar full-stack stacks who need Agent assistance for medium-to-large features
- Developers who want to solidify “Requirements—Design—Tasks—Implementation” into the repository’s
specs/directory for easy review and traceability - Projects with multi-module integration, frequent architecture discussions, and acceptance boundaries that often become ambiguous
Limitations and Notes
- For small changes with very clear goals, the Skill itself suggests skipping the full process to avoid excessive documentation burden.
- The complete CloudBase experience depends on sibling Skills (such as
ui-design,data-model-creation); if only this Skill is installed, guidance involving UI/data modeling may not be parsed locally, and plugins need to be installed according to the Skill description. - SkillHub Page Statistics (as of data capture): Rating 100000, Downloads ~22743; please refer to the SkillHub Skill Page. Official introduction address: https://api.skillhub.cn/tencent-adm/spec-workflow-guide (refer to the SkillHub site when accessing Skill details in a browser).
Conclusion¶
Spec Workflow integrates the standardized development steps agreed upon by the CloudBase team into an Agent Skill: first determine the scale, then produce documents in stages (Requirements, Design, Tasks) with confirmation, and finally enter implementation. If you are working on medium-to-large features with Cursor, Codex, or Claude Code, you can install @tencent-adm/spec-workflow-guide using the command above and check the version and description on SkillHub: https://www.skillhub.cn/skills/tencent-adm/spec-workflow-guide.