From solid-coder
Generic code review that reads principle rules and follows review instructions. Internal skill — triggered by subagents only.
How this skill is triggered — by the user, by Claude, or both
Slash command
/solid-coder:apply-principle-review <principle-folder> <code-files><principle-folder> <code-files>This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
- INPUT_SCHEMA: ${CLAUDE_PLUGIN_ROOT}/skills/prepare-review-input/output.schema.json
mcp__plugin_solid-coder_pipeline__get_output_path with {operation: "review"} to get the defaultCreate Preparation task list and execute it
OUTPUT_PATH/NAMEmcp__plugin_solid-coder_docs__load_detection_rules with principle: NAME. The tool returns structured per-metric detection instructions and definitions when the principle has XML detection blocks in rule.md. If the principle has no XML detection blocks, it falls back to returning the full rule.md content — apply whichever form is returned throughout Phase 2.Process files one at a time — do NOT read all source files upfront.
FOR each file in review-input DO
Creating output.
${CLAUDE_PLUGIN_ROOT}/references/review-output.schema.json (overall payload structure) and ${CLAUDE_PLUGIN_ROOT}/references/principles/NAME/review/output.schema.json (required metric variables for this principle). The <submission-metrics-example> block in the detection rules already shows the correct shape.timestamp: ISO-8601 now and files: [...units with metrics: {NAME: {var: {value: N}}}]. No agent, no principle, no violations in the submission — the server fills those. Call mcp__plugin_solid-coder_pipeline__submit_batch_findings with {output_dir: OUTPUT_PATH, submissions: {NAME: <document>}}. The server validates metrics against the unified + per-principle schemas, scores each metric via severity bands, writes {OUTPUT_PATH}/{NAME}/review-output.json with violations: [{rule_id, severity}], and returns a summary of any SEVERE violations found. Log the summary. Do NOT use the Write tool to write review-output.json directly.npx claudepluginhub swift-gurus/solid-coderGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.