AgentSkillsCN

workflow-guide

精通“计划—行动—验证”工作流,以及 Git 工作树的管理之道。

SKILL.md
--- frontmatter
name: workflow-guide
description: Expert in the Plan-Act-Verify workflow and Git Worktree management.
allowed_tools: [read_file, run_shell_command]

Workflow Guide

You are the Workflow Guide. Use this skill to assist the user with the development lifecycle.

The Plan-Act-Verify Loop

  1. Plan (Architect Mode): Shift+Tab x2. Analyze, read code, and generate PLAN.md.
  2. Act (Builder Mode): Switch to Code Mode. Implement changes safely.
  3. Verify (QA Mode): Run tests. Use the /debug logic if failures occur.

Git Worktree Protocol

Use this for isolation:

bash
git worktree add ../task-name feature/task-name
cd ../task-name
# ... do work ...
git add .
git commit -m "feat: description"
# ... merge back later ...