refactor(bdd): rename tdd-bdd skill to bdd (dir, triggers, 24 refs, symlink) feat(skills): add sieve (Real/Good/Minimal gate) and winnow (debloat audit) feat(skills): add background-work and review-angles from review-round lessons feat(bdd): fold rules 7/13/17 into interface-design + new SKILL sections docs(refute): extract shared elenchus doctrine, cite from review-angles/winnow/bdd docs(CLAUDE): reframe Simplicity First as the three sieves docs(README): list new skills, add Socratic-spine roadmap
47 lines
966 B
Markdown
47 lines
966 B
Markdown
# dev-r — R-analysis loop
|
|
|
|
Detected by the presence of `_targets.R` at the repo root. Apply
|
|
[`../r-style/SKILL.md`](../r-style/SKILL.md) at every implementation step.
|
|
|
|
## 1. Implement
|
|
|
|
- Functions in `R/functions/` as box modules.
|
|
- Pipeline steps in `R/pipeline/` as box modules.
|
|
- All code under [`/r-style`](../r-style/SKILL.md).
|
|
|
|
## 2. Lint & style
|
|
|
|
```bash
|
|
just lint
|
|
just style-check # fix with: just style
|
|
```
|
|
|
|
## 3. Test (TDD-BDD)
|
|
|
|
Hand to [`/bdd`](../bdd/SKILL.md), which loops red→green→refactor
|
|
**one scenario at a time** — never write all the tests upfront (see
|
|
[`../bdd/anti-patterns.md`](../bdd/anti-patterns.md)). Target
|
|
`R/functions/`. Then:
|
|
|
|
```bash
|
|
just test
|
|
```
|
|
|
|
## 4. Pipeline
|
|
|
|
```bash
|
|
just run # targets::tar_make()
|
|
```
|
|
|
|
Verify outputs in `data/processed/`.
|
|
|
|
## 5. Render (if applicable)
|
|
|
|
```bash
|
|
just render # quarto render reports/
|
|
```
|
|
|
|
## 6. Commit
|
|
|
|
Hand to [`/jj-atomic`](../../productivity/jj-atomic/SKILL.md).
|