agentleFS
RainLibRainLib/full-stack-skill/.claude/skills/dev-workflow/SKILL.md

dev-workflow

Skill0 starsChanged 8 months agoMITView on GitHub

全栈开发工作流编排器,按 8 阶段顺序执行:需求分析 → 技术选型 → 技术评审 → 程序设计 → 任务拆分 → 单元测试 → 代码开发 → 自我验证。

32 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use retrospective, brainstorm and 6 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • MicrosoftSkill

    retrospective

    Review how work went and improve the next round. USE WHEN asked for a retro, delays, or process lessons. DO NOT USE for code review or transcript replay.

    Also in 3 projects that use this

  • nicolasestremSkill

    brainstorm

    Structured idea generation and solution exploration with systematic analysis.

    Also in 4 projects that use this

  • GitHubSkill

    refactor

    Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.

    Also in 4 projects that use this

  • HashiCorpSkill

    changelog

    Add a `.changelog/<PR_NUMBER>.txt` entry for a GitHub Pull Request, commit, and push.

    Also in 3 projects that use this

  • VercelSkill

    deploy

    Deploy applications to Vercel. Use when the user says "deploy", "deploy to Vercel", "push to production", "deploy my app", or "go live".

    Also in 3 projects that use this

  • GoogleSkill

    improve-codebase-architecture

    Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.

    Also in 3 projects that use this

The file

Files
SKILL.md

全栈开发工作流

用户通过 /dev-workflow 启动。可选传入 iteration-id 恢复已有迭代。

启动流程

  1. 调用 history-manager skill 执行 init(确保 docs/history.json 存在)。
  2. 若传入 $ARGUMENTS 且为有效 iteration id,恢复该迭代;否则调用 history-manager 执行 new-iter 创建新迭代。
  3. 调用 history-manager 执行 status 读取当前迭代的 state,从该阶段继续执行。

阶段执行顺序

顺序阶段Skill执行方式说明
1需求分析requirements-analysisinline与用户对话,梳理功能点
2技术选型technology-selectioninline询问全栈/前端/后端,选定技术栈
3技术评审technical-reviewfork/Explore评审架构可行性、API 契约、风险项
4程序设计program-designinline设计模块分层、流程、工程目录
5任务拆分task-breakdownfork/Plan将设计拆为可管理的开发单元
6单元测试unit-testingfork按任务单元设计测试用例
7代码开发code-developmentinline按测试驱动实现代码
8自我验证self-verificationfork/Explore运行测试、集成验证、质量自检

执行规则

  • Inline 阶段必须与用户对话:需求分析、技术选型、程序设计、代码开发(阶段 1、2、4、7)均在主对话中执行。所有决策点以结构化选项呈现(编号选项,让用户选择而非自由输入),等待用户选择后再产出/推进,不得跳过用户直接生成结果。每轮不超过 3 个问题。
  • 状态恢复:每个阶段开始前,调用 history-manager 的 get-phase 和 check-file 检查该阶段是否已完成。若已完成则跳过,直接进入下一阶段。
  • 状态写入:每个阶段完成后,调用 history-manager 的 set-phase <phase> <phase_id> 更新 history。
  • 阶段 id 生成:使用 {阶段缩写}-001 格式(如 req-001、ts-001)。同一迭代内递增。
  • 自我验证失败:若 self-verification 报告有未通过项,回退到 code-development 修复后重新验证。
  • 产出位置:所有阶段文档写入 docs/{current_iteration_id}/。

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.