- 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
51 lines
936 B
Markdown
51 lines
936 B
Markdown
# develop-r — R-package loop
|
|
|
|
Detected by the presence of `DESCRIPTION` at the repo root. Apply
|
|
`/style-r` at every implementation step.
|
|
|
|
## 1. Implement
|
|
|
|
- Code in `R/`, following `/style-r` (box, native
|
|
pipe, `\(x)`, snake_case).
|
|
- Add/update roxygen2 docs on every exported function.
|
|
|
|
## 2. Document
|
|
|
|
```bash
|
|
just document # devtools::document()
|
|
```
|
|
|
|
Fix all roxygen2 warnings.
|
|
|
|
## 3. Lint & style
|
|
|
|
```bash
|
|
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`). Test
|
|
prologue follows `/bdd`. Run:
|
|
|
|
```bash
|
|
just test # devtools::test()
|
|
```
|
|
|
|
## 5. Full check
|
|
|
|
```bash
|
|
just check # devtools::check()
|
|
```
|
|
|
|
All notes, warnings, and errors resolved before commit.
|
|
|
|
## 6. Commit
|
|
|
|
Hand to `/commit-atomic-jj`.
|