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

57 lines
1.9 KiB
Markdown

---
name: develop-r
description: Orchestrate the full R dev loop; auto-detects package (DESCRIPTION) vs analysis (_targets.R).
disable-model-invocation: true
---
# develop-r
Workflow for R repos. Detects project type from filesystem markers:
| Marker | Type | Loop file |
|---|---|---|
| `DESCRIPTION` only | R package | [`package-loop.md`](package-loop.md) |
| `_targets.R` only | R analysis | [`analysis-loop.md`](analysis-loop.md) |
| both | ambiguous | ask the user |
| neither | refuse | suggest `/build-r-package` or `/build-r-analysis` |
Apply `/style-r` at every implementation step.
## When NOT to use
- Single-task work: bug fix → `/diagnose` + `/bdd` directly.
- Writing tests → `/bdd` only.
- Reviewing R style of one file → `/style-r` only.
- Committing → `/commit-atomic-jj` only.
## Phase 0 — Frame (both loops)
Karpathy guardrails — state assumptions explicitly, name the simpler
approach you're rejecting, surface tradeoffs. Push back when warranted; if
something is unclear, stop and ask. See
[`../../../CLAUDE.md`](../../../CLAUDE.md) for the full version.
If the task is ambiguous, hand off to
`/grill-me` (no codebase needed)
or `/grill-with-docs` (anchors to
`CONTEXT.md`) before entering the loop.
## Then enter the appropriate loop
- `DESCRIPTION` detected → [`package-loop.md`](package-loop.md)
(document → lint → style → test → check → commit)
- `_targets.R` detected → [`analysis-loop.md`](analysis-loop.md)
(lint → style → test → run pipeline → render → commit)
## See also
- `/bdd` and its R siblings
(`tests-r.md`, `interface-design-r.md`, `mocking-r.md`,
`deep-modules-r.md`, `refactoring-r.md`, `anti-patterns.md`).
- `/diagnose` — six-phase bug hunt
with R-flavored siblings.
- `/style-r` — coding standards.
- `/commit-atomic-jj`.
- `/build-r-package`
and
`/build-r-analysis`
— set up the projects this workflow assumes.