From 2d25ad3a1081c1dfd9ede029166e06bb2ae30ff6 Mon Sep 17 00:00:00 2001 From: portersky <24420859+portersky@users.noreply.github.com> Date: Mon, 15 Jun 2026 04:31:59 +0200 Subject: [PATCH] style: apply AGENTS.md rules to .pi markdown files Replace em dashes with colons in tdd skill. Split combined\nshell commands in git skill into separate fenced blocks with\nlabels. --- .pi/skills/git/SKILL.md | 21 +++++++++++++++++++++ .pi/skills/tdd/SKILL.md | 6 +++--- 2 files changed, 24 insertions(+), 3 deletions(-) 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.