360 Secure SkillHub
360 安全技能中心

Senior Dev

面向开发任务的 12 步工作流:在 ~/Projects/<project> 中维护 TODO.md 与 CHANGELOG.md,用 git 暂存并校验改动,通过 Graphite(gt create/submit/modify)和 gh 创建分支、Issue 与 PR,处理评审反馈,合并后拉取主干并用 vl 检查 Vercel 部署,最后汇报 PR 与部署状态。

michaelmonetized
michaelmonetized
热度 97.22
最近更新 2026-05-11 16:25:06
分类:开发依赖:代码执行 / 读写文件 / 第三方 API应用场景:工作流 / 任务管理 / DevOps / 代码审查

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add senior-dev
Metadata
name
senior-dev
description
Production development workflow with TODO tracking, Graphite PRs, GitHub issues, Vercel deploy checks, and SMS notifications. Use when starting a new task, fixing bugs, implementing features, or any development work that needs tracked progress and code review.

Senior Dev

A 12-step production workflow that keeps context across compaction.

Workflow

1. Setup

cd ~/Projects/<project>

Create or append to TODO.md:

## [Date] Task: <description>
- [ ] Subtask 1
- [ ] Subtask 2

2-3. Execute & Track

Complete work, check off TODO items as done.

Update CHANGELOG.md (create if missing):

## [Unreleased]
### Added/Changed/Fixed
- Description of change

4-5. Stage & Verify

git add -A
git diff --staged  # Verify changes match request

6-7. Create PR

Branch naming: (issue|feature|fix)/<short-description>

gt create "feature/add-dark-mode" -m "Add dark mode toggle"
gt submit

If this fixes an issue, create the issue first:

gh issue create --title "Bug: description" --body "Details..."
# Note the issue number
gt create "issue/42-fix-login-bug" -m "Fix login bug (#42)"
gt submit

8-9. Review Cycle

Wait for reviewer comments. Address feedback:

# Make fixes
git add -A
gt modify -m "Address review feedback"
gt submit

10-11. Post-Merge Deploy Check

After PR merges:

git checkout main && git pull

For Vercel projects:

# Watch deployment (polls until Ready/Error, auto-fetches logs on failure)
vl

If build fails → gh issue create with error logs, restart from step 6.

12. Report & Cleanup

Report completion format:

✅ [Project] Task completed PR: Deploy: success/failed

Quick Reference

Step Command Purpose
Stage git add -A Stage all changes
Verify git diff --staged Review before commit
Branch gt create "type/name" -m "msg" Create branch + commit
PR gt submit Push + create/update PR
Issue gh issue create Track bugs/tasks
Deploy vl Watch build, auto-fetch logs on error

Branch Prefixes

  • feature/ — New functionality
  • fix/ — Bug fixes
  • issue/ — Linked to GitHub issue (include #number)
  • chore/ — Maintenance, deps, config

Files to Maintain

  • TODO.md — Active task tracking (survives context compaction)
  • CHANGELOG.md — Version history
  • PLAN.md — Architecture decisions (optional)

Tools Required

  • gt — Graphite CLI for stacked PRs
  • gh — GitHub CLI for issues
  • vl — Vercel deploy watcher (or vercel CLI)