unikit-rules-registry

Solid

Orchestrate the remote rules registry — the shared registry (often connected as a local folder or git repo) that the project's rules are published to and pulled from. Three modes, picked from the user's wording: create scaffolds a new local rules registry ("create a local rules registry", "init a rules registry"); update migrates/promotes local knowledge-base rules from .unikit/memory/ into the remote registry with automatic semver bumps ("migrate local rules to the remote registry", "promote my rules to the registry", "push local rules", "publish local rules", "update the rules registry"); sync pulls registry updates back into memory ("sync the rules registry", "pull registry updates"). Pass "--module <id>" to scope to one knowledge-base module. This skill ONLY orchestrates the CLI (`unikit-ai rules *`) — it never edits .unikit.json or .unikit/memory/ sources directly.

Data & Documents 16 stars 1 forks Updated 4 days ago MIT

Install

View on GitHub

Quality Score: 81/100

Stars 20%
41
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# UniKit Rules Registry — External Registry Orchestrator Manage the external rules registry lifecycle from the project side. This skill owns three modes: - **create** — scaffold a new local registry repository, seed it with rules currently in `.unikit/memory/`, and optionally switch the project to use it. - **update** — diff `.unikit/memory/` against the currently configured **local** registry and push changes back (new rules, content updates with automatic semver bumps, stale deletions). - **sync** — pull registry-side updates into `.unikit/memory/` via `unikit-ai rules sync` (direction: registry → memory). Direction matters: - `create` and `update` flow **memory → registry**. - `sync` flows **registry → memory**. The skill is **module-agnostic**: the knowledge base is partitioned into top-level modules (`.unikit/memory/<module>/<tier>`), and this skill iterates over the modules registered in `.unikit/system/modules.yml`. It never hardcodes a module id, a tier name, or a registry layout — those come from `modules.yml`. ## Boundaries **This skill MUST NOT:** - Write to `.unikit.json` directly via the `Write`/`Edit` tools. All config mutations go through CLI commands: `unikit-ai rules registry set` / `rules registry reset` in create mode, and `unikit-ai rules install ... --force` in update mode (`update.7b`). - Edit or create files inside `.unikit/memory/` directly via the `Write`/`Edit` tools. Memory sources are authored by `unikit-memory` and `unikit-rules`; this skill...

Details

Author
NintendaDev
Repository
NintendaDev/unikit-ai
Created
3 months ago
Last Updated
4 days ago
Language
Shell
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

Data & Documents Solid

unikit-memory

Curate the project's knowledge base and memory in .unikit/memory/ — the indexed reference library of coding standards and framework usage patterns. ALWAYS use this skill whenever the user adds knowledge from a source: a URL, a file, a folder path, a PDF, an article, or a book — any path/link/document is a strong signal for the knowledge base, not a quick rule. Also use it to research or document how the project uses a framework, or to add a researched core/stack knowledge entry. Sub-commands by phrasing: "migrate the rules" or "promote rules" runs migrate-rules; "optimize the knowledge base" or "optimize the rules" runs optimise (extract large sections into references); "validate" re-syncs RULES_INDEX.md; "--module <id>" targets a module. For a quick one-line convention or correction typed as a prompt ("always do X", "never use Y", "remember this") with no source, use /unikit-rules; for architecture decisions use ARCHITECTURE.md.

16 Updated 4 days ago
NintendaDev
Data & Documents Solid

unikit-rules

Add a short, project-specific rule, convention, or override to .unikit/RULES.md — the quick-capture inbox for this project's rules; each invocation appends a rule, automatically loaded by /unikit-implement before execution (later promotable into the knowledge base via /unikit-memory migrate-rules). Works only with a rule typed as a prompt — it does NOT read files, folders, URLs, or PDFs. Cross-checks against the knowledge base (RULES_INDEX.md) to avoid duplicating core/stack entries. Use for fast, one-line conventions and corrections: "add a rule", "remember this", "convention", "always do X", "never use Y", "from now on do Z", or when the user corrects agent behavior and wants it remembered. If the user points to a source (file, folder, URL, PDF, article, book) or wants to research/document framework usage, use /unikit-memory; for architecture decisions use ARCHITECTURE.md.

16 Updated 4 days ago
NintendaDev
Code & Development Solid

unikit-skills-context

Customize how a built-in unikit skill behaves in this specific project by writing workflow overrides into its skill-context file. These are per-skill workflow rules (e.g. "/unikit-review should also flag TODO comments", "/unikit-implement should run tests after each task"), not coding conventions. Use when the user wants to change, customize, or override how a particular unikit skill works in this project — "customize the review skill", "make /unikit-fix always add logging here", "the implement skill should do X differently", "add a skill rule for /unikit-commit". Use "validate" to find stale overrides against updated base skills. For a general coding convention (not tied to one skill) use /unikit-rules; to derive rules from past mistakes use /unikit-evolve.

16 Updated 4 days ago
NintendaDev