Skip to content

Fix wrong test commands in CONTRIBUTING.md and trim duplicates#39

Merged
eph5xx merged 1 commit intomainfrom
eph5xx/rewrite-contributing-trim-claude
Apr 20, 2026
Merged

Fix wrong test commands in CONTRIBUTING.md and trim duplicates#39
eph5xx merged 1 commit intomainfrom
eph5xx/rewrite-contributing-trim-claude

Conversation

@eph5xx
Copy link
Copy Markdown
Owner

@eph5xx eph5xx commented Apr 20, 2026

Summary

The previous CONTRIBUTING.md gave contributors broken commands: it claimed npm test ran the Python suite via uv (it runs Node tests), and told them to invoke single Python tests with pytest (the project uses unittest — the command literally fails). It also duplicated 6-stage and 7-phase pipeline narratives that already live inside commands/tweak/evaluate.md and commands/tweak/analyze-hn-post.md, and omitted the new /tweak:share command added in #38.

This PR rewrites CONTRIBUTING.md (~180 → ~120 lines) to:

  • Document both test suites correctly, including a verified single-file invocation.
  • Correct and update the project structure tree (adds share.md, assets/, tests/, .github/workflows/, bin/manifest.js, README.md, LICENSE, CLAUDE.md).
  • Add a Share / upload behavior row to the "Where to make X kind of change" table.
  • Drop the duplicated pipeline narratives, the User Data section, and the redundant Development Workflow section.

CLAUDE.md: normalizes literal -- to for consistency with README.

Type of change

  • Documentation

Test plan

  • Manual testing (described below)

Verified every command in the new Testing section actually works:

  • npm test — passes (5 tests across frontmatter / install-smoke / pack-smoke).
  • uv run scripts/tests/run_tests.py — passes (127 tests).
  • uv run --with jsonschema python -m unittest scripts.tests.test_compute -v — passes (11 tests).

Also re-ran node bin/install.js --global to confirm the doc edits don't perturb the install path; install reports the expected counts (4 agents, 4 skills, 8 commands, 10 schemas).

Special notes for reviewers

Adjacent README.md gap noticed during the rewrite, left out of scope for this PR: the /tweak:share command requires the GitHub CLI (gh), mentioned inline at README.md:146, but the formal Prerequisites list at lines 158-159 only declares Claude Code and uv. Worth a follow-up.

Generated with Claude Code

CONTRIBUTING.md claimed `npm test` runs the Python suite via uv (it
runs Node tests) and told contributors to use pytest (the project
uses unittest — the command failed). Rewrites the file to document
both test suites correctly, drop pipeline narratives that duplicate
content already in the command files, add the new /tweak:share
command, and correct the project structure tree.

CLAUDE.md: normalize literal `--` to `—` for consistency with README.

Co-Authored-By: Claude <noreply@anthropic.com>
@eph5xx eph5xx merged commit 4a4c2a6 into main Apr 20, 2026
2 checks passed
@eph5xx eph5xx deleted the eph5xx/rewrite-contributing-trim-claude branch April 20, 2026 10:48
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.

1 participant