mj-agent-runtime-skill-doc-improve

Proposes reviewed diffs for mj-agent runtime SKILL.md body content without direct writes.

1|Updated Mar 4, 2026
One-click install
npx skills add https://github.com/MJ-AgentLab/mj-agent --skill mj-agent-runtime-skill-doc-improve-mj-agentlab
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: mj-agent-runtime-skill-doc-improve
Source: https://github.com/MJ-AgentLab/mj-agent/tree/main/.claude/skills/mj-agent-runtime-skill-doc-improve
Command: npx skills add https://github.com/MJ-AgentLab/mj-agent --skill mj-agent-runtime-skill-doc-improve-mj-agentlab

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Runtime SKILL.md body content in mj-agent is literal LLM context, so editing it directly risks silent behavioral failures like wrong answers or hallucinations. This Skill enforces a read-only, human-in-the-loop review process that audits, drafts, and impact-analyzes changes before any write occurs. ## Core Features & Use Cases - Five-Section Body Audit: Evaluates SKILL.md bodies against the Agent_Side five-part structure (Purpose, When to use, Planning workflow, Common patterns, Anti-patterns) with quality ratings. - Reverse Reference Scan: Greps agent.py, system.md, docs/, and sibling SKILL.md files to find cross-references that must stay in sync with proposed changes. - Draft-Only Diff Proposals: Produces unified diffs, frontmatter version bump suggestions, impact analysis, and structured HITL questions for Domain Expert and Prompt Engineer review. - Use Case: When a user asks to upgrade the query-writing skill to the five-section format, this Skill audits the current body, scans references, and outputs a proposed diff that pauses for human approval before /mj-agent-doc-author writes it. ## Quick Start Ask the assistant to improve the runtime SKILL.md for a specific mj-agent skill, for example by saying "improve runtime SKILL query-writing", and review the proposed diff it returns.

Frequently Asked Questions about mj-agent-runtime-skill-doc-improve

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I improve a runtime SKILL.md in mj-agent?▼

Invoke this Skill with the target skill name, and it audits the body against the five-section structure, scans cross-references, and outputs a proposed unified diff. You then review the HITL questions and apply the accepted diff via /mj-agent-doc-author or manual Edit.

Why can't this Skill edit SKILL.md files directly?▼

It is read-only by design per ADR-015 decision point 4 and HITL_Prompt mandatory stop rule 10. Runtime SKILL.md body text is literal LLM context, so changes require Domain Expert and Prompt Engineer review before any write to src/mj_agent/skills.

What is the five-section SKILL.md body structure?▼

The Agent_Side specification defines five sections: Purpose, When to use, Planning workflow, Common patterns, and Anti-patterns. The audit checks each section for presence, length, concrete examples, and alignment between patterns and anti-patterns.

When should I not use this Skill for documentation changes?▼

Do not use it for system.md changes (use mj-agent-runtime-prompt-version-bump), qcm_catalog.yaml updates (use mj-agent-runtime-biz-catalog-sync), frontmatter-only typo fixes, or engineering-workflow skills under .claude/skills, which follow a different schema.

What does the reverse scan check before proposing a diff?▼

It greps for the skill name in src/mj_agent/agent.py (_ACTIVE_SKILLS), src/mj_agent/prompts/system.md, the docs/ directory, and other SKILL.md files. Any hit means the body change must also update those cross-references.