marcos-ai-bootstrap 0.1.7 → 0.1.8
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 +6 -3
- package/package.json +1 -1
- package/src/.agents/skills/initialize/SKILL.md +4 -4
- package/src/.agents/skills/{pr → pull-request}/SKILL.md +2 -2
- package/src/.claude/skills/initialize/SKILL.md +4 -4
- package/src/.claude/skills/{pr → pull-request}/SKILL.md +2 -2
- package/src/.github/skills/initialize/SKILL.md +4 -4
- package/src/.github/skills/{pr → pull-request}/SKILL.md +2 -2
- package/src/HUMAN.md +1 -1
- package/src/MARCOS-AI-BOOTSTRAP.md +4 -4
package/README.md
CHANGED
|
@@ -120,10 +120,13 @@ major version:
|
|
|
120
120
|
|
|
121
121
|
| Commit type | Result (pre-1.0) |
|
|
122
122
|
|---|---|
|
|
123
|
-
| `fix:` / `feat:`
|
|
123
|
+
| `fix:` / `feat:` | patch (e.g. `0.1.0` → `0.1.1`) |
|
|
124
124
|
| `feat!:` or a `BREAKING CHANGE:` footer | minor (e.g. `0.1.0` → `0.2.0`) |
|
|
125
125
|
| any commit with a `Release-As: X.Y.Z` footer | forces exactly that version |
|
|
126
126
|
|
|
127
|
+
These commit types do **not** trigger a release on their own: `refactor:`, `chore:`,
|
|
128
|
+
`docs:`, `perf:`, `test:`, `ci:`, `build:`, `style:`. (`bump-patch-for-minor-pre-major`
|
|
129
|
+
only sizes a bump that is already triggered — it does not make these types releasable.)
|
|
130
|
+
|
|
127
131
|
Cut `1.0.0` with a `Release-As: 1.0.0` commit when the API is stable; after that, standard
|
|
128
|
-
SemVer applies (`feat:` → minor, breaking → major).
|
|
129
|
-
`ci:`) won't create a Release PR on their own.
|
|
132
|
+
SemVer applies (`feat:` → minor, breaking → major).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "marcos-ai-bootstrap",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"description": "Materialise the AI-Bootstrap agent/skill network (Claude Code, Codex, GitHub Copilot CLI) into any repository from the command line.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"marcos-ai-bootstrap": "src/bin/ai-bootstrap.js"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: initialize
|
|
3
|
-
description: One-time environment reconciliation. First wires this tool's instruction file to the shipped MARCOS-AI-BOOTSTRAP.md rules (appending an @-include, never overwriting; creating the file if absent). Discovers applicable MCP servers and, with user approval, installs and wires them into the infra/planner agents; discovers where plan documents actually live and, after user confirmation, wires the planner/implement/docs agents to that location; scans past PRs, branch names, and commit history and, after user confirmation, customises the `
|
|
3
|
+
description: One-time environment reconciliation. First wires this tool's instruction file to the shipped MARCOS-AI-BOOTSTRAP.md rules (appending an @-include, never overwriting; creating the file if absent). Discovers applicable MCP servers and, with user approval, installs and wires them into the infra/planner agents; discovers where plan documents actually live and, after user confirmation, wires the planner/implement/docs agents to that location; scans past PRs, branch names, and commit history and, after user confirmation, customises the `pull-request` skill's convention profile; then always prompts the user to choose the model for each tier/role (pre-selecting the current model, or the closest available match when it is unavailable) and rewrites the agent files. Never commits.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
You are the initialize orchestrator. Reconcile this repo's agent network with the current environment in the phases below. This skill only edits agent and skill files, the tool's instruction entry-point, and MCP config; it never touches source code and never commits.
|
|
@@ -55,7 +55,7 @@ The full agent rules ship as `MARCOS-AI-BOOTSTRAP.md` at the repo root. Ensure t
|
|
|
55
55
|
|
|
56
56
|
## Phase 4 - PR & contribution convention discovery
|
|
57
57
|
|
|
58
|
-
Customise the `
|
|
58
|
+
Customise the `pull-request` skill so it matches how THIS repository actually works, learned from its own history rather than assumed defaults.
|
|
59
59
|
|
|
60
60
|
1. Gather evidence of the repo's conventions:
|
|
61
61
|
- **Past PRs** - `gh pr list --state merged --limit 50 --json number,title,headRefName,body`. Infer PR-title patterns (Conventional Commits, ticket prefixes like `[ABC-123]`, sentence vs lower case), branch-name patterns (prefixes, separators, casing), and PR-body structure (required sections, checklists).
|
|
@@ -64,8 +64,8 @@ Customise the `pr` skill so it matches how THIS repository actually works, learn
|
|
|
64
64
|
- **Repo settings** - `gh repo view --json defaultBranchRef,mergeCommitAllowed,squashMergeAllowed,rebaseMergeAllowed` for the default branch and allowed merge methods.
|
|
65
65
|
2. Synthesise a concise convention profile: branch-name rules, commit-message rules, PR-title rules, PR-body/template rules, and any release-automation constraints. Prefer the dominant observed pattern; where history is sparse or inconsistent, fall back to the general Conventional Commits defaults and say so explicitly.
|
|
66
66
|
3. Present the inferred profile to the user for confirmation or edits. Do not rewrite the skill without confirmation.
|
|
67
|
-
4. On confirmation, rewrite ONLY the "Repository conventions" block of `.agents/skills/
|
|
68
|
-
5. Report the resolved convention profile and confirm the `
|
|
67
|
+
4. On confirmation, rewrite ONLY the "Repository conventions" block of `.agents/skills/pull-request/SKILL.md` - the text between the `<!-- CONVENTIONS:START -->` and `<!-- CONVENTIONS:END -->` markers - with the confirmed profile. Leave the rest of the skill untouched.
|
|
68
|
+
5. Report the resolved convention profile and confirm the `pull-request` skill was updated.
|
|
69
69
|
|
|
70
70
|
## Guardrails
|
|
71
71
|
- Never commit or push - you edit agent and skill files and MCP config; the user commits.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
---
|
|
2
|
-
name:
|
|
2
|
+
name: pull-request
|
|
3
3
|
description: Open a pull request that follows this repository's conventions for branch names, commit messages, and PR titles and bodies. Verifies you are on a working branch, checks and repairs the branch/commits/title against the active convention profile, pushes, and opens the PR with the GitHub CLI. Never merges the PR.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
You are the
|
|
6
|
+
You are the pull-request orchestrator. Open a pull request that conforms to this repository's contribution conventions, then hand off to the user to merge. Never merge the PR yourself and never push to the default branch.
|
|
7
7
|
|
|
8
8
|
## Convention profile
|
|
9
9
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: initialize
|
|
3
|
-
description: One-time environment reconciliation. First wires this tool's instruction file to the shipped MARCOS-AI-BOOTSTRAP.md rules (appending an @-include, never overwriting; creating the file if absent). Discovers applicable MCP servers and, with user approval, installs and wires them into the infra/planner agents; discovers where plan documents actually live and, after user confirmation, wires the planner/implement/docs agents to that location; scans past PRs, branch names, and commit history and, after user confirmation, customises the `
|
|
3
|
+
description: One-time environment reconciliation. First wires this tool's instruction file to the shipped MARCOS-AI-BOOTSTRAP.md rules (appending an @-include, never overwriting; creating the file if absent). Discovers applicable MCP servers and, with user approval, installs and wires them into the infra/planner agents; discovers where plan documents actually live and, after user confirmation, wires the planner/implement/docs agents to that location; scans past PRs, branch names, and commit history and, after user confirmation, customises the `pull-request` skill's convention profile; then always prompts the user to choose the model for each tier/role (pre-selecting the current model, or the closest available match when it is unavailable) and rewrites the agent files. Never commits.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
You are the initialize orchestrator. Reconcile this repo's agent network with the current environment in the phases below. This skill only edits agent and skill files, the tool's instruction entry-point, and MCP config; it never touches source code and never commits.
|
|
@@ -55,7 +55,7 @@ The full agent rules ship as `MARCOS-AI-BOOTSTRAP.md` at the repo root. Ensure t
|
|
|
55
55
|
|
|
56
56
|
## Phase 4 — PR & contribution convention discovery
|
|
57
57
|
|
|
58
|
-
Customise the `
|
|
58
|
+
Customise the `pull-request` skill so it matches how THIS repository actually works, learned from its own history rather than assumed defaults.
|
|
59
59
|
|
|
60
60
|
1. Gather evidence of the repo's conventions:
|
|
61
61
|
- **Past PRs** — `gh pr list --state merged --limit 50 --json number,title,headRefName,body`. Infer PR-title patterns (Conventional Commits, ticket prefixes like `[ABC-123]`, sentence vs lower case), branch-name patterns (prefixes, separators, casing), and PR-body structure (required sections, checklists).
|
|
@@ -64,8 +64,8 @@ Customise the `pr` skill so it matches how THIS repository actually works, learn
|
|
|
64
64
|
- **Repo settings** — `gh repo view --json defaultBranchRef,mergeCommitAllowed,squashMergeAllowed,rebaseMergeAllowed` for the default branch and allowed merge methods.
|
|
65
65
|
2. Synthesise a concise convention profile: branch-name rules, commit-message rules, PR-title rules, PR-body/template rules, and any release-automation constraints. Prefer the dominant observed pattern; where history is sparse or inconsistent, fall back to the general Conventional Commits defaults and say so explicitly.
|
|
66
66
|
3. Present the inferred profile to the user for confirmation or edits. Do not rewrite the skill without confirmation.
|
|
67
|
-
4. On confirmation, rewrite ONLY the "Repository conventions" block of `.claude/skills/
|
|
68
|
-
5. Report the resolved convention profile and confirm the `
|
|
67
|
+
4. On confirmation, rewrite ONLY the "Repository conventions" block of `.claude/skills/pull-request/SKILL.md` — the text between the `<!-- CONVENTIONS:START -->` and `<!-- CONVENTIONS:END -->` markers — with the confirmed profile. Leave the rest of the skill untouched.
|
|
68
|
+
5. Report the resolved convention profile and confirm the `pull-request` skill was updated.
|
|
69
69
|
|
|
70
70
|
## Guardrails
|
|
71
71
|
- Never commit or push — you edit agent and skill files and MCP config; the user commits.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
---
|
|
2
|
-
name:
|
|
2
|
+
name: pull-request
|
|
3
3
|
description: Open a pull request that follows this repository's conventions for branch names, commit messages, and PR titles and bodies. Verifies you are on a working branch, checks and repairs the branch/commits/title against the active convention profile, pushes, and opens the PR with the GitHub CLI. Never merges the PR.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
You are the
|
|
6
|
+
You are the pull-request orchestrator. Open a pull request that conforms to this repository's contribution conventions, then hand off to the user to merge. Never merge the PR yourself and never push to the default branch.
|
|
7
7
|
|
|
8
8
|
## Convention profile
|
|
9
9
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: initialize
|
|
3
|
-
description: One-time environment reconciliation. First wires this tool's instruction file to the shipped MARCOS-AI-BOOTSTRAP.md rules (appending an @-include, never overwriting; creating the file if absent). Discovers applicable MCP servers and, with user approval, installs and wires them into the infra/planner agents; discovers where plan documents actually live and, after user confirmation, wires the planner/implement/docs agents to that location; scans past PRs, branch names, and commit history and, after user confirmation, customises the `
|
|
3
|
+
description: One-time environment reconciliation. First wires this tool's instruction file to the shipped MARCOS-AI-BOOTSTRAP.md rules (appending an @-include, never overwriting; creating the file if absent). Discovers applicable MCP servers and, with user approval, installs and wires them into the infra/planner agents; discovers where plan documents actually live and, after user confirmation, wires the planner/implement/docs agents to that location; scans past PRs, branch names, and commit history and, after user confirmation, customises the `pull-request` skill's convention profile; then always prompts the user to choose the model for each tier/role (pre-selecting the current model, or the closest available match when it is unavailable) and rewrites the agent files. Never commits.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
You are the initialize orchestrator. Reconcile this repo's agent network with the current environment in the phases below. This skill only edits agent and skill files, the tool's instruction entry-point, and MCP config; it never touches source code and never commits.
|
|
@@ -57,7 +57,7 @@ Role-specific override: `infra-copilot` uses `gpt-5.4`.
|
|
|
57
57
|
|
|
58
58
|
## Phase 4 — PR & contribution convention discovery
|
|
59
59
|
|
|
60
|
-
Customise the `
|
|
60
|
+
Customise the `pull-request` skill so it matches how THIS repository actually works, learned from its own history rather than assumed defaults.
|
|
61
61
|
|
|
62
62
|
1. Gather evidence of the repo's conventions:
|
|
63
63
|
- **Past PRs** — `gh pr list --state merged --limit 50 --json number,title,headRefName,body`. Infer PR-title patterns (Conventional Commits, ticket prefixes like `[ABC-123]`, sentence vs lower case), branch-name patterns (prefixes, separators, casing), and PR-body structure (required sections, checklists).
|
|
@@ -66,8 +66,8 @@ Customise the `pr` skill so it matches how THIS repository actually works, learn
|
|
|
66
66
|
- **Repo settings** — `gh repo view --json defaultBranchRef,mergeCommitAllowed,squashMergeAllowed,rebaseMergeAllowed` for the default branch and allowed merge methods.
|
|
67
67
|
2. Synthesise a concise convention profile: branch-name rules, commit-message rules, PR-title rules, PR-body/template rules, and any release-automation constraints. Prefer the dominant observed pattern; where history is sparse or inconsistent, fall back to the general Conventional Commits defaults and say so explicitly.
|
|
68
68
|
3. Present the inferred profile to the user for confirmation or edits. Do not rewrite the skill without confirmation.
|
|
69
|
-
4. On confirmation, rewrite ONLY the "Repository conventions" block of `.github/skills/
|
|
70
|
-
5. Report the resolved convention profile and confirm the `
|
|
69
|
+
4. On confirmation, rewrite ONLY the "Repository conventions" block of `.github/skills/pull-request/SKILL.md` — the text between the `<!-- CONVENTIONS:START -->` and `<!-- CONVENTIONS:END -->` markers — with the confirmed profile. Leave the rest of the skill untouched.
|
|
70
|
+
5. Report the resolved convention profile and confirm the `pull-request` skill was updated.
|
|
71
71
|
|
|
72
72
|
## Guardrails
|
|
73
73
|
- Never commit or push — you edit agent and skill files and MCP config; the user commits.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
---
|
|
2
|
-
name:
|
|
2
|
+
name: pull-request
|
|
3
3
|
description: Open a pull request that follows this repository's conventions for branch names, commit messages, and PR titles and bodies. Verifies you are on a working branch, checks and repairs the branch/commits/title against the active convention profile, pushes, and opens the PR with the GitHub CLI. Never merges the PR.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
You are the
|
|
6
|
+
You are the pull-request orchestrator. Open a pull request that conforms to this repository's contribution conventions, then hand off to the user to merge. Never merge the PR yourself and never push to the default branch.
|
|
7
7
|
|
|
8
8
|
## Convention profile
|
|
9
9
|
|
package/src/HUMAN.md
CHANGED
|
@@ -29,5 +29,5 @@ Once the files are written:
|
|
|
29
29
|
1. **`/planner`** — Give a basic outline of what you want to build. The agent asks clarifying questions and iterates until it has a complete plan for the feature, bugfix, or chore.
|
|
30
30
|
2. **`/clear`** — Clear the context window.
|
|
31
31
|
3. **`/implement`** — Paste the path to the plan that was created, e.g. `documents/plans/20260101-plan.md`.
|
|
32
|
-
4. **`/
|
|
32
|
+
4. **`/pull-request`** — Open a pull request with Conventional Commit messages so the release-please workflow can cut a release once merged.
|
|
33
33
|
5. **`/watch-ci`** — Paste the PR or GitHub Actions run. It watches the build to make sure everything passes, fixing bugs in real time if needed.
|
|
@@ -139,11 +139,11 @@ cannot edit locally, so it watches, diagnoses, and reports the fix back to the u
|
|
|
139
139
|
**Guardrails:** Never commits or pushes — agents edit files, the user commits. Never works on `main` (uses the plan's branch). Honours each phase's agent designation exactly; stops on a failed phase.
|
|
140
140
|
|
|
141
141
|
### initialize
|
|
142
|
-
**Purpose:** One-time environment reconciliation. First ensures the tool's instruction file (`CLAUDE.md`, `AGENTS.md`, or `.github/copilot-instructions.md`) references the shipped `MARCOS-AI-BOOTSTRAP.md` rules — appending a short `@MARCOS-AI-BOOTSTRAP.md` include (never overwriting existing content), or creating the file if it does not exist. Discovers applicable MCP servers (via the MCP Servers discovery → policy-check → install flow) and, with user approval, installs and wires them into the `infra` and `planner` agents. Discovers where plan documents actually live in the repo and, after explicit user confirmation, wires the `planner`, `implement`, and `docs` agents/skills to that location. Scans the repository's history (past merged PRs, branch names, commit subjects, and any CONTRIBUTING / PR-template / commit-lint / release-automation config) and, after user confirmation, customises the `
|
|
143
|
-
**Pipeline:** rules-file include wiring → MCP discovery → user approval → install + wire agents → plans-location discovery → user confirmation → rewrite plan-location references → PR/commit-convention discovery → user confirmation → customise the `
|
|
144
|
-
**Guardrails:** Never commits or pushes. Only edits agent/skill files, the tool's instruction entry-point, and MCP config — never source code. Appends to (never clobbers) an existing instruction file. Never installs a policy-blocked or unapproved server. Never changes the plans location or `
|
|
142
|
+
**Purpose:** One-time environment reconciliation. First ensures the tool's instruction file (`CLAUDE.md`, `AGENTS.md`, or `.github/copilot-instructions.md`) references the shipped `MARCOS-AI-BOOTSTRAP.md` rules — appending a short `@MARCOS-AI-BOOTSTRAP.md` include (never overwriting existing content), or creating the file if it does not exist. Discovers applicable MCP servers (via the MCP Servers discovery → policy-check → install flow) and, with user approval, installs and wires them into the `infra` and `planner` agents. Discovers where plan documents actually live in the repo and, after explicit user confirmation, wires the `planner`, `implement`, and `docs` agents/skills to that location. Scans the repository's history (past merged PRs, branch names, commit subjects, and any CONTRIBUTING / PR-template / commit-lint / release-automation config) and, after user confirmation, customises the `pull-request` skill's convention profile to match. Then always prompts the user, via a dropdown, to choose the model for each tier/role — pre-selecting the currently configured model when it is available, or the closest available match when it is not — and rewrites the agent files.
|
|
143
|
+
**Pipeline:** rules-file include wiring → MCP discovery → user approval → install + wire agents → plans-location discovery → user confirmation → rewrite plan-location references → PR/commit-convention discovery → user confirmation → customise the `pull-request` skill → enumerate available models → user chooses model per tier/role (always) → rewrite agent files.
|
|
144
|
+
**Guardrails:** Never commits or pushes. Only edits agent/skill files, the tool's instruction entry-point, and MCP config — never source code. Appends to (never clobbers) an existing instruction file. Never installs a policy-blocked or unapproved server. Never changes the plans location or `pull-request` conventions without explicit user confirmation. Idempotent for include wiring, MCP wiring, and the plans location; model selection is always offered, but keeping the current choice leaves files unchanged.
|
|
145
145
|
|
|
146
|
-
###
|
|
146
|
+
### pull-request
|
|
147
147
|
**Purpose:** Open a pull request that follows THIS repository's contribution conventions — branch names, commit-message format, PR title, and PR body — defaulting to widely-used best practices (kebab-case typed branches, Conventional Commits) until the `initialize` skill customises the convention profile from the repo's own history. Prevents malformed PRs and, where release automation (e.g. release-please) is in use, the failure mode where a non-conventional commit lands on the default branch and the release is silently skipped.
|
|
148
148
|
**Pipeline:** resolve the default branch → branch check (never the default branch) → validate/repair the branch name and commit subjects against the active convention → push → derive and validate a conventional PR title and body → `gh pr create` → report the PR URL and any repo-specific merge/release guidance.
|
|
149
149
|
**Guardrails:** Never merges the PR — opening it is the final step; the user merges. Never pushes to or commits on the default branch. Force-pushes only to complete a reword/rebase the user explicitly approved. Never uses `--no-verify`.
|