implement-with-feedback
npx skills add https://github.com/xalior/agent-skills --skill implement-with-feedback
Agent 安装分布
Skill 文档
Implement with Feedback
A disciplined, git-centric implementation workflow. Remote git logs are the primary way others monitor your work.
Workflow
Phase 1: Pre-flight Checks
-
Verify clean checkout. Run
git status. If there are ANY uncommitted changes (staged, unstaged, or untracked non-ignored files), STOP and tell the user:“Working tree is not clean. Please commit or stash your changes before starting.” Do NOT proceed until the checkout is clean.
-
Verify we are on main/master. If not, warn the user and ask whether to continue from the current branch or switch to main first.
-
Pull latest. Run
git pullto ensure we’re up to date.
Phase 2: Branch Creation
-
Determine branch type from arguments or context. Valid prefixes:
feature/â new functionalitybugfix/â fixing a defectspike/â exploratory / research / prototyperefactor/â restructuring without behavior changedocs/â documentation onlychore/â maintenance, deps, tooling
-
Create and push the branch.
git checkout -b <branch-type>/<short-description>If
$ARGUMENTSis provided, use it as the branch name directly (e.g./implement-with-feedback feature/add-auth). Otherwise, ask the user what kind of work this is and derive a branch name.
Phase 3: WIP Progress File
-
Create
docs/plans/plan_<branch-name>_implimentation.md(replacing/with-in the filename). This file tracks the plan, progress, decisions, and blockers in real time. -
Initial content:
# WIP: <Branch Name> **Branch:** `<branch-type>/<description>` **Started:** <date> **Status:** In Progress ## Plan <If a plan file was provided as $1, summarize it here and link to it. Otherwise, work with the user to define the plan.> ### Tasks - [ ] Task 1 - [ ] Task 2 - ... ## Progress Log ### <timestamp> - Started work. Branch created from `main` at `<commit-sha>`. ## Decisions & Notes <Record architectural decisions, trade-offs, and anything useful for reviewers.> ## Blockers <None currently.> ## Commits <githash> - Oneline changelog/commit note -
Commit the WIP file immediately:
git add docs/wip/<filename>.md git commit -m "wip: start <branch-name> â init progress tracker"
Phase 4: Implementation Loop
For each piece of work:
-
Update the WIP file FIRST â mark the current task
[x]or add a progress log entry with a timestamp. -
Do the work â write code, update docs, run tests, etc.
-
Commit early, commit often. Each commit should be a logical, small unit of work. Use descriptive commit messages:
feat: add auth middleware for API routesfix: handle null response from scannerwip: partial implementation of results tabledocs: update scanner authoring guidetest: add normalizer tests for ffufrefactor: extract fingerprint logic to shared util
-
Update the WIP file with progress, decisions, or blockers after each meaningful step. Commit and push the WIP update too.
-
If blocked or unsure, update the WIP Blockers section, commit, then ask the user.
Phase 5: Completion
-
Update the WIP file:
- Set
**Status:**toComplete - Ensure all tasks are checked off
- Add a final progress log entry
- Set
-
Final commit.
-
Inform the user the branch is ready for review / PR creation. Offer to merge, push, or create the PR.
Rules
- NEVER push. We’re in a local only workflow.
- NEVER amend pushed commits. Make a new commit instead.
- Commit messages must be meaningful. No “wip” without context â use “wip: partial auth middleware” not just “wip”.
- The WIP file is a living document. Update it continuously. It should tell the full story of the implementation to anyone reading the git log.
- Keep commits small and focused. One logical change per commit. If you touch 5 files for 3 different reasons, that’s 3 commits.