extract-instructions-from-subsection
OfficialExtract RISC-V instruction names from subsections
Authorriscv
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Extracts RISC-V instruction names from a named subsection of an AsciiDoc file and writes them to a YAML file in /tmp, enabling automated cataloging of instructions used in documentation.
Core Features & Use Cases
- Targeted subsection extraction: specify a subsection title, and the tool searches within that section in a case-insensitive manner.
- NOTE block handling: excludes instruction names that appear only inside NOTE blocks, preserving relevant instructions outside notes.
- Output normalization: deduplicates and converts instruction names to lowercase, then writes them in a sorted list to /tmp/<subsection-title>.yaml.
- Use Case: document engineers can quickly generate a clean list of used instructions for validation, coverage analysis, or tooling integration.
Quick Start
Provide the subsection title and the path to the AsciiDoc file to generate the /tmp/<subsection-title>.yaml with the extracted instructions.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: extract-instructions-from-subsection Download link: https://github.com/riscv/riscv-unified-db/archive/main.zip#extract-instructions-from-subsection Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.