Simplify the setup-apply.mjs verification plugin code
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 64/100
- Issue type
- Refactor
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- javascript, node.js
- Domain
- tooling
Research direction
Start with plugins/verification/skills/setup/scripts/setup-apply.mjs and review its helpers, abstractions, and efficiency while preserving the listed interfaces and behavior. Run the relevant checks for this script and compare outputs, exit codes, written files, and printed messages; done means the file is simpler and clearer with those results unchanged.
Written by the indexing model from the issue text.
Description
Agent Brief
Type: Task
Summary: Simplify these 1 files without changing their behavior (part of the /simplify epic).
Current behavior:
The files below work as they do on main. Their code changes; what they do does not.
Desired behavior:
Review the files through /simplify's four checks (reuse of existing helpers, simplification, efficiency, right level of abstraction), using subagents if useful, and apply the fixes. The files end up shorter and clearer, and whatever runs them gets the same results.
Files:
plugins/verification/skills/setup/scripts/setup-apply.mjs
Key interfaces:
- Outputs, exit codes, written files and printed messages of these files: unchanged.
- Command-line flags, exported names and anything another file calls: unchanged.
Acceptance criteria:
- Behavior is unchanged: same outputs, exit codes, written files, printed text, command-line flags and exported names; no listed file renamed, moved or deleted.
- The diff edits only the listed files, the lines of a test that assert on them when the change breaks that assertion, and changelog fragments.
- The pull request stays within 400 changed lines and 15 hand-edited files (generated shared copies and changelog fragments not counted); anything beyond goes under
## Follow-upsin the pull request body. - ci-status is green.
- Each touched plugin (
verification) has a fragment fromscripts/new-changelog-fragment.sh <plugin> patchwhose body is### Changedand the line "Internal simplification, no behavior change."
Out of scope:
- Moving code between files or deduping across them: the sub-epic's restructuring pass does that after these chunks merge.
- Tests beyond the asserted lines a change breaks, eval cases, fixtures, and skill and agent text.
- Files listed in other chunks.
- These eval and fixture files, which read the listed files' names, flags or printed text; the behavior rule keeps them accurate:
plugins/verification/evals/setup-apply-placement-not-configurable/case.yamlplugins/verification/evals/setup-apply-refuses-thorough/case.yamlplugins/verification/evals/setup-apply-refuses-zero-workers/case.yamlplugins/verification/evals/setup-apply-strict-shows-diff/case.yamlplugins/verification/evals/setup-apply-writes-live-workers/case.yamlplugins/verification/evals/setup-check-memory-root/case.yaml
- Dominant language
- Shell
- Stars
- 22
- Forks
- 2
- Avg merge
- 1h 5m
- Merged PRs (30d)
- 969
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from melodic-software/claude-code-plugins
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
melodic-software/claude-code-plugins#14993 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
melodic-software/claude-code-plugins#14946 · 6 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
melodic-software/claude-code-plugins#14922 · 7 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
melodic-software/claude-code-plugins#14919 · 7 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
melodic-software/claude-code-plugins#14830 · 6 comments ·
Maintainers usually reply within 1 day
All issues in melodic-software/claude-code-plugins
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 60/100
-
low-priority
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
nxtg-ai/forge-orchestrator#105 ·
Maintainers usually reply within 1 day
-
bug CLI
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
openai/codex#60494 · 1 comment ·
Maintainers usually reply within 1 day
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
LucasSantana-Dev/Lucky#2983 · 1 comment ·
Maintainers usually reply within 1 day