feature-dev by notedit/happy-skills
npx skills add https://github.com/notedit/happy-skills --skill feature-dev你正在帮助开发者实现一个新功能。请遵循系统化的方法:深入理解代码库,识别并询问所有未明确的细节,设计优雅的架构,实现,彻底测试,然后进行审查。
开始时声明: "我正在使用 feature-dev 技能来实现这个功能。"
目标 :理解需要构建什么
初始请求:$ARGUMENTS
行动 :
目标 :从高层次和低层次理解相关的现有代码和模式
行动 :
并行启动 2-3 个代码探索智能体。每个智能体应:
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
示例智能体提示 :
* "查找类似于 [功能] 的功能,并全面追踪其实现"
* "为 [功能领域] 映射架构和抽象,全面追踪代码"
* "分析 [现有功能/领域] 的当前实现,全面追踪代码"
* "识别与 [功能] 相关的 UI 模式、测试方法或扩展点"
2. 智能体返回后,请阅读所有智能体识别的文件以建立深入理解
目标 :在设计之前填补空白并解决所有模糊之处
关键 :这是最重要的阶段之一。切勿跳过。
行动 :
如果用户说"你觉得怎么好就怎么做",请提供你的建议并获得明确的确认。
目标 :设计具有不同权衡的多种实现方案
行动 :
目标 :构建功能
未经用户批准,请勿开始
行动 :
目标 :确保全面的测试覆盖和所有测试通过
行动 :
生成测试 :并行启动 2 个具有不同侧重点的测试生成智能体:
每个智能体应分析新代码并提供:
* 包含完整实现代码的测试用例
* 优先级排名(关键/重要/锦上添花)
* 所需的模拟对象和夹具
2. 审查生成的测试 :
* 整合来自两个智能体的测试建议
* 优先处理必须实施的关键测试
* 向用户呈现测试计划以获得批准
3. 实施测试 :
* 按照项目约定编写已批准的测试用例
* 设置所需的模拟对象和测试夹具
* 确保测试组织良好且易于维护
4. 运行测试 :启动测试运行智能体以:
* 执行完整的测试套件(或相关子集)
* 分析任何失败并诊断根本原因
* 为失败的测试提供具体的修复方案
5. 修复和迭代 :
* 如果测试因实现错误而失败,则修复实现
* 如果测试因测试问题而失败,则修复测试
* 重新运行测试直到全部通过
* **在质量审查之前,请勿继续,直到所有测试通过**
6. 报告覆盖率 :总结实现的测试覆盖率和任何差距
目标 :确保代码简单、DRY、优雅、易于阅读且功能正确
行动 :
目标 :记录完成的工作
行动 :
每周安装量
178
仓库
GitHub 星标数
324
首次出现
2026年1月25日
安全审计
安装于
opencode156
codex155
gemini-cli150
cursor146
github-copilot144
claude-code130
You are helping a developer implement a new feature. Follow a systematic approach: understand the codebase deeply, identify and ask about all underspecified details, design elegant architectures, implement, test thoroughly, then review.
Announce at start: "I'm using the feature-dev skill to implement this feature."
Goal : Understand what needs to be built
Initial request: $ARGUMENTS
Actions :
Goal : Understand relevant existing code and patterns at both high and low levels
Actions :
Launch 2-3 code-explorer agents in parallel. Each agent should:
Example agent prompts :
* "Find features similar to [feature] and trace through their implementation comprehensively"
* "Map the architecture and abstractions for [feature area], tracing through the code comprehensively"
* "Analyze the current implementation of [existing feature/area], tracing through the code comprehensively"
* "Identify UI patterns, testing approaches, or extension points relevant to [feature]"
2. Once the agents return, please read all files identified by agents to build deep understanding
Goal : Fill in gaps and resolve all ambiguities before designing
CRITICAL : This is one of the most important phases. DO NOT SKIP.
Actions :
If the user says "whatever you think is best", provide your recommendation and get explicit confirmation.
Goal : Design multiple implementation approaches with different trade-offs
Actions :
Goal : Build the feature
DO NOT START WITHOUT USER APPROVAL
Actions :
Goal : Ensure comprehensive test coverage and all tests pass
Actions :
Generate Tests : Launch 2 test-generator agents in parallel with different focuses:
Each agent should analyze the new code and provide:
* Test cases with full implementation code
* Priority ranking (critical/important/nice-to-have)
* Required mocks and fixtures
2. Review Generated Tests :
* Consolidate test recommendations from both agents
* Prioritize critical tests that must be implemented
* Present test plan to user for approval
3. Implement Tests :
* Write the approved test cases following project conventions
* Set up required mocks and test fixtures
* Ensure tests are well-organized and maintainable
4. Run Tests : Launch test-runner agent to:
* Execute the full test suite (or relevant subset)
* Analyze any failures with root cause diagnosis
* Provide specific fixes for failing tests
5. Fix and Iterate :
* If tests fail due to implementation bugs, fix the implementation
* If tests fail due to test issues, fix the tests
* Re-run tests until all pass
* **Do not proceed to Quality Review until all tests pass**
6. Report Coverage : Summarize test coverage achieved and any gaps
Goal : Ensure code is simple, DRY, elegant, easy to read, and functionally correct
Actions :
Goal : Document what was accomplished
Actions :
Weekly Installs
178
Repository
GitHub Stars
324
First Seen
Jan 25, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode156
codex155
gemini-cli150
cursor146
github-copilot144
claude-code130
agent-browser 浏览器自动化工具 - Vercel Labs 命令行网页操作与测试
150,000 周安装