Skip to content

chore(skills): unwrap markdown prose; trim project-CLAUDE duplication#4

Merged
sourcehawk merged 5 commits into
mainfrom
chore/unwrap-markdown-prose
May 29, 2026
Merged

chore(skills): unwrap markdown prose; trim project-CLAUDE duplication#4
sourcehawk merged 5 commits into
mainfrom
chore/unwrap-markdown-prose

Conversation

@sourcehawk
Copy link
Copy Markdown
Owner

Description

Two related markdown-hygiene cleanups for the plugin sources. No skill behaviour changes.

Changes

  • Unwrap markdown prose to one line per paragraph across the repo's markdown (skills, README, templates). These sources were hand-wrapped with no formatter enforcing it; the inserted breaks read as ragged short lines in every diff. Tables, fenced code, and frontmatter are byte-identical (verified). Excludes the four SKILL.md reworked in the naming-coherence PR, which carry their own unwrap there to avoid file overlap.
  • Trim the project-CLAUDE.md template's operational-rules block: drop the rules the skills already teach when invoked (TDD, verify-before-done, PR-title hygiene, spec/plan/state lifecycle), keeping only the commit-convention the PR skill reads from CLAUDE.md and the two git/GitHub safety rules. A rule duplicated between the template and a skill drifts — the state-dir move had to be edited in both.

Testing

The reflow was verified to leave tables, fenced code, headings, and YAML frontmatter byte-identical and to preserve heading counts and trailing newlines on every touched file. No executable code in this repo.

sourcehawk and others added 2 commits May 29, 2026 17:41
These sources were hand-wrapped at ~80-100 columns (no formatter enforces it —
the repo has none), which reads as ragged short lines in diffs and was never an
intentional convention. Join soft-wrapped prose and list-item continuations
into one line per paragraph; a genuine paragraph break stays a blank line.
Tables, fenced code, headings, and frontmatter are byte-identical (verified).

Covers every markdown file except the four SKILL.md being reworked in the
naming-coherence PR (which carries their unwrap, to keep zero file overlap).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The template's operational-rules block duplicated discipline the skills already
teach when invoked (TDD, verify-before-done, PR-title hygiene, the
spec/plan/state lifecycle). A rule stated in both the template and a skill
drifts — the state-dir move had to be edited in both places. Keep only what a
skill reads from here (the commit convention) or can't enforce alone (the two
git/GitHub safety rules); delete the rest and say why.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 29, 2026 16:01
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR performs markdown hygiene updates across the plugin docs/skills: unwrapping prose so each paragraph is a single line, and reducing duplicated operational-rules guidance in the project-CLAUDE.md template.

Changes:

  • Unwrap hand-wrapped markdown prose across several SKILL.md docs and the root README.md.
  • Simplify templates/project-CLAUDE.md “Operational rules” to avoid duplicating rules already taught by skills.
  • Update the planning feature-state template formatting (but the YAML frontmatter needs to remain valid YAML).

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
templates/project-CLAUDE.md Unwraps prose and trims the Operational rules block to reduce duplication with skills.
skills/testing-a-feature/SKILL.md Unwraps prose paragraphs and list items for cleaner diffs/formatting.
skills/planning-a-feature/templates/feature-state.md Reflows template content; frontmatter was collapsed into one line (must remain valid YAML).
skills/opening-a-pull-request/SKILL.md Unwraps prose and list formatting in the PR-opening workflow skill.
skills/developing-a-feature/SKILL.md Unwraps prose in the multi-PR/single-PR orchestration workflow skill.
README.md Unwraps prose paragraphs and list items in repository documentation.
CLAUDE.md Unwraps prose and list formatting in contributor guidance.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread skills/planning-a-feature/templates/feature-state.md Outdated
The prose reference to `<!-- -->` guidance tripped the unwrap's comment-skip,
leaving the paragraph split across two physical lines. It renders as one
paragraph (adjacent lines join), but it's an incomplete unwrap — join it. Same
defect class the PR #3 review caught in writing-github-issues.
The prose reflow only treated frontmatter as verbatim when it starts at line 1.
feature-state.md opens with an HTML comment block before its `---` frontmatter,
so the reflow joined the YAML fields onto one line — invalid, unparseable
frontmatter. Restore the multi-line block; keep the one valid list-item unwrap
the reflow also made.
Copilot AI review requested due to automatic review settings May 29, 2026 16:33
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Comment thread README.md Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 29, 2026 17:01
@sourcehawk sourcehawk merged commit d24b0bf into main May 29, 2026
@sourcehawk sourcehawk deleted the chore/unwrap-markdown-prose branch May 29, 2026 17:01
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

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