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