3 Commits

Author SHA1 Message Date
6cb19302ea fix(write-readme): read the R install path from evidence, not a default
REFERENCE.md told a README reader to run renv::restore() on the host.
For anything the R scaffolds produce that is wrong: renv::init() is the
user's post-scaffold step, and renv::restore() then runs inside the
image build (containerize-project/Dockerfile.r-*.tpl), so the reader's
entry point is 'just build-dev' then 'just up'. The rule is now stated
as evidence — justfile, Dockerfile, lockfile — with 'omit the section'
as the fallback, since a bare restore is right only for a repo with a
committed lockfile and no container.

build-r-package pointed at a README 'Out of scope' heading that does not
exist; it now names generic write-readme, which already covers
r-package, and blueprint 001 for the dedicated skill.

Blueprint 001 was sounded against the earlier, half-right reading and is
corrected with it: the install clause now says what the Dockerfiles do,
and the REFERENCE fix leaves its seam list and Out of scope, having
landed here instead.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-22 14:05:19 +02:00
7cd2e44799 fix(skills): harden write-readme from review findings
- fix(skills): guard against clobbering an existing README before overwrite
- fix(skills): require manifest fields present, not just marker file, before trusting ecosystem
- fix(skills): resolve detection rule contradiction (ask when several markers match)
- fix(skills): read project.requires-python instead of hardcoding python floor
- fix(skills): make usage fence language a placeholder, not hardcoded bash
2026-07-19 22:08:11 +02:00
5ea282ec03 feat(skills): add general write-readme skill
- feat(skills): detect ecosystem from marker files (py/r/node/rust/generic)
- feat(skills): add shared readme.template.md generalizing the py card layout
- docs(skills): add REFERENCE.md with per-ecosystem extraction snippets
- generalizes write-readme-py, which stays as the worked python example
2026-07-19 22:08:11 +02:00