Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"name": "aiplus",
"source": "./adapters/claude",
"description": "Keeps every Claude session efficient: lead model plans and reviews, cheap subagents execute, minimal reads, one retry, routing to your installed plugins.",
"version": "0.7.1"
"version": "0.7.2"
}
]
}
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

Newest first.

## 0.7.2: 2026-11-22

**Added**
- New `references/factory-workflow.md`, linked from the skill: a short, general workflow for coding done by delegated agents (issue with acceptance criteria and tests first, own worktree and branch with a pull request, bounded CI retries, merge gate with human review, optional holdout scenarios, start small). Dedicated development plugins own the detail.

## 0.7.1: 2026-11-22

**Changed**
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Keeps every Claude session efficient: lead model plans and reviews, cheap subage

**Download:** [aiplus.plugin](https://github.com/syncwin/aiplus/releases/latest/download/aiplus.plugin) (always the latest release)

**Version** 0.7.1 - **Author** SyncWin - **License** MIT
**Version** 0.7.2 - **Author** SyncWin - **License** MIT

## Layout

Expand Down
4 changes: 2 additions & 2 deletions adapters/claude/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "aiplus",
"displayName": "AI+",
"version": "0.7.1",
"version": "0.7.2",
"description": "Keeps every Claude session efficient: lead model plans and reviews, cheap subagents execute, minimal reads, one retry, routing to your installed plugins.",
"license": "MIT",
"author": {
Expand All @@ -10,7 +10,7 @@
},
"metadata": {
"displayName": "AI+",
"version": "0.7.1",
"version": "0.7.2",
"author": "SyncWin",
"company": "SyncWin"
},
Expand Down
5 changes: 5 additions & 0 deletions adapters/claude/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

Newest first.

## 0.7.2: 2026-11-22

**Added**
- New `references/factory-workflow.md`, linked from the skill: a short, general workflow for coding done by delegated agents (issue with acceptance criteria and tests first, own worktree and branch with a pull request, bounded CI retries, merge gate with human review, optional holdout scenarios, start small). Dedicated development plugins own the detail.

## 0.7.1: 2026-11-22

**Changed**
Expand Down
1 change: 1 addition & 0 deletions adapters/claude/skills/aiplus/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ Generated from `core/rules.md`; reasons in `references/rules.md`.
- **Start:** size the task S, M or L (rule 11), load progress (rule 10), say the rules and skills in play in one line (rule 14), and for a medium, large or ambiguous request show the tight rewritten prompt in one block (rule 15). The steps in "Required steps" below always apply; `references/session-start.md` and `references/prompt-nudge.md` give the detail.
- **Routing:** once per session, when a task may fit an installed plugin or skill, build the routing table by following `references/plugin-scan.md` (rule 9). For a plugin that is not installed, read `references/recommended.md`.
- **No code:** the plugin is text only and no hooks run. The recipes in `references/` are the method and need no Python or other install.
- **Coding by agents:** for code changes done by delegated agents, follow `references/factory-workflow.md` (rules 4, 9 and 11).
- **Handoff:** for "write a handoff" or a nearly full context, run `aiplus-handoff`.
- **Setup:** for "set up this project" or "new repo", run `aiplus-setup`.
- **Overrule:** if the user asks to break a rule, state the exception back in one line and proceed only after they confirm (rule 12).
Expand Down
9 changes: 9 additions & 0 deletions adapters/claude/skills/aiplus/references/factory-workflow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Factory workflow (coding work done by delegated agents)

Keep this lean. A dedicated development plugin owns the detail (stack, review lenses, release steps); when one is installed it wins (rule 9). This page only sets the shape.

1. **Issue first.** Every coding change starts as an issue with acceptance criteria. Write the tests first: the merge gate only knows what the tests know.
2. **Isolated work.** The agent works in its own worktree and branch and opens a pull request. When CI fails, send the failure back to the agent. Allow a bounded number of tries (one retry, rule 4), then stop and report.
3. **Merge gate.** Tests passed, review approved, and the change matches the issue scope. A human reviews every pull request; the requester is not the approver.
4. **Holdout scenarios (optional, larger work).** Keep a few test scenarios the building agent never sees, and run them before merge.
5. **Start small.** One agent and small, well-described issues. Never run a setup without review.
2 changes: 1 addition & 1 deletion tests/test_recipes.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
ROOT = os.path.normpath(os.path.join(os.path.dirname(os.path.abspath(__file__)), ".."))
SKILL_DIR = os.path.join(ROOT, "adapters", "claude", "skills", "aiplus")
REFS = os.path.join(SKILL_DIR, "references")
NAMES = ("session-start", "prompt-nudge", "agent-notice", "screen-injection", "evidence-check", "plugin-scan")
NAMES = ("session-start", "prompt-nudge", "agent-notice", "screen-injection", "evidence-check", "plugin-scan", "factory-workflow")


def read(*parts):
Expand Down