octobot/skills/engineering/dev-r/package-loop.md
Lukasz Boryn aa3a797c5d feat(skills): coin nostos lessons into octobot, add Socratic sieve/winnow spine
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
2026-06-15 22:30:54 +02:00

1.1 KiB

dev-r — R-package loop

Detected by the presence of DESCRIPTION at the repo root. Apply ../r-style/SKILL.md at every implementation step.

1. Implement

  • Code in R/, following /r-style (box, native pipe, \(x), snake_case).
  • Add/update roxygen2 docs on every exported function.

2. Document

just document       # devtools::document()

Fix all roxygen2 warnings.

3. Lint & style

just lint           # lintr
just style-check    # styler dry run
# if style-check fails:
just style

4. Test (TDD-BDD)

Hand to /bdd, which loops red→green→refactor one scenario at a time — never write all the tests upfront (see ../bdd/anti-patterns.md). Test prologue follows ../bdd/tests-r.md. Run:

just test           # devtools::test()

5. Full check

just check          # devtools::check()

All notes, warnings, and errors resolved before commit.

6. Commit

Hand to /jj-atomic.