diff --git a/.pi/skills/git/SKILL.md b/.pi/skills/git/SKILL.md index 4df2c17..5b105e1 100644 --- a/.pi/skills/git/SKILL.md +++ b/.pi/skills/git/SKILL.md @@ -73,8 +73,15 @@ feat: add timer — it's fast # em dash not allowed ## Committing +Stage changes: + ```sh git add -A +``` + +Commit: + +```sh git commit -m "type: subject" ``` @@ -93,8 +100,15 @@ This project uses semantic versioning for template releases. ### Creating a tag +Create the tag: + ```sh git tag -a v0.1.0 -m "Release v0.1.0" +``` + +Push the tag: + +```sh git push origin v0.1.0 ``` @@ -124,8 +138,15 @@ git tag -l ### Deleting a tag +Delete the local tag: + ```sh git tag -d v0.1.0 +``` + +Remove the remote tag: + +```sh git push origin --delete v0.1.0 ``` diff --git a/.pi/skills/tdd/SKILL.md b/.pi/skills/tdd/SKILL.md index c78e0ce..1f4280b 100644 --- a/.pi/skills/tdd/SKILL.md +++ b/.pi/skills/tdd/SKILL.md @@ -25,9 +25,9 @@ description: Test-driven development with Unity and CMock. Use when adding new Every change to `/` follows this cycle: -1. **RED** — Write a failing test. Confirm it fails. -2. **GREEN** — Write the minimum code to pass. Confirm it passes. -3. **REFACTOR** — Clean up without changing behavior. Tests still pass. +1. **RED** : Write a failing test. Confirm it fails. +2. **GREEN** : Write the minimum code to pass. Confirm it passes. +3. **REFACTOR** : Clean up without changing behavior. Tests still pass. Never skip the RED step. If the test passes immediately, you wrote the test before the implementation was missing.