A minimal meta-skill repository for building, refactoring, maintaining, extending, and recovering long-lived Hanako / OpenHanako skills.
hanako-skill-forge is a documentation-first meta-skill for turning loose prompts, scattered workflow notes, and half-structured skill assets into skills that are:
- easier to understand
- easier to maintain
- easier to extend
- easier to recover when they drift or break
It is designed for skill authors who want clear routes, explicit boundaries, reusable templates, and minimal audit tooling instead of vague prompt piles.
Many skill repositories become hard to trust over time:
- entry files keep growing
- the real source of truth becomes unclear
- fixes are made in one place and forgotten in another
- scripts silently become the hidden brain of the system
- recovery paths are missing, so the same problems keep coming back
hanako-skill-forge exists to solve that.
Its core idea is simple:
make the skill thinner, and make the maintenance path stronger.
That means:
- define the skill’s purpose and route first
- keep documentation as the main source of truth
- add scripts only when audit or closure truly needs them
- preserve formal paths for maintenance, extension, and recovery
This repository is useful if you are:
- building skills for Hanako / OpenHanako
- standardizing an internal skill library
- refactoring older skills into a clearer structure
- turning prompts or workflow notes into reusable skill assets
- trying to make skill behavior easier to review and maintain
This repository is not intended as:
- a generic prompt dump
- a hosted agent runtime
- a guarantee of runtime safety in every environment
- a replacement for platform-specific permission or security design
- Documentation first — rules, routes, templates, and acceptance live in documents
- Scripts second — scripts audit, verify, and close gaps; they do not become the hidden controller
- Single source of truth — core rules should have one clear home
- Minimal by default — keep only wording that directly improves execution or maintenance
- Explicit evolution paths — maintenance, extension, and recovery are formal change routes, not always-on runtime behavior
- Acceptance before completion — if it has not been checked, it is not done
hanako-skill-forge/
SKILL.md # skill entry: capability, route, discipline
guides/ # principles and design mapping
modules/
route/ # intake and control routing
research/ # benchmarking and capability injection
build/ # architecture and implementation rules
maintenance/ # maintenance and health checks
extension/ # extension rules and boundaries
recovery/ # recovery and healing path
review/ # acceptance and release rules
templates/ # structured templates
scripts/
main.py # minimal audit / closure helper
schemas/
actions_contracts.json # structured action contract
examples/ # starter examples
The main route priority is:
recovery > maintenance > extension > new build / refactor
In plain words:
- repair broken things first
- then close structural drift
- then extend what is missing
- only then do larger rebuild work
Typical entry order:
- read
modules/route/02-需求卡协议.md - read
modules/route/01-总控路由.md - continue only into the branch that matches the task
- read templates only when needed
- use trigger samples when calibrating description boundaries
- run scripts only when audit or closure is needed
Turn a vague idea or loose workflow into a structured skill.
Reorganize a skill whose entry, routing, and rules have drifted apart.
Make a skill easier to inspect, update, and keep consistent over time.
Expand capability without letting modules overlap or become ambiguous.
Create a repeatable way to diagnose and repair drift, broken references, and documentation/script mismatch.
Defines how to intake a task and route it into the correct branch.
Maps reusable capability from existing local skills, current repository assets, and selected open-source references.
Defines structure, layering, and when documentation is enough versus when a script is justified.
Keeps references, terminology, and module responsibilities consistent.
Adds new capability without breaking the current structure.
Provides failure categories, recovery loops, retry discipline, and post-fix validation.
Defines acceptance, release, evidence, and trigger calibration material.
Provides reusable templates for requirement cards, blueprints, maintenance checks, recovery notes, status tracking, checkpoints, and delivery summaries.
Start from SKILL.md, follow the route, and only read the branch you need.
From the repository root:
python scripts/main.py --action module_index
python scripts/main.py --action audit_refs
python scripts/main.py --action audit_terms
python scripts/main.py --action audit_skillmodule_index— list modules and rolesaudit_refs— check broken Markdown referencesaudit_terms— detect leftover terms and bad smellsaudit_skill— run an overall repository health check, including action contract alignment
Starter examples are provided in:
examples/minimal-skill/examples/meta-skill-composition/
These examples are intentionally small. Their job is to show how to think about skill shape and boundaries, not to act as production guarantees.
This repository focuses on skill structure, documentation discipline, and maintenance patterns.
Actual compatibility depends on:
- the target agent runtime
- the host platform’s tool model
- permission boundaries
- how the surrounding system injects context and tools
Active early-stage project.
The repository is already usable as a meta-skill and reference asset, but wording, conventions, and examples may continue to evolve before a stable 1.0.0.
Skills and meta-skills can influence agent behavior, orchestration flow, and tool usage.
Before using this repository in production or sensitive contexts, review:
- intended scope
- assumptions and non-goals
- runtime permission boundaries
- host integration behavior
Using content from this repository does not automatically make an agent or workflow safe.
This repository absorbs useful capability from selected open-source workflow and specification projects, including ideas around:
- specification-first design
- structured change flow
- progressive skill layering
- maintenance and recovery discipline
- reusable validated patterns
The goal is not to copy their wording, but to absorb what improves structure, maintainability, and trust.
Description
A minimal meta-skill repository for building, refactoring, maintaining, extending, and recovering long-lived Hanako/OpenHanako skills.
Suggested Topics
hanakoopenhanakoai-agentagent-skillmeta-skillprompt-engineeringorchestrationworkflowdeveloper-toolsknowledge-management
README.md— project overview and public onboardingSKILL.md— skill entry and operational routeschemas/actions_contracts.json— script action contractCHANGELOG.md— notable public changesCONTRIBUTING.md— how to contribute responsiblySECURITY.md— how to report security concernsLICENSE— usage rights
Released under the MIT License.