One-Stop Code Change Workflow
Paste the following prompt into your AI chat to install this skill:
Please install @user_d1aee17b/dev-flow according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem
Code changes often stall because requirements are vague, review happens after implementation, test coverage misses edge cases, and rollback context is lost. A single agent that codes and self-evaluates can easily miss affected files, failure paths, and missing test cases.
How It Works
dev-flow splits code changes into requirement confirmation, coding, checking, browser testing, and result output, and delegates critical judgments to separate sub-agents: Questioning Agent probes requirements and gaps, while Check Agent starts before coding and validates both code correctness and test plan completeness.
- After user confirmation, the workflow must continue without pausing.
- Check Agent must start before coding and receive the modified-file list via SendMessage.
- Every modification needs a corresponding test case. If agent-browser is available, browser testing is mandatory; if unavailable, the workflow must emit manual-test guidance and request confirmation.
- A test report is required, covering passed cases, missing cases, exception paths, and rollback notes.
Boundaries
It fits small-to-medium changes that need strict guardrails, especially frontend/backend features, UI interactions, and API work. It depends on AskUserQuestion, SendMessage, and agent-browser; without browser testing or user confirmation, it can only follow a fallback path. It does not replace architecture review, security audits, or CI quality gates.
Use Cases
- Before frontend changes, use a sub-agent to probe interaction edge cases before coding.
- After backend API edits, let the Check Agent validate success, failure, and error paths.
- When agent-browser is available, run browser tests and output the case and result report.
- During rollback, reuse the same Check Agent to continue validation and record rollback notes.
Best For
- Frontend engineers who want to confirm interaction gaps before making testable changes.
- Backend engineers who expect failure paths and validation logic to be explicitly checked.
- Developers using agent workflows for code review and want the check agent involved before coding.
- Engineering leads who need a test report attached to every code change.
Related Skills
A one-shot coding agent built on Claude Code CLI that runs non-interactively, supports a specified workdir, and can be monitored in the foreground or background.
Preview and confirm file sorting by extension, with recursive cleanup, ignore rules, and transactional rollback.
An engineering assistant for static HTML/CSS/JS pages, design-token extraction, IE8-compatible review, and structured delivery.
An engineering workflow for requirement analysis, scenario modeling, risk planning, quality gates, testing, and knowledge capture, with lightweight, standard, and full modes.