octobot/skills/engineering/develop-r/analysis-loop.md
Lukasz Boryn 277ec801de refactor(skills): convert cross-skill links to /skill-name references
- implements blueprint 028
- rewrite 290 cross-skill markdown links across 59 files to unchecked
  backtick-wrapped /skill-name prose (R-023), so skill content resolves
  under any install depth — symlinked, flat-copied, or whole-tree
- add skills/productivity/conjure-a-skill/scripts/skill-ref-check —
  validates every /skill-name mention resolves to a real skill folder,
  the replacement coverage link-check lost on these references
- add scripts/link-skills.sh, mirroring mattpocock/skills, symlinking
  every skill into ~/.claude/skills and ~/.agents/skills
- docs(readme): point Install at link-skills.sh and npx skills@latest
  add for non-Claude-Code harnesses
2026-09-23 11:03:25 +02:00

814 B

develop-r — R-analysis loop

Detected by the presence of _targets.R at the repo root. Apply /style-r at every implementation step.

1. Implement

  • Functions in R/functions/ as box modules.
  • Pipeline steps in R/pipeline/ as box modules.
  • All code under /style-r.

2. Lint & style

just lint
just style-check    # fix with: just style

3. Test (TDD-BDD)

Hand to /bdd, which loops red→green→refactor one scenario at a time — never write all the tests upfront (see /bdd). Target R/functions/. Then:

just test

4. Pipeline

just run            # targets::tar_make()

Verify outputs in data/processed/.

5. Render (if applicable)

just render         # quarto render reports/

6. Commit

Hand to /commit-atomic-jj.