Skip to content
Back to skills

Ki Repo Packages

ASecurity

Audit or conform a KI `packages-*` repository whose source trees consumers vendor whole: the vendored packages, one per layer, the Storybook, the custom elements manifest, locks and vendoring tools, sync paragraphs, consumers found by lock, and the release and re-vendor rule. Use `ki-repo-tools` for installed CLIs, `ki-engineering` for the toolchain, `ki-design-system` for component design, and `ki-repo` for universal files.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 24, 2026
ai-agentsjavascripttypescriptgojavagit

Works with

  • cli
  • mcp

Security analysis

A100/100

Pro scans all 12 files and shows the line behind each finding

Scanned November 24, 2026

npx -y skills add knowledgeislands/ki-agent-backpack --skill ki-repo-packages --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ki Repo Packages?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ki Repo Packages
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/knowledgeislands-ki-repo-packages/badge)](https://www.skillsdirectory.com/skills/knowledgeislands-ki-repo-packages)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ki-repo-packages
ki-document-type: skill@2026-11-17T00:55:00Z
ki-kind: governance
ki-applicability: declaration-only
ki-guild: repository
ki-depends-on: []
ki-shared-dependencies: [ki-skills:rubric]
description: >
  Audit or conform a KI `packages-*` repository whose source trees consumers vendor whole: the vendored packages,
  one per layer, the Storybook, the custom elements manifest, locks and vendoring tools, sync paragraphs, consumers
  found by lock, and the release and re-vendor rule. Use `ki-repo-tools` for installed CLIs, `ki-engineering` for
  the toolchain, `ki-design-system` for component design, and `ki-repo` for universal files.
argument-hint: 'audit <repo> | conform <repo> | educate <repo> | help | refresh'
---

# Knowledge Islands package repository

You are helping audit, conform or explain a **`packages-*` repository**: the canonical source of one or more source trees that other repositories vendor, copying it whole and pinning it with a lock file, so that no consumer's build ever fetches it. [`packages-stoa`](https://github.com/knowledgeislands/packages-stoa) is the reference. Read [the package repository standard](references/standard-package-repositories.md) before acting, [the generated rubric](references/rubric.md) for the checkable criteria and [the sources](references/sources.md) for the evidence. While [the migration overlay](references/migration-package-repositories.md) exists, read it last; it lists temporary adjustments, and the standard wins wherever the two differ.

## The shape at a glance

- **Vendored trees.** `packages/<package>/` is exactly what a consumer copies: units, styles, tests, the vendoring tools and a unit manifest. Nothing in it depends on a path outside it, and its `tsconfig.json` stands alone. A repository may hold several, one per layer, released together at one version.
- **A Storybook.** `apps/storybook/` shows every unit alone with editable inputs; every unit has a story, and its `build` writes static files. It replaces the earlier `apps/workbench/`.
- **The name and the manifest.** Each web component package is named `<name>-elements`, or `<name>-<subset>-elements` for a subset of the atomic design levels, never plain `elements`, and ships `custom-elements.json`, generated by the Custom Elements Manifest analyser, which the Storybook and any site read.
- **The vendoring contract.** Each consumer pins a release of each package it takes in `<package>-lock.json` and runs `self:<package>:verify`, `drift`, `sync` and `defer`; the repository's `AGENTS.md` publishes each package's sync paragraph, which every consumer of it carries word for word.
- **Consumers found, not listed.** The repository keeps no consumer register; consumers are the repositories on the local estate that hold its lock.
- **Release and re-vendor.** A change a consumer would notice is a release: bump the version locations, add a `CHANGELOG.md` section and tag `v<version>`. No notice is sent: each consumer finds the release with its own `drift` and re-vendors with `sync` or sets it aside with `defer`; a deferral older than two releases becomes a query to the owner.

## Why an overlay, and why this name

The repository stays a general Project: it declares `primary_shape = "ki-repo-project"` and adds `[skills.ki-repo-packages]` with the vendored folder's name, or a list of them. `ki-repo` owns the primary-shape list, and this skill does not need a place on it to do its work, so it composes as an overlay rather than adding a new core shape; whether it should become one is left to the owner. The name follows the sibling convention that pairs a repository prefix with its shape skill, as `tools-*` repositories pair with `ki-repo-tools` and `mcp-*` with `ki-repo-mcp`: package repositories are named `packages-*`, so their skill is `ki-repo-packages`.

## Operating modes

Every governance skill carries the universal four **AUDIT · CONFORM · EDUCATE · REFRESH**.

### Mode HELP

Invoked as `help`, `-h` or `?`, explain the package shape, the overlay declaration, the modes and the off-ramps, then stop. With no recognisable mode, do the same, and offer a mode choice only in an interactive session.

### Mode AUDIT

Run `ki repo audit --skill ki-repo --repo <repo>` and `ki repo audit --skill ki-engineering --repo <repo>` first, then `ki repo audit --skill ki-repo-packages --repo <repo>` for the package delta. Apply the judgment criteria in [the rubric](references/rubric.md): generic units, the release rule as practised, change coverage in tests and the Storybook, each web component package's manifest, and the plain-JavaScript composition with `ki-engineering`. Report by location, criterion and fix, failures first.

### Mode CONFORM

Run AUDIT, then `ki repo conform --skill ki-repo-packages --repo <repo> --dry-run`. The host may regenerate the rubric publication; every other criterion is report-only, because moving units, rewriting the sync paragraph, changing a version or cutting a release needs the owner's intent. CONFORM never tags, releases, messages a consumer or edits a consumer's vendored copy.

### Mode EDUCATE

Explain the vendoring contract, the declaration and the release rule using `packages-stoa` as the worked case, then help a new package repository lay out its packages, the Storybook and its `AGENTS.md` rules. Repository activation remains the `ki` command line's.

### Mode REFRESH

**Precondition:** REFRESH writes only this skill's canonical files in `ki-agent-backpack`. From an installed copy, stop and name the backpack as where to run it.

Re-read the reference repository and [the sources](references/sources.md), propose a diff to the standard and rubric, and confirm before writing. When a second package repository appears, test each rule against it and narrow any that proves Stoa-specific.

## Coverage and off-ramps

- `ki-repo` owns the repository kind, the primary shape, universal files, GitHub settings and the commit gate; this overlay changes none of them.
- `ki-engineering` owns the toolchain, script names and tests; the standard records only where a plain-JavaScript package meets its intent rather than its TypeScript letter.
- `ki-repo-tools` owns installed command-line tools and the release-on-demand policy that also decides when a package releases.
- `ki-design-system` owns how a component library is designed: its atomic levels and its components document. This skill owns how it is packaged, shown and shared.
- `ki-decision-records` owns decision-record identity, including records kept from a repository's earlier names.
- No `exemplars.md` is bundled: the layout and declaration in the standard already show the reusable shape.

Files in this skill

  • SKILL.md6.5 KB
  • references/migration-package-repositories.md963 B
  • references/rubric.md9.6 KB
  • references/sources.md3.9 KB
  • references/standard-package-repositories.md15.1 KB
  • scripts/rubric/contexts/packages.ts7.3 KB
  • scripts/rubric/items/config.ts2.6 KB
  • scripts/rubric/items/index.test.ts7.8 KB
  • scripts/rubric/items/index.ts511 B
  • scripts/rubric/items/package.ts14.1 KB
  • scripts/rubric/items/publication.ts413 B
  • scripts/shared/rubric.ts11.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.