Skip to content

Add code-quality plugin with multi-agent workflow#3

Open
pppmppp wants to merge 1 commit into
mate-academy:mainfrom
pppmppp:main
Open

Add code-quality plugin with multi-agent workflow#3
pppmppp wants to merge 1 commit into
mate-academy:mainfrom
pppmppp:main

Conversation

@pppmppp

@pppmppp pppmppp commented Jun 24, 2026

Copy link
Copy Markdown

Summary

  • Adds .claude-plugin/plugin.json (name: code-quality, version: 0.1.0) and .claude-plugin/marketplace.json so the plugin installs via /plugin marketplace add + /plugin install
  • Two scoped subagents in agents/: code-reviewer (read-only, Haiku) and test-writer (Read/Edit/Write/Bash, Sonnet)
  • Workflow command commands/quality.md (/quality) — parallel route reviews, then sequential test-writing step that depends on both review reports
  • Skill skills/lint-check/SKILL.md and hook hooks/hooks.json + hooks/lint-on-edit.sh (paths via ${CLAUDE_PLUGIN_ROOT})
  • NOTES.md covering install steps, the read-only scoping decision, and the parallel-vs-sequential orchestration rationale

Test plan

  • node .github/scripts/validate-plugin.js passes (Plugin structure looks complete ✓)
  • claude --plugin-dir . loads the plugin; /code-quality:quality is available
  • /plugin marketplace add <repo> + /plugin install code-quality@<marketplace> installs from a clean checkout
  • /quality runs both reviewers in parallel then the test-writer sequentially against course-api/

🤖 Generated with Claude Code

- Add plugin manifest and marketplace.json for code-quality plugin v0.1.0
- Add two scoped subagents: code-reviewer (read-only) and test-writer (write/execute)
- Add /quality command that orchestrates agents: parallel route reviews then sequential test writing
- Add /lint-check skill to run ESLint on the API
- Add lint-on-edit hook to auto-lint .js files after Write/Edit operations
- Add NOTES.md documenting plugin design and orchestration decisions
- Add .claude/settings.json with npm command permissions

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
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