plugins/hypercore/skills/docs-maker/SKILL.md
[Hyper] Create and refactor AI-readable docs, instruction bases, runbooks, specs, and harness-ready rule packs for context, prompt, tool, eval, sourcing, safety, and validation workflows.
npx skillsauth add alpoxdev/hypercore docs-makerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
@rules/structured-reasoning.md @rules/context-engineering.md @rules/harness-engineering.md @rules/sourcing.md @rules/validation.md @rules/forbidden-patterns.md @rules/required-behaviors.md
Create and refactor structured documentation that agents can load, trust, execute, and verify.
<output_language>
Default all user-facing deliverables, saved artifacts, reports, plans, generated docs, summaries, handoff notes, commit/message drafts, and validation notes to Korean, even when this canonical skill file is written in English.
Preserve source code identifiers, CLI commands, file paths, schema keys, JSON/YAML field names, API names, package names, proper nouns, and quoted source excerpts in their required or original language.
Use a different language only when the user explicitly requests it, an existing target artifact must stay in another language for consistency, or a machine-readable contract requires exact English tokens. If a localized template or reference exists (for example *.ko.md or *.ko.json), prefer it for user-facing artifacts.
</output_language>
<purpose><routing_rule>
Use docs-maker when the primary output is a structured document, runbook, spec, prompt artifact, instruction base, source-backed report shape, validation contract, or harness rule pack.
Use skill-maker instead when the output should become a reusable skill folder or a refactor of an existing skill.
Do not use docs-maker when:
docs-maker for the artifact</routing_rule>
<activation_examples>
Positive requests:
Negative requests:
Boundary request:
docs-maker only if the output is a document or runbook. Use skill-maker if the output should become a reusable skill folder.</activation_examples>
<trigger_conditions>
| Situation | Mode | |------|------| | New structured guidance is needed | create | | Existing guidance is too long, repetitive, vague, or stale | refactor | | Team needs one canonical instruction/documentation shape | create/refactor | | Prompt, tool, eval, safety, sourcing, or validation rules are missing | create/refactor | | A doc needs source ledger, completion contract, or smoke-eval guidance | create/refactor |
</trigger_conditions>
<supported_targets>
</supported_targets>
<documentation_architecture>
Use this layering model by default:
Do not mix these layers in one section unless the document explicitly labels the boundary.
</documentation_architecture>
<reference_routing>
Move guidance out of the canonical core when any of the following is true:
Keep guidance in canonical core files when it is stable, provider-neutral, and required to operate the document.
</reference_routing>
<support_file_read_order>
Read in this order:
SKILL.md to decide whether the task is create, refactor, or a route-away case.AGENTS.md, CLAUDE.md, README.md, or equivalent local docs) before changing derived guidance.rules/structured-reasoning.md, rules/context-engineering.md, and rules/harness-engineering.md when planning document structure, context shape, or harness coverage.instructions/context-engineering/references/prompt-authoring.md when it exists in the target repo and treat it as the local Prompt Contract reference.rules/sourcing.md when claims need external/current evidence, source grading, query hygiene, or a source ledger.rules/validation.md when defining completion contracts, scope completeness, verification menus, trace assertions, or final reports.rules/required-behaviors.md and rules/forbidden-patterns.md before declaring the document done.references/official/openai.md and references/official/anthropic.md only when provider-sensitive guidance materially changes the rule; do not bump last_verified_at unless the source was actually rechecked.</support_file_read_order>
<mandatory_reasoning>
</mandatory_reasoning>
<context_engineering_application>
Apply context-engineering defaults to every major edit:
rules/, references/, ledgers, or eval artifacts.</context_engineering_application>
<modes>| Phase | Task | Output |
|------|------|------|
| 0 | Confirm the target layer (core / reference / source ledger / local overlay / validation artifact) before writing | Placement decision |
| 1 | Read target docs and classify mode (create/refactor/route-away) | Scope + mode |
| 2 | Build the structure plan with an internal structured reasoning pass | Section/resource plan |
| 3 | Write/refactor canonical content | Updated document |
| 4 | Add or refresh references, source ledgers, or eval artifacts only where the claims require them | Support layer |
| 5 | Run a readback pass for drift, mixed concerns, authority conflicts, and layer placement | Review notes |
| 6 | Validate structure, source support, scope completeness, and completion evidence | Finalized document |
Do X) over prohibition-only guidance when possible.| Category | Avoid | |------|------| | Structure | Unstructured long paragraphs with mixed concerns | | Content | Redundant rules repeated in multiple sections | | Guidance | Ambiguous instructions without decision criteria | | Provider/runtime coupling | Fixed model literals or universal runtime syntax in canonical core docs | | Evidence | Search snippets, tool outputs, or retrieved pages treated as authority | | Quality | Removing safety, scope, source, or validation constraints during refactor |
</forbidden> <required>| Category | Required | |------|------| | Clarity | Clear section hierarchy and concise wording | | Actionability | Concrete workflow steps and validation checks | | Contract | Intent, scope, authority, evidence, tools, output, and verification are explicit when relevant | | Examples | Runnable or directly reusable examples | | Consistency | Same terminology and rule style across sections | | Source grounding | Official/current source support for provider-sensitive or time-sensitive guidance | | Maintainability | Separation between core rules, references, source ledgers, local overlays, and validation artifacts | | Placement | Content is stored in the right layer for its volatility and scope |
</required><structure_blueprint>
Use this default layout unless a better domain-specific layout is required:
required / forbidden)</structure_blueprint>
<usage_examples>
</usage_examples>
<validation>| Check | Rule | |------|------| | Structure | Major sections are clearly separated | | Density | Repetition removed; tables/checklists used where helpful | | Actionability | Steps can be executed without guessing | | Examples | Examples match actual workflow and tools | | Safety | Critical scope, authority, and side-effect constraints preserved | | Context quality | Right altitude + explicitness + low redundancy | | Source support | Volatile claims cite appropriate sources, dates, and ledger entries | | Verification | Completion claim maps to evidence, verification, and caveats | | Model/runtime neutrality | Canonical core docs avoid fixed model literals and runtime-only syntax |
Core exit gates:
rules/validation.md, rules/required-behaviors.md, and rules/forbidden-patterns.md.development
[Hyper] Use when working on Vite + TanStack Router projects - enforces architecture rules (layers, routes, hooks, services, conventions) with mandatory validation before any code change. Triggers on file creation, route work, hook patterns, or any structural change in a Vite + TanStack Router codebase.
development
[Hyper] Update semantic versions across node/rust/python projects, keep discovered version files synchronized, and prefer the installed `git-commit` skill for the final git step with a direct fallback when it is unavailable.
development
[Hyper] Use when working on TanStack Start projects and the task involves auth, sessions, cookies, CSRF, secrets, env exposure, server functions/routes, headers/CSP, webhooks, or security review/fixes. Triggers on protecting routes, hardening auth flows, preventing secret leaks, securing server boundaries, or reviewing HTTP/security behavior in a TanStack Start app.
tools
[Hyper] Enforce TanStack Start architecture in existing Start projects, especially project/folder structure, route structure, nested shared folder organization, server functions, loader/client-server boundaries, importProtection, hooks, SSR/hydration, and hypercore conventions. Use before structural code changes, folder-structure reviews, route work, server function work, or architecture audits in TanStack Start codebases.