@brunosouzas/stackledger 0.10.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -20
- package/dist/cli.js +1 -1
- package/dist/cli.js.map +1 -1
- package/dist/map/command.js +3 -1
- package/dist/map/command.js.map +1 -1
- package/dist/map/model.d.ts +1 -1
- package/dist/map/neighbourhood.js +1 -1
- package/dist/map/neighbourhood.js.map +1 -1
- package/dist/map/parallel.js +1 -1
- package/dist/map/parallel.js.map +1 -1
- package/dist/map/pieces.d.ts +2 -2
- package/dist/map/relations.js +1 -1
- package/dist/map/relations.js.map +1 -1
- package/dist/map/strip.js +1 -1
- package/dist/map/strip.js.map +1 -1
- package/dist/map/svg.js +2 -2
- package/dist/map/svg.js.map +1 -1
- package/dist/map/themes.js +2 -2
- package/dist/map/themes.js.map +1 -1
- package/dist/map/zones.d.ts +1 -1
- package/dist/mcp.js +3 -1
- package/dist/mcp.js.map +1 -1
- package/dist/schema.d.ts +3 -1
- package/dist/schema.js +4 -1
- package/dist/schema.js.map +1 -1
- package/dist/site/build.d.ts +4 -7
- package/dist/site/build.js +35 -45
- package/dist/site/build.js.map +1 -1
- package/dist/site/command.js +7 -9
- package/dist/site/command.js.map +1 -1
- package/dist/site/policy.d.ts +5 -4
- package/dist/site/policy.js +5 -4
- package/dist/site/policy.js.map +1 -1
- package/dist/site/publish.d.ts +2 -5
- package/dist/site/publish.js +27 -26
- package/dist/site/publish.js.map +1 -1
- package/dist/site/skills-build.js +16 -2
- package/dist/site/skills-build.js.map +1 -1
- package/dist/site/skills-data.d.ts +4 -0
- package/dist/site/skills-data.js +7 -0
- package/dist/site/skills-data.js.map +1 -1
- package/dist/site/staging.d.ts +7 -4
- package/dist/site/staging.js +7 -4
- package/dist/site/staging.js.map +1 -1
- package/dist/site/ui-icons.js +1 -1
- package/dist/site/ui-icons.js.map +1 -1
- package/dist/skills/command.js +4 -3
- package/dist/skills/command.js.map +1 -1
- package/dist/skills/graph.d.ts +3 -0
- package/dist/skills/graph.js +4 -2
- package/dist/skills/graph.js.map +1 -1
- package/dist/skills/lines.d.ts +50 -10
- package/dist/skills/lines.js +78 -15
- package/dist/skills/lines.js.map +1 -1
- package/dist/skills/map-command.js +11 -0
- package/dist/skills/map-command.js.map +1 -1
- package/dist/skills/marketplace.d.ts +24 -0
- package/dist/skills/marketplace.js +179 -0
- package/dist/skills/marketplace.js.map +1 -0
- package/dist/skills/mermaid.js +10 -1
- package/dist/skills/mermaid.js.map +1 -1
- package/dist/skills/metro.js +9 -5
- package/dist/skills/metro.js.map +1 -1
- package/dist/skills/resolve.d.ts +22 -0
- package/dist/skills/resolve.js +47 -0
- package/dist/skills/resolve.js.map +1 -0
- package/dist/skills/source.d.ts +12 -2
- package/dist/skills/source.js +44 -26
- package/dist/skills/source.js.map +1 -1
- package/dist/skills/walk.d.ts +13 -0
- package/dist/skills/walk.js +90 -6
- package/dist/skills/walk.js.map +1 -1
- package/dist/validate.js +19 -0
- package/dist/validate.js.map +1 -1
- package/dist/views.d.ts +5 -4
- package/dist/views.js +4 -6
- package/dist/views.js.map +1 -1
- package/examples/catalogue-repository/.github/workflows/stackledger.yml +14 -14
- package/examples/catalogue-repository/README.md +10 -22
- package/examples/hosting/Caddyfile +14 -17
- package/examples/northwind/stackledger.yaml +1 -12
- package/examples/northwind-journeys/README.md +11 -0
- package/examples/northwind-journeys/catalogue/catalog-info.yaml +19 -0
- package/examples/northwind-journeys/catalogue/stackledger-skills.yaml +55 -0
- package/examples/northwind-journeys/foundry/.claude-plugin/marketplace.json +18 -0
- package/examples/northwind-journeys/foundry/plugins/engineering/agents/reviewer.md +10 -0
- package/examples/northwind-journeys/foundry/plugins/engineering/skills/build/SKILL.md +8 -0
- package/examples/northwind-journeys/foundry/plugins/engineering/skills/review/SKILL.md +8 -0
- package/examples/northwind-journeys/foundry/plugins/engineering/skills/spec/SKILL.md +8 -0
- package/examples/northwind-journeys/foundry/plugins/release/agents/releaser.md +10 -0
- package/examples/northwind-journeys/foundry/plugins/release/skills/ship/SKILL.md +8 -0
- package/examples/northwind-journeys/integration/.claude-plugin/marketplace.json +13 -0
- package/examples/northwind-journeys/integration/plugins/mule/skills/contract/SKILL.md +8 -0
- package/examples/northwind-journeys/integration/plugins/mule/skills/munit/SKILL.md +8 -0
- package/examples/northwind-journeys/loose/skills/notes/SKILL.md +8 -0
- package/examples/northwind-journeys/studio/.claude-plugin/marketplace.json +18 -0
- package/examples/northwind-journeys/studio/plugins/publishing/skills/publish/SKILL.md +8 -0
- package/examples/northwind-journeys/studio/plugins/writing/agents/reviewer.md +10 -0
- package/examples/northwind-journeys/studio/plugins/writing/skills/draft/SKILL.md +8 -0
- package/examples/northwind-journeys/studio/plugins/writing/skills/edit/SKILL.md +8 -0
- package/examples/northwind-marketplace/.claude-plugin/marketplace.json +9 -0
- package/examples/northwind-marketplace/README.md +7 -0
- package/examples/northwind-marketplace/plugins/review/agents/reviewer.md +10 -0
- package/examples/northwind-marketplace/plugins/review/skills/checklist/SKILL.md +8 -0
- package/examples/northwind-marketplace/plugins/writing/.claude-plugin/plugin.json +1 -0
- package/examples/northwind-marketplace/plugins/writing/agents/reviewer.md +10 -0
- package/examples/northwind-marketplace/plugins/writing/skills/draft/SKILL.md +8 -0
- package/examples/northwind-marketplace/plugins/writing/skills/publish/SKILL.md +12 -0
- package/npm-shrinkwrap.json +677 -312
- package/package.json +3 -3
- package/site/public/favicon.svg +9 -6
- package/site/public/link-icons/stackledger-dark.svg +4 -3
- package/site/public/link-icons/stackledger-light.svg +4 -3
- package/site/src/components/Footer.astro +1 -1
- package/site/src/components/Header.astro +1 -1
- package/site/src/components/NewTabLink.astro +24 -0
- package/site/src/components/SkillItem.astro +7 -2
- package/site/src/components/SubNav.astro +2 -2
- package/site/src/pages/[reports].astro +2 -4
- package/site/src/pages/index.astro +6 -4
- package/site/src/pages/licences/[name].astro +2 -2
- package/site/src/pages/map/index.astro +4 -2
- package/site/src/pages/skill-map/[...map].astro +9 -8
- package/site/src/styles/tokens.css +1 -1
- package/site/public/brand-mark-dark.svg +0 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Catalogue repository template
|
|
2
2
|
|
|
3
|
-
A starting point for a Git repository that holds your [stackledger](https://github.com/brunosouzas/stackledger) catalogue and publishes its
|
|
3
|
+
A starting point for a Git repository that holds your [stackledger](https://github.com/brunosouzas/stackledger) catalogue and publishes its site with GitHub Actions to Cloudflare Pages, behind Cloudflare Access.
|
|
4
4
|
|
|
5
5
|
Copy everything in this folder, including `.github/` and `.gitignore`, to the root of a new **private** repository. Read access to the repository means reading the whole catalogue, costs included.
|
|
6
6
|
|
|
@@ -12,25 +12,13 @@ README.md this file; replace it with your own
|
|
|
12
12
|
|
|
13
13
|
The catalogue lives in `catalog/` so that stackledger never reads the workflow's own YAML (0.3.0 and earlier read hidden folders such as `.github/`; this template pins 0.8.0 (`@brunosouzas/stackledger`), which skips them, so the folder now only keeps the catalogue apart from the repository files). `catalog/catalog-info.yaml` holds one fictitious component, so the copy validates and builds as it is; replace it with yours ([catalogue format](https://github.com/brunosouzas/stackledger/blob/main/docs/catalogue-format.md)).
|
|
14
14
|
|
|
15
|
-
##
|
|
15
|
+
## One private site
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
stackledger builds one site at the root of the address, with everything in it: costs, renewals, payers and contract details ([ADR 13](https://github.com/brunosouzas/stackledger/blob/main/docs/adr/0013-one-private-site-at-the-root.md)). Whoever can open the address sees all of it, so you need **one** Cloudflare Access application, on the whole address, that lets in only the people who may see everything. The address `/` is the home page. Addresses of the older two-site layout (`/full/...`) redirect to the same path at the root, `renewals.ics` included.
|
|
18
18
|
|
|
19
|
-
-
|
|
19
|
+
Coming from the two-site layout, change Cloudflare Access first: replace the two applications (`/full/*` and the rest) by one on the whole address, and allow only the people who were on `/full/*`. Then deploy.
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
apiVersion: stackledger/v1alpha1
|
|
23
|
-
kind: Settings
|
|
24
|
-
metadata:
|
|
25
|
-
name: settings
|
|
26
|
-
spec:
|
|
27
|
-
sites: [full]
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
You need one Cloudflare Access application that lets in only you. The address `/` takes you to `/full/`.
|
|
31
|
-
- **Corporate** (the default, when `sites` is not set): a company where only some people may see costs. stackledger builds two sites: `full` for finance and `staff`, without costs and contract details, for everyone else. You need two Access applications: finance on `/full/*`, staff on the rest. The address `/` takes people to `/staff/`.
|
|
32
|
-
|
|
33
|
-
Both modes and the `_redirects` file need stackledger 0.1.0 or later, the version the workflow pins. You can switch later by changing `sites`; the next deploy publishes the new set of sites. Change Cloudflare Access first, so no site is ever open to the wrong people.
|
|
21
|
+
The workflow pins the stackledger release it runs (`STACKLEDGER`). The one-site layout comes with the first release after 0.10.1; with an older pin the build still writes `full/` and `staff/`, and the workflow would publish both, so move the pin to that release in the same pull request that adopts this template.
|
|
34
22
|
|
|
35
23
|
## What the workflow does
|
|
36
24
|
|
|
@@ -45,8 +33,8 @@ The `site` job:
|
|
|
45
33
|
|
|
46
34
|
1. scans the repository and its whole history for secrets with [gitleaks](https://github.com/gitleaks/gitleaks), a pinned release checked against its SHA-256; a finding fails the job;
|
|
47
35
|
2. runs `stackledger validate catalog`: an error fails the job before the build, a warning does not;
|
|
48
|
-
3. builds the
|
|
49
|
-
4. hands on
|
|
36
|
+
3. builds the site dated today in UTC, into a folder outside the repository;
|
|
37
|
+
4. hands on the site: every entry of the build folder except its marker file `.stackledger-build` (the job stops if a `.stackledger-tmp-*` staging folder is left there) (the pages, `renewals.ics`, `_headers`, `robots.txt` and `_redirects`), with the build date.
|
|
50
38
|
|
|
51
39
|
The `deploy` job runs on a fresh runner without a checkout. It installs wrangler with `--ignore-scripts` before any secret is present, then runs it from a folder that holds only the site. Each deployment is labelled with the commit and the build date, for example `stackledger 2026-10-21 <commit>`.
|
|
52
40
|
|
|
@@ -54,9 +42,9 @@ A re-run on the same UTC day deploys the same files.
|
|
|
54
42
|
|
|
55
43
|
## Setup
|
|
56
44
|
|
|
57
|
-
Do these steps in this order, so the
|
|
45
|
+
Do these steps in this order, so the site is never public.
|
|
58
46
|
|
|
59
|
-
1. **Protect the
|
|
47
|
+
1. **Protect the site first.** Create the Cloudflare Pages project empty and set up Cloudflare Access for it, as [docs/hosting.md](https://github.com/brunosouzas/stackledger/blob/main/docs/hosting.md) describes, on every address of the project: one Access application on the whole address, with a policy that allows only the people who may see everything. Do this **before** the first deploy.
|
|
60
48
|
2. **API token.** In the Cloudflare dashboard, My Profile → API Tokens → Create Token → Custom token, with the single permission Account → Cloudflare Pages → Edit, for one account only ([Cloudflare docs](https://developers.cloudflare.com/fundamentals/api/get-started/create-token/)).
|
|
61
49
|
3. **Repository secrets and variable.** In the repository settings, Secrets and variables → Actions:
|
|
62
50
|
- secret `CLOUDFLARE_API_TOKEN`: the token from step 2;
|
|
@@ -64,7 +52,7 @@ Do these steps in this order, so the sites are never public.
|
|
|
64
52
|
- variable `PAGES_PROJECT`: the name of the Pages project from step 1.
|
|
65
53
|
|
|
66
54
|
Only the deploy step reads them. Pull requests never deploy.
|
|
67
|
-
4. **Push to `main`.** The first run deploys. Then check the
|
|
55
|
+
4. **Push to `main`.** The first run deploys. Then check the site as `docs/hosting.md` says: anonymous requests, to `/` and to `/renewals.ics`, must be sent to the sign-in page.
|
|
68
56
|
|
|
69
57
|
## Versions
|
|
70
58
|
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
# stackledger behind Caddy and oauth2-proxy: a fictitious example (Northwind, example.org).
|
|
2
2
|
# The recipe, with the oauth2-proxy flags, is in docs/hosting.md.
|
|
3
3
|
#
|
|
4
|
-
#
|
|
5
|
-
#
|
|
6
|
-
#
|
|
7
|
-
#
|
|
8
|
-
#
|
|
9
|
-
#
|
|
10
|
-
#
|
|
4
|
+
# One site, one audience: every request is authenticated first, by oauth2-proxy at 127.0.0.1:4180.
|
|
5
|
+
# Only the group `readers` in X-Auth-Request-Groups counts: whoever is in it sees everything, so
|
|
6
|
+
# put in it only the people who may see costs and contracts. Anyone else gets 403. An address of
|
|
7
|
+
# the old two-site layout (/full, /full/...) redirects to the same path at the root, after the
|
|
8
|
+
# check, so a reader's old links and bookmarks keep working. A request without a session is sent
|
|
9
|
+
# to the sign-in page. When oauth2-proxy cannot be reached, Caddy answers 502 and serves nothing
|
|
10
|
+
# (it fails closed).
|
|
11
11
|
#
|
|
12
|
-
# /srv/stackledger/publish holds
|
|
12
|
+
# /srv/stackledger/publish holds the site files from stackledger build (everything except the
|
|
13
|
+
# .stackledger-build marker): index.html, the page folders, renewals.ics, _headers and robots.txt.
|
|
13
14
|
# Tested by test/integration/hosting-caddy.test.ts.
|
|
14
15
|
|
|
15
16
|
catalogue.example.org {
|
|
@@ -40,17 +41,13 @@ catalogue.example.org {
|
|
|
40
41
|
}
|
|
41
42
|
|
|
42
43
|
# oauth2-proxy sends the groups as a comma-separated list.
|
|
43
|
-
@
|
|
44
|
-
path /full /full/*
|
|
45
|
-
not header_regexp X-Auth-Request-Groups (^|,)\s*finance\s*(,|$)
|
|
46
|
-
}
|
|
47
|
-
respond @full_refused 403
|
|
48
|
-
|
|
49
|
-
@refused not header_regexp X-Auth-Request-Groups (^|,)\s*(staff|finance)\s*(,|$)
|
|
44
|
+
@refused not header_regexp X-Auth-Request-Groups (^|,)\s*readers\s*(,|$)
|
|
50
45
|
respond @refused 403
|
|
51
46
|
|
|
52
|
-
#
|
|
53
|
-
|
|
47
|
+
# Old two-site addresses: /full and /full/<path> are now /<path>. A path that starts with a
|
|
48
|
+
# second slash does not match, so the target can never be //other-host.
|
|
49
|
+
@old path_regexp old ^/full(?:/([^/].*)?)?$
|
|
50
|
+
redir @old /{re.old.1} 301
|
|
54
51
|
|
|
55
52
|
# The same headers stackledger writes into _headers, which Caddy does not read.
|
|
56
53
|
header {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# northwind-journeys
|
|
2
|
+
|
|
3
|
+
A fictitious setup for stackledger's documentation, tests and demo of the skills map as **journeys** (lines) and **marketplaces** (zones):
|
|
4
|
+
|
|
5
|
+
- `studio/`, `foundry/` and `integration/` are three fictitious Claude Code plugin marketplaces; `loose/` holds a skill that comes from none.
|
|
6
|
+
- `catalogue/` is a tiny catalogue. Its `Settings` reads the four folders and names its own skills map file, `catalogue/stackledger-skills.yaml`, with three journeys and one zone for each marketplace and for the loose skills.
|
|
7
|
+
|
|
8
|
+
```sh
|
|
9
|
+
npx @brunosouzas/stackledger build examples/northwind-journeys/catalogue --out /tmp/northwind-site
|
|
10
|
+
stackledger skills validate examples/northwind-journeys/studio examples/northwind-journeys/foundry examples/northwind-journeys/integration examples/northwind-journeys/loose --map examples/northwind-journeys/catalogue/stackledger-skills.yaml
|
|
11
|
+
```
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
apiVersion: backstage.io/v1alpha1
|
|
2
|
+
kind: Component
|
|
3
|
+
metadata:
|
|
4
|
+
name: northwind-wiki
|
|
5
|
+
title: Northwind Wiki
|
|
6
|
+
description: The team wiki of the fictitious Northwind company.
|
|
7
|
+
spec:
|
|
8
|
+
type: tool
|
|
9
|
+
lifecycle: active
|
|
10
|
+
owner: group:northwind
|
|
11
|
+
---
|
|
12
|
+
apiVersion: stackledger/v1alpha1
|
|
13
|
+
kind: Settings
|
|
14
|
+
metadata:
|
|
15
|
+
name: settings
|
|
16
|
+
spec:
|
|
17
|
+
skills:
|
|
18
|
+
folders: [../studio, ../foundry, ../integration, ../loose]
|
|
19
|
+
map: stackledger-skills.yaml
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# Fictitious Northwind journeys. A line is a kind of work; a zone is a marketplace (or `loose`, the skills of none).
|
|
2
|
+
# Stops use qualified names where two plugins share a plain name (the two `reviewer` agents).
|
|
3
|
+
apiVersion: stackledger/v1alpha1
|
|
4
|
+
kind: MapLayout
|
|
5
|
+
metadata:
|
|
6
|
+
name: northwind-journeys
|
|
7
|
+
spec:
|
|
8
|
+
stations:
|
|
9
|
+
"skill:writing:draft": [0, 0]
|
|
10
|
+
"skill:writing:edit": [2, 0]
|
|
11
|
+
"agent:writing:reviewer": [4, 0]
|
|
12
|
+
"skill:publishing:publish": [6, 0]
|
|
13
|
+
"skill:engineering:spec": [0, 4]
|
|
14
|
+
"skill:engineering:build": [2, 4]
|
|
15
|
+
"skill:engineering:review": [4, 4]
|
|
16
|
+
"agent:engineering:reviewer": [6, 4]
|
|
17
|
+
"skill:release:ship": [8, 4]
|
|
18
|
+
"skill:notes": [0, 6]
|
|
19
|
+
"skill:mule:contract": [2, 6]
|
|
20
|
+
"skill:mule:munit": [4, 6]
|
|
21
|
+
zones:
|
|
22
|
+
- { name: northwind-studio, title: Studio, color: "#F5A623" }
|
|
23
|
+
- { name: northwind-foundry, title: Foundry, color: "#7B61FF" }
|
|
24
|
+
- { name: northwind-integration, title: Integration, color: "#00A651" }
|
|
25
|
+
- { name: loose, title: Loose skills, color: "#808080" }
|
|
26
|
+
---
|
|
27
|
+
apiVersion: stackledger/v1alpha1
|
|
28
|
+
kind: Line
|
|
29
|
+
metadata:
|
|
30
|
+
name: publish
|
|
31
|
+
title: Publish an article
|
|
32
|
+
spec:
|
|
33
|
+
code: P
|
|
34
|
+
color: "#E4002B"
|
|
35
|
+
stops: ["skill:writing:draft", "skill:writing:edit", "agent:writing:reviewer", "skill:publishing:publish"]
|
|
36
|
+
---
|
|
37
|
+
apiVersion: stackledger/v1alpha1
|
|
38
|
+
kind: Line
|
|
39
|
+
metadata:
|
|
40
|
+
name: change
|
|
41
|
+
title: Ship a change
|
|
42
|
+
spec:
|
|
43
|
+
code: C
|
|
44
|
+
color: "#0072CE"
|
|
45
|
+
stops: ["skill:engineering:spec", "skill:engineering:build", "skill:engineering:review", "agent:engineering:reviewer", "skill:release:ship"]
|
|
46
|
+
---
|
|
47
|
+
apiVersion: stackledger/v1alpha1
|
|
48
|
+
kind: Line
|
|
49
|
+
metadata:
|
|
50
|
+
name: integration
|
|
51
|
+
title: Ship an integration change
|
|
52
|
+
spec:
|
|
53
|
+
code: I
|
|
54
|
+
color: "#00A651"
|
|
55
|
+
stops: ["skill:engineering:spec", "skill:notes", "skill:mule:contract", "skill:mule:munit", "skill:engineering:review", "skill:release:ship"]
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "northwind-foundry",
|
|
3
|
+
"owner": {
|
|
4
|
+
"name": "Northwind"
|
|
5
|
+
},
|
|
6
|
+
"plugins": [
|
|
7
|
+
{
|
|
8
|
+
"name": "engineering",
|
|
9
|
+
"source": "./plugins/engineering",
|
|
10
|
+
"description": "Fictitious engineering plugin."
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"name": "release",
|
|
14
|
+
"source": "./plugins/release",
|
|
15
|
+
"description": "Fictitious release plugin."
|
|
16
|
+
}
|
|
17
|
+
]
|
|
18
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "northwind-studio",
|
|
3
|
+
"owner": {
|
|
4
|
+
"name": "Northwind"
|
|
5
|
+
},
|
|
6
|
+
"plugins": [
|
|
7
|
+
{
|
|
8
|
+
"name": "writing",
|
|
9
|
+
"source": "./plugins/writing",
|
|
10
|
+
"description": "Fictitious writing plugin."
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"name": "publishing",
|
|
14
|
+
"source": "./plugins/publishing",
|
|
15
|
+
"description": "Fictitious publishing plugin."
|
|
16
|
+
}
|
|
17
|
+
]
|
|
18
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "northwind-skills",
|
|
3
|
+
"owner": { "name": "Northwind" },
|
|
4
|
+
"plugins": [
|
|
5
|
+
{ "name": "writing", "source": "./plugins/writing", "description": "Fictitious writing plugin." },
|
|
6
|
+
{ "name": "review", "source": "./plugins/review", "description": "Fictitious review plugin." },
|
|
7
|
+
{ "name": "external", "source": { "source": "github", "repo": "northwind/external-plugin" }, "description": "Fictitious remote plugin; stackledger does not fetch it." }
|
|
8
|
+
]
|
|
9
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# northwind-marketplace
|
|
2
|
+
|
|
3
|
+
A fictitious Claude Code plugin marketplace for stackledger's documentation, tests and demo. Two plugins (`writing`, `review`) hold an agent with the same name, `reviewer`; a third entry has a remote source, which stackledger skips with a warning. Read it with:
|
|
4
|
+
|
|
5
|
+
```sh
|
|
6
|
+
stackledger skills validate examples/northwind-marketplace
|
|
7
|
+
```
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "name": "writing", "description": "Fictitious writing plugin for stackledger." }
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: publish
|
|
3
|
+
description: "Publishes a Northwind article: drafts it, has it checked and reviewed."
|
|
4
|
+
metadata:
|
|
5
|
+
stackledger-kind: playbook
|
|
6
|
+
stackledger-skills: draft review:checklist
|
|
7
|
+
stackledger-agents: reviewer
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Publish
|
|
11
|
+
|
|
12
|
+
Fictitious example for stackledger. `draft` is this plugin's skill; `review:checklist` is the qualified name of a skill of another plugin.
|