Skip to content

running-in-ci: unwrap SKILL.md prose to match what it teaches - #339

Merged
max-sixty merged 1 commit into
mainfrom
wrapping
Apr 27, 2026
Merged

max-sixty merged 1 commit into
mainfrom
wrapping

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

The skill tells Claude to write GitHub-bound prose as single-line paragraphs, but the file itself was wrapped at ~100 chars — the surrounding context taught the opposite of the rule, which is one explanation for why bot PR/issue bodies kept shipping with hard wraps even after the explicit rule landed in #321 / #338.

Mechanical unwrap with a small script (.tmp/unwrap_md.py, gitignored): consecutive prose lines joined into single lines, list items joined per-bullet. Fenced code blocks, HTML wrapper tags (<example>, <bad>, <good>), frontmatter, and the bad/good example contents inside the line-wrap section are preserved exactly — the bad example is meant to demonstrate wrapping. 693 → 528 lines, no semantic changes. pre-commit clean.

Follow-up to #338. If wrapped bot bodies still appear over the next handful of PRs, next escalation is a PostToolUse hook with flowmark --width 0 (see #338 discussion).

This was written by Claude Code on behalf of Maximilian.

The skill instructs Claude to write GitHub-bound prose as single-line paragraphs, but the file itself was wrapped at ~100 chars — the surrounding context taught the opposite of the rule. Joined consecutive prose lines into single lines (paragraphs and list items); fenced code blocks, HTML wrapper tags, frontmatter, and the bad/good example contents are preserved exactly. 693 → 528 lines, no semantic changes.

Follow-up to #338.

Co-Authored-By: Claude <[email protected]>
@max-sixty
max-sixty merged commit 1057d61 into main Apr 27, 2026
5 checks passed
@max-sixty
max-sixty deleted the wrapping branch April 27, 2026 15:36
max-sixty added a commit that referenced this pull request Apr 27, 2026
Follow-up to #339, which unwrapped `running-in-ci/SKILL.md`. This batch
covers the other bundled skills so the lesson ("write GitHub-bound prose
as single-line paragraphs") doesn't sit alongside contradicting context
across the rest of the plugin.

Same mechanical unwrap script as #339: consecutive prose lines joined
into single lines, list items joined per-bullet. Fenced code blocks,
HTML wrapper tags, frontmatter, and bad/good example contents are
preserved exactly. The 10 files cover 8 SKILL.md plus the 2 canonical
shared files; the symlinks under `running-in-ci/`, `notifications/`, and
both `review-*/` directories continue to resolve to the now-unwrapped
canonical files. Net −353 lines, no semantic changes.

> _This was written by Claude Code on behalf of Maximilian._

Co-authored-by: Claude <[email protected]>
max-sixty pushed a commit that referenced this pull request Apr 27, 2026
…rns (#343)

## Summary

Adds a "Two specific failure modes" subsection under the existing
"User-facing comments require source evidence" guidance in the
`running-in-ci` bundled skill.

The two failure modes both fired in a single bot comment on
[worktrunk#2410](max-sixty/worktrunk#2410 (comment)):

1. A link to `https://www.nushell.sh/book/escaping.html` that returns
`HTTP/2 404` — a copy-pasted plausible-looking URL that was never
fetched.
2. The phrase "`git commit --message="…"` likely works because the `=`
form is parsed differently" — an unverified guess dressed up as
analysis. The bot had nushell available via a release tarball but did
not install or run it.

The existing "Grounded Analysis" / "User-facing comments require source
evidence" / "Verifying external-tool behavior" sections covered the
principle (*"It is always better to take longer and produce a correct
response than to respond quickly with fabricated details"*) but did not
produce the right behaviour for these two specific shapes. The new
subsection adds concrete, actionable rules:

- Run `curl -sI <url> | head -1` against any URL before pasting it;
confirm `200`.
- Treat "likely", "probably", "should", and "I think" in user-facing
prose as a stop-sign — either verify and replace the hedge with the
answer, or hedge explicitly ("I haven't tested this") and don't dress up
the guess as analysis.

Wording is taken from the proposal in the issue, reformatted to
one-paragraph-per-line to match the file's wrapping convention (per
#339).

Closes #337.

## Test plan

- [ ] Maintainer reviews the framing.
- [ ] No code changes — `pre-commit` should pass cleanly on the
prose-only diff.

## Run reference

- Triggered by a maintainer comment on #337:
#337 (comment)

Co-authored-by: tend-agent <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants