feat(marketplace): add delivery, ansible, gitops and k8s skeleton packages #205
No files matched your search
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "holocron",
|
||||
"description": "AI development skills for Claude Code, and for GitHub Copilot through apm — factory, design, implement, review, and cross-cutting workflows.",
|
||||
"version": "0.7.0",
|
||||
"version": "0.8.0",
|
||||
"owner": {
|
||||
"name": "Mortis",
|
||||
"url": "https://git.rkdr.net/Mortis/"
|
||||
@@ -55,6 +55,34 @@
|
||||
"version": "1.1.9",
|
||||
"category": "Developer Tools",
|
||||
"source": "./plugins/lint"
|
||||
},
|
||||
{
|
||||
"name": "delivery",
|
||||
"description": "Agents and skills for taking a change from spec to a verified merge through tracker-gated stages.",
|
||||
"version": "0.1.0",
|
||||
"category": "Developer Tools",
|
||||
"source": "./plugins/delivery"
|
||||
},
|
||||
{
|
||||
"name": "ansible",
|
||||
"description": "Skills for authoring, testing and dry-running Ansible playbooks, roles and collections.",
|
||||
"version": "0.1.0",
|
||||
"category": "Infrastructure",
|
||||
"source": "./plugins/ansible"
|
||||
},
|
||||
{
|
||||
"name": "gitops",
|
||||
"description": "Skills for authoring, auditing and diagnosing a Flux GitOps repository, including the secrets sealed into it.",
|
||||
"version": "0.1.0",
|
||||
"category": "Infrastructure",
|
||||
"source": "./plugins/gitops"
|
||||
},
|
||||
{
|
||||
"name": "k8s",
|
||||
"description": "Skills for read-only diagnosis of workloads on a Kubernetes cluster.",
|
||||
"version": "0.1.0",
|
||||
"category": "Infrastructure",
|
||||
"source": "./plugins/k8s"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -29,7 +29,7 @@ Fall back to raw shell only when no skill covers it.
|
||||
|
||||
- **Do not add repo-owned keys to `.claude/settings.json`.** apm treats it as its own deployed artifact and `apm audit --ci` replays the install and diffs, so anything apm would not have written is permanent drift that fails the `apm-audit-ci` pre-push hook. A hook you want here is authored in `plugins/<name>/.apm/hooks/` and deployed by apm, never hand-written into that file. The `SessionStart` entry already in it is exactly that: kyberforge authors it in `plugins/kyberforge/.apm/hooks/hooks.json` and apm merges it in, so it is apm's own output, it is what the replay expects, and it belongs in the commit — do not strip it (ADR-0019). Machine-specific settings go in the gitignored `.claude/settings.local.json`; shared enforcement goes in `.pre-commit-config.yaml`.
|
||||
- **`apm.lock.yaml` turning up modified is expected, not a bug.** kyberforge's `SessionStart` hook keeps the install current on launch and rewrites the lock in the process (ADR-0019). On `main`, commit or discard it deliberately. On a feature branch, discard it (`git checkout -- apm.lock.yaml`, then `apm install`). This keeps unrelated lock churn out of the branch diff and keeps `apm pack --check-clean` consistent with the committed lock. The session then runs the older `main` that the lock records, which is accepted on a branch, and the next session start refreshes again.
|
||||
- **A `.apm/` edit is not live until it is on the remote's `main`.** The six dependencies resolve from the holocron remote, unpinned against the default branch, so pushing a feature branch does not deploy it (ADR-0019). `apm install` deploys from the lock; `apm update` is what re-resolves refs.
|
||||
- **A `.apm/` edit is not live until it is on the remote's `main`.** Root `apm.yml`'s first-party dependencies resolve from the holocron remote, unpinned against the default branch, so pushing a feature branch does not deploy it (ADR-0019). `apm install` deploys from the lock; `apm update` is what re-resolves refs.
|
||||
- **No pre-push hook needs the network — once `apm install` has run.** Root `apm.yml`'s marketplace has no remote package entries, so every hook resolves locally. The guarantee is a property of a populated `apm_modules/`, not of the hook set: on a fresh clone `apm-audit-ci`'s `deployed-files-present` fails outright, and its `drift` and `config-consistency` install-replays have no cache to replay from and clone from the remote. Run `apm install` once on a new checkout and the offline guarantee holds from then on (`docs/spec/gates.md`, "Pushing without a network").
|
||||
- **This repo and Gitea are the only source of truth.** All project state, decisions, and working conventions live here. Do not use an external memory system for this project — cached state diverges from the repo and you get a split brain. Before answering any design or architecture question, check `docs/adr/` for an existing decision.
|
||||
|
||||
|
||||
+1
-1
@@ -79,7 +79,7 @@ backend, registry, or SaaS — the Git repo is the marketplace.
|
||||
_Avoid_: registry, store, catalogue
|
||||
|
||||
**holocron**:
|
||||
This repository, in its role as a plugin marketplace and as the remote the six plugin dependencies
|
||||
This repository, in its role as a plugin marketplace and as the remote the first-party plugin dependencies
|
||||
resolve against.
|
||||
_Avoid_: the marketplace, upstream
|
||||
|
||||
|
||||
@@ -2,26 +2,31 @@
|
||||
|
||||
The global AI development configuration repository — the authoritative source for agent definitions, skills, workflows, and prompts across all projects. Built as a homelab tool intended to scale to professional environments.
|
||||
|
||||
Content ships as six installable plugins, each an apm (Agent Package Manager) package. This repo consumes its own plugins through apm, so the working copy runs the same released content every other consumer gets.
|
||||
Content ships as installable plugins, each an apm (Agent Package Manager) package. This repo consumes its own plugins through apm (the ones root `apm.yml` lists), so the working copy runs the same released content every other consumer gets.
|
||||
|
||||
## Repo layout
|
||||
|
||||
| Path | What it holds |
|
||||
| --- | --- |
|
||||
| `plugins/` | Six apm packages — `bin`, `core`, `git`, `gitea`, `kyberforge`, `lint` — each carrying skills, and where relevant agents, hooks, and bundled assets |
|
||||
| `plugins/` | The apm packages — `bin`, `core`, `git`, `gitea`, `kyberforge`, `lint`, `mattpocock`, `delivery`, `ansible`, `gitops`, `k8s` — each carrying skills, and where relevant agents, hooks, and bundled assets |
|
||||
| `providers/claude-code/` | Claude Code adapter, deployed to `~/.claude/` via `scripts/install.sh` |
|
||||
| `core/` | Provider-agnostic always-on content — `core/AGENTS.md` and `core/instructions/` |
|
||||
| `docs/` | Specs (`docs/spec/`), architectural decisions (`docs/adr/`), governance, research, and notes |
|
||||
| `scripts/` | Install and check scripts used by the git hooks |
|
||||
| `tests/` | `run-tests.sh`, `run-bats.sh`, the `test-*.sh` suites, and the bats submodules |
|
||||
|
||||
The six plugins:
|
||||
The plugins:
|
||||
|
||||
- **kyberforge** — skills and agents for creating, maintaining, and managing an apm plugin marketplace for Claude Code (and GitHub Copilot through apm)
|
||||
- **git** — conventional commits, branches, history, submodules, worktrees, remotes, pre-commit hook authoring and running (`pc-author` / `pc-run`), and an interactive router (`git-workflow`)
|
||||
- **gitea** — issues, pull requests, labels, milestones, releases, branches, files, and an interactive router (`gitea-workflow`)
|
||||
- **core** — authoring and auditing a repo's `AGENTS.md` and the provider adapter files that defer to it
|
||||
- **lint** — configuring and running linters
|
||||
- **mattpocock** — Matt Pocock's agent skills — planning, grilling, test-first development, triage and bug diagnosis — redistributed from upstream at a pinned release
|
||||
- **delivery** — agents and skills for taking a change from spec to a verified merge through tracker-gated stages
|
||||
- **ansible** — authoring, testing and dry-running Ansible playbooks, roles and collections
|
||||
- **gitops** — authoring, auditing and diagnosing a Flux GitOps repository, including the secrets sealed into it
|
||||
- **k8s** — read-only diagnosis of workloads on a Kubernetes cluster
|
||||
- **bin** — cross-cutting workflow skills not yet split into a focused plugin: research, documentation, TDD, prototyping, triage, diagnosis, architecture review, requirement grilling, compressed output (`caveman`), and re-orienting mid-task (`zoom-out`)
|
||||
|
||||
## Prerequisites
|
||||
@@ -52,13 +57,13 @@ apm install
|
||||
pre-commit install -t pre-commit -t commit-msg -t pre-push
|
||||
```
|
||||
|
||||
**`apm install`** deploys the six plugins into `.claude/skills/` and `.claude/agents/`. Both are gitignored install output, *not* authoring source — `plugins/<name>/.apm/` remains the only place to edit. It needs the network and materializes `apm_modules/` (which stays gitignored).
|
||||
**`apm install`** deploys the plugins root `apm.yml` lists into `.claude/skills/` and `.claude/agents/`. Both are gitignored install output, *not* authoring source — `plugins/<name>/.apm/` remains the only place to edit. It needs the network and materializes `apm_modules/` (which stays gitignored).
|
||||
|
||||
**Git hooks** must be wired for **all three stages**. This repo's `.pre-commit-config.yaml` has no `default_install_hook_types`, so a plain `pre-commit install` silently skips `commit-msg` (Conventional Commits) and `pre-push` (the full gate) — the `-t` flags above are not optional. The `pc-run` skill handles this and the troubleshooting around it, if you would rather not remember the flags.
|
||||
|
||||
## Keeping the install current
|
||||
|
||||
The six dependencies in root `apm.yml` are unpinned against the default branch, so deployed skills go stale whenever anyone merges. kyberforge's `SessionStart` hook keeps the install current automatically on launch, rewriting `apm.lock.yaml` in the process — an unexplained modification to it after opening a session is expected, not a bug. On `main`, commit or discard it deliberately. On a feature branch, discard it (`git checkout -- apm.lock.yaml`, then `apm install`). The committed lock records a `main` commit too, just an older one. Discarding keeps lock churn unrelated to the branch out of its diff, and keeps the deployed tree consistent with the committed lock that `apm pack --check-clean` reads. The trade-off: the session then runs the older `main` the lock records, which is accepted on a feature branch. The discard also lasts only until the next session start, when the hook finds the lock behind `main` and refreshes again. Mechanism and rationale: `docs/adr/0019-session-start-hook-keeps-the-apm-install-current.md`.
|
||||
The first-party dependencies in root `apm.yml` are unpinned against the default branch, so deployed skills go stale whenever anyone merges. kyberforge's `SessionStart` hook keeps the install current automatically on launch, rewriting `apm.lock.yaml` in the process — an unexplained modification to it after opening a session is expected, not a bug. On `main`, commit or discard it deliberately. On a feature branch, discard it (`git checkout -- apm.lock.yaml`, then `apm install`). The committed lock records a `main` commit too, just an older one. Discarding keeps lock churn unrelated to the branch out of its diff, and keeps the deployed tree consistent with the committed lock that `apm pack --check-clean` reads. The trade-off: the session then runs the older `main` the lock records, which is accepted on a feature branch. The discard also lasts only until the next session start, when the hook finds the lock behind `main` and refreshes again. Mechanism and rationale: `docs/adr/0019-session-start-hook-keeps-the-apm-install-current.md`.
|
||||
|
||||
Note the difference between the two commands:
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name: holocron
|
||||
version: 0.7.0
|
||||
version: 0.8.0
|
||||
description: AI development skills for Claude Code, and for GitHub Copilot through apm — factory, design, implement, review, and cross-cutting workflows.
|
||||
license: MIT
|
||||
|
||||
@@ -66,7 +66,7 @@ marketplace:
|
||||
# top-level apm.yml description:/version: above are NOT inherited into the
|
||||
# compiled output despite being used elsewhere (e.g. by `apm audit`).
|
||||
description: AI development skills for Claude Code, and for GitHub Copilot through apm — factory, design, implement, review, and cross-cutting workflows.
|
||||
version: 0.7.0
|
||||
version: 0.8.0
|
||||
owner:
|
||||
name: Mortis
|
||||
url: https://git.rkdr.net/Mortis/
|
||||
@@ -114,3 +114,19 @@ marketplace:
|
||||
- name: lint
|
||||
source: ./plugins/lint
|
||||
category: Developer Tools
|
||||
|
||||
- name: delivery
|
||||
source: ./plugins/delivery
|
||||
category: Developer Tools
|
||||
|
||||
- name: ansible
|
||||
source: ./plugins/ansible
|
||||
category: Infrastructure
|
||||
|
||||
- name: gitops
|
||||
source: ./plugins/gitops
|
||||
category: Infrastructure
|
||||
|
||||
- name: k8s
|
||||
source: ./plugins/k8s
|
||||
category: Infrastructure
|
||||
@@ -42,6 +42,11 @@ These are routing boundaries, not inventories — they answer "where does a new
|
||||
| `gitea` | Anything reached through the Gitea HTTP API rather than the git wire protocol — the forge's own objects |
|
||||
| `kyberforge` | Creating and maintaining a Claude Code / Copilot CLI plugin marketplace — this repo's own meta-tooling |
|
||||
| `lint` | Configuring and running linters against a target repo; repo-agnostic, first linter is Vale |
|
||||
| `mattpocock` | Third-party skills redistributed from upstream at a pinned release; no first-party content |
|
||||
| `delivery` | Taking a change from spec to a verified merge through tracker-gated stages; the stage-lead and specialist agents, not any one tool's know-how |
|
||||
| `ansible` | Authoring, testing and dry-running Ansible playbooks, roles and collections |
|
||||
| `gitops` | Authoring, auditing and diagnosing a Flux GitOps repository, including the secrets sealed into it; pod-level problems hand off to `k8s` |
|
||||
| `k8s` | Read-only diagnosis of workloads on a Kubernetes cluster |
|
||||
| `bin` | Unsorted skills that have not earned a home yet |
|
||||
|
||||
One compiler produces the generated content in the tree:
|
||||
|
||||
+2
-2
@@ -72,7 +72,7 @@ version-blind, so a stale key deploys fine (see [apm gates](#apm-gates)).
|
||||
|
||||
| Hook | Guards |
|
||||
|---|---|
|
||||
| `apm-audit-ci` | `scripts/apm-audit-ci.sh` — `apm audit --ci` once per manifest, root plus each of the seven plugin packages, waiving only a package's `lockfile-exists` (see [below](#apm-audit-ci)) |
|
||||
| `apm-audit-ci` | `scripts/apm-audit-ci.sh` — `apm audit --ci` once per manifest, root plus each plugin package under `plugins/`, waiving only a package's `lockfile-exists` (see [below](#apm-audit-ci)) |
|
||||
| `apm-pack-check-clean` | `apm pack --check-versions --check-clean --dry-run` — the compiled marketplace still matches what `apm.yml` + `.apm/` would generate, and per-package versions agree with the `per_package` strategy |
|
||||
|
||||
**Host validators** (needs the `claude` CLI on PATH)
|
||||
@@ -1157,7 +1157,7 @@ exclusion landed.
|
||||
### `apm-audit-ci`
|
||||
|
||||
`scripts/apm-audit-ci.sh` runs `apm audit --ci` **once per manifest** — the root one and each of the
|
||||
seven plugin packages — because the root-only invocation audits the marketplace manifest and
|
||||
plugin packages under `plugins/` — because the root-only invocation audits the marketplace manifest and
|
||||
**nothing else**, and `apm-pack-check-clean` does not parse plugin `dependencies:` blocks either.
|
||||
Verified: a malformed dependency entry passes
|
||||
`apm pack --check-versions --check-clean --dry-run` and fails `apm audit --ci` in that package's
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
name: ansible
|
||||
version: 0.1.0
|
||||
description: Skills for authoring, testing and dry-running Ansible playbooks, roles and collections.
|
||||
author:
|
||||
name: Mortis
|
||||
url: https://git.rkdr.net/Mortis/
|
||||
license: MIT
|
||||
homepage: https://git.rkdr.net/Mortis/Holocron/src/branch/main/plugins/ansible
|
||||
repository: https://git.rkdr.net/Mortis/Holocron/src/branch/main/plugins/ansible
|
||||
keywords:
|
||||
- ansible
|
||||
- molecule
|
||||
- ansible-lint
|
||||
- playbook
|
||||
- collection
|
||||
|
||||
# Constrains what .apm/ may contain: instructions, skill, hybrid, or prompts
|
||||
type: hybrid
|
||||
|
||||
# Which agent platforms to deploy to.
|
||||
# Resolution order: --target flag > this field > auto-detect from filesystem.
|
||||
# Accepted values: agent-skills, antigravity, claude, codex, copilot, cursor, gemini, grok-build, kiro, opencode, windsurf
|
||||
targets:
|
||||
- claude
|
||||
- copilot
|
||||
- codex
|
||||
|
||||
includes: auto
|
||||
|
||||
dependencies:
|
||||
apm: []
|
||||
mcp: []
|
||||
devDependencies:
|
||||
apm: []
|
||||
scripts: {}
|
||||
@@ -0,0 +1,46 @@
|
||||
name: delivery
|
||||
version: 0.1.0
|
||||
description: Agents and skills for taking a change from spec to a verified merge through tracker-gated stages.
|
||||
author:
|
||||
name: Mortis
|
||||
url: https://git.rkdr.net/Mortis/
|
||||
license: MIT
|
||||
homepage: https://git.rkdr.net/Mortis/Holocron/src/branch/main/plugins/delivery
|
||||
repository: https://git.rkdr.net/Mortis/Holocron/src/branch/main/plugins/delivery
|
||||
keywords:
|
||||
- delivery
|
||||
- agents
|
||||
- stages
|
||||
- handoff
|
||||
- gitea
|
||||
|
||||
# Constrains what .apm/ may contain: instructions, skill, hybrid, or prompts
|
||||
type: hybrid
|
||||
|
||||
# Which agent platforms to deploy to.
|
||||
# Resolution order: --target flag > this field > auto-detect from filesystem.
|
||||
# Accepted values: agent-skills, antigravity, claude, codex, copilot, cursor, gemini, grok-build, kiro, opencode, windsurf
|
||||
targets:
|
||||
- claude
|
||||
- copilot
|
||||
- codex
|
||||
|
||||
includes: auto
|
||||
|
||||
# Sibling packages are addressed in the same git+path form the root apm.yml
|
||||
# uses, so a consumer outside this repo resolves them from the remote.
|
||||
# Unpinned (default branch) like every first-party entry (ADR-0018).
|
||||
# mattpocock supplies `grilling` until a later effort decouples it (#166,
|
||||
# ADR-0031).
|
||||
dependencies:
|
||||
apm:
|
||||
- git: https://git.rkdr.net/Mortis/Holocron.git
|
||||
path: plugins/git
|
||||
- git: https://git.rkdr.net/Mortis/Holocron.git
|
||||
path: plugins/gitea
|
||||
- git: https://git.rkdr.net/Mortis/Holocron.git
|
||||
path: plugins/mattpocock
|
||||
mcp: []
|
||||
devDependencies:
|
||||
apm: []
|
||||
scripts: {}
|
||||
@@ -0,0 +1,44 @@
|
||||
name: gitops
|
||||
version: 0.1.0
|
||||
description: Skills for authoring, auditing and diagnosing a Flux GitOps repository, including the secrets sealed into it.
|
||||
author:
|
||||
name: Mortis
|
||||
url: https://git.rkdr.net/Mortis/
|
||||
license: MIT
|
||||
homepage: https://git.rkdr.net/Mortis/Holocron/src/branch/main/plugins/gitops
|
||||
repository: https://git.rkdr.net/Mortis/Holocron/src/branch/main/plugins/gitops
|
||||
keywords:
|
||||
- gitops
|
||||
- flux
|
||||
- kustomize
|
||||
- helm
|
||||
- sealed-secrets
|
||||
|
||||
# Constrains what .apm/ may contain: instructions, skill, hybrid, or prompts
|
||||
type: hybrid
|
||||
|
||||
# Which agent platforms to deploy to.
|
||||
# Resolution order: --target flag > this field > auto-detect from filesystem.
|
||||
# Accepted values: agent-skills, antigravity, claude, codex, copilot, cursor, gemini, grok-build, kiro, opencode, windsurf
|
||||
targets:
|
||||
- claude
|
||||
- copilot
|
||||
- codex
|
||||
|
||||
includes: auto
|
||||
|
||||
# Third-party content is pinned (same rule as plugins/mattpocock); bump both
|
||||
# fluxcd tags together. gitops-cluster-debug is NOT pulled: it needs
|
||||
# flux-operator-mcp, and these packages drive CLIs, never MCP servers (#171).
|
||||
# k8s is a sibling, unpinned like every first-party dependency (ADR-0018):
|
||||
# Flux diagnosis hands pod-level problems to it (#171).
|
||||
dependencies:
|
||||
apm:
|
||||
- git: https://git.rkdr.net/Mortis/Holocron.git
|
||||
path: plugins/k8s
|
||||
- fluxcd/agent-skills/skills/gitops-knowledge#v0.4.0
|
||||
- fluxcd/agent-skills/skills/gitops-repo-audit#v0.4.0
|
||||
mcp: []
|
||||
devDependencies:
|
||||
apm: []
|
||||
scripts: {}
|
||||
@@ -0,0 +1,34 @@
|
||||
name: k8s
|
||||
version: 0.1.0
|
||||
description: Skills for read-only diagnosis of workloads on a Kubernetes cluster.
|
||||
author:
|
||||
name: Mortis
|
||||
url: https://git.rkdr.net/Mortis/
|
||||
license: MIT
|
||||
homepage: https://git.rkdr.net/Mortis/Holocron/src/branch/main/plugins/k8s
|
||||
repository: https://git.rkdr.net/Mortis/Holocron/src/branch/main/plugins/k8s
|
||||
keywords:
|
||||
- kubernetes
|
||||
- k8s
|
||||
- kubectl
|
||||
- diagnosis
|
||||
|
||||
# Constrains what .apm/ may contain: instructions, skill, hybrid, or prompts
|
||||
type: hybrid
|
||||
|
||||
# Which agent platforms to deploy to.
|
||||
# Resolution order: --target flag > this field > auto-detect from filesystem.
|
||||
# Accepted values: agent-skills, antigravity, claude, codex, copilot, cursor, gemini, grok-build, kiro, opencode, windsurf
|
||||
targets:
|
||||
- claude
|
||||
- copilot
|
||||
- codex
|
||||
|
||||
includes: auto
|
||||
|
||||
dependencies:
|
||||
apm: []
|
||||
mcp: []
|
||||
devDependencies:
|
||||
apm: []
|
||||
scripts: {}
|
||||
Reference in new issue
Block a user