summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.changeset/implement-commit-before-review.md5
-rw-r--r--skills/engineering/implement/SKILL.md4
2 files changed, 7 insertions, 2 deletions
diff --git a/.changeset/implement-commit-before-review.md b/.changeset/implement-commit-before-review.md
new file mode 100644
index 0000000..3a0e8c6
--- /dev/null
+++ b/.changeset/implement-commit-before-review.md
@@ -0,0 +1,5 @@
+---
+"mattpocock-skills": patch
+---
+
+`implement` now commits before calling `code-review`, which only diffs committed work, and passes the commit it started from as the fixed point. Review fixes go in a commit on top.
diff --git a/skills/engineering/implement/SKILL.md b/skills/engineering/implement/SKILL.md
index bd49e47..d7dcfc1 100644
--- a/skills/engineering/implement/SKILL.md
+++ b/skills/engineering/implement/SKILL.md
@@ -12,6 +12,6 @@ Call the Skill tool with "tdd" where possible, at pre-agreed seams.
Run typechecking regularly, single test files regularly, and the full test suite once at the end.
-Once done, call the Skill tool with "code-review" to review the work.
+Once done, commit your work to the current branch.
-Commit your work to the current branch.
+Then call the Skill tool with "code-review" to review the work, using the commit you started from as the fixed point. Commit any fixes on top.