hara-stage0r

Review Stage 0 function mapping JSON for completeness and schema compliance.

2|Updated May 13, 2026
One-click install
npx skills add https://github.com/WSJ40/hara-mutiagent --skill hara-stage0r
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hara-stage0r
Source: https://github.com/WSJ40/hara-mutiagent/tree/main/skills/hara-stage0r
Command: npx skills add https://github.com/WSJ40/hara-mutiagent --skill hara-stage0r

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It solves the problem of verifying and correcting an outdated Stage 0 function extraction review so downstream Stage 1 fault reasoning has reliable, complete, and well-bounded function mappings.

Core Features & Use Cases

  • Stage 0R Function Completeness Review: Checks that every function in the functional inventory appears in the Stage 0 function mapping without unsafe pruning.
  • Chapter Boundary & Detail Quality Validation: Verifies that function detail_text properly binds to the correct sections and is detailed enough for later fault inference.
  • Output-Strict Review JSON Generation: Produces output/<RUN_ID>_stage0_review.json following the strict schema, with fixes recorded when Stage 0 JSON must be updated.

Use Case: You have an existing output/<RUN_ID>_stage0_function_mapping.json generated by an older process and want to ensure the function list is complete, correctly numbered, and does not mistakenly split sub-sections into independent functions.

Quick Start

Run the hara-stage0r skill to review and, if needed, fix output/<RUN_ID>_stage0_function_mapping.json against references/stage0-review.md and the corresponding Stage 0 inputs.

Frequently Asked Questions about hara-stage0r

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

FAQPage Schema
How do I validate a Stage 0 function extraction mapping for completeness?

You can validate an outdated Stage 0 function mapping by loading the JSON file and consulting the stage0-review reference. The review checks function completeness, correct chapter boundary handling, and numbering consistency to detect sub-section over-splitting.

What is stage0 function mapping review and when do I need it?

Stage 0 function mapping review is the process of verifying outdated extraction mappings for completeness, correct chapter boundaries, and numbering consistency. You need it when preparing reliable, well-bounded function data for downstream Stage 1 fault reasoning.

How do I fix sub-section over-splitting in a stage0 function mapping JSON?

To fix sub-section over-splitting in a stage0 function mapping, run a review that detects when sub-sections are mistakenly split into independent functions. The review produces a structured issue record and outputs a JSON file with required fixes.

Does the stage0 function mapping review require loading HARA risk knowledge?

No, the stage0 function mapping review explicitly forbids loading HARA risk knowledge. It strictly requires loading the Stage 0 JSON and consulting the stage0-review reference document to validate function extraction mappings.

What is the best way to ensure my stage0 review JSON follows strict schema compliance?

The best way to ensure strict schema compliance for your stage0 review JSON is to generate the output file according to the defined review reference. This process records pass or failed statuses alongside structured issue and fix records for any required updates.