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.
This commit is contained in:
2026-06-15 04:31:59 +02:00
parent 2ba1d2f7b6
commit 2d25ad3a10
2 changed files with 24 additions and 3 deletions
+21
View File
@@ -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
```
+3 -3
View File
@@ -25,9 +25,9 @@ description: Test-driven development with Unity and CMock. Use when adding new
Every change to `<src>/` 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.