bama
BAMA: Build Any Mac App. Agent skills to research, clone, design, build, optimize, and test native macOS apps with Swift and SwiftUI.
翻译准备中
A lean dev loop for human+AI collaboration. Four skills, one crew.
翻译准备中
技能JavaScriptGitHub @sidtheone自行安装运营者未确认
试用过了吗? 点一下就好,无需登录。
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
安装型项目无需部署域名也可验证。个人仓库可通过 GitHub 登录验证,组织仓库可使用上方的仓库验证文件。
正在加载完整 README。 以下为已保存的摘录。
An opinionated dev engine for human+AI teams. 11 skills, 9 personas, one pipeline. Structured briefs, greenfield detection, ATDD, 3-agent fix pipeline, deterministic work decomposition, and immersive themed orchestration.
Most AI dev tools give you options. Pick your workflow. Configure your pipeline. Choose your agents. That flexibility is the problem — it's where drift starts.
InsightsLoop takes the opposite approach: one pipeline, no options. The engine decides which agents run, what gets reviewed, when chaos hits. You don't configure it. You trust it or you use something else.查看完整 README ↗An opinionated dev engine for human+AI teams. 11 skills, 9 personas, one pipeline. Structured briefs, greenfield detection, ATDD, 3-agent fix pipeline, deterministic work decomposition, and immersive themed orchestration.
/insight-plan → /insight-devloop (or /insight-devloopfast) → /insight-retro
Most AI dev tools give you options. Pick your workflow. Configure your pipeline. Choose your agents. That flexibility is the problem — it's where drift starts.
InsightsLoop takes the opposite approach: one pipeline, no options. The engine decides which agents run, what gets reviewed, when chaos hits. You don't configure it. You trust it or you use something else.
This works better for three reasons:
Friction prevents drift. Every feature passes through gates — TDD contracts, adversarial review, chaos testing. You can't skip them. If everything is going well, nothing is going well. The friction is what keeps your code honest.
Opinions are faster than decisions. Weekend builders don't have time to evaluate five approaches. The engine picks one — the right one — and you ship. Less deciding, more building.
Quality at the gate, not after the fact. Untested code doesn't leave the engine. The Monkey breaks what you thought was solid. The Storm finds the leak before production does. By the time code ships, it's been challenged from every angle.
InsightsLoop ships with default engineering, UX, and security values in VALUES.md. Every skill loads them before execution. Every agent enforces them. The Monkey uses your values offensively — she catches the crew not following them.
Your project should add its own Product Values — the principles that define what your product cares about. Override or extend the defaults by creating a VALUES.md at your project's repo root using AssertValues or by hand. Project values take precedence over engine defaults.
Optionally add TDD-MATRIX.md to define when to test first vs. after — the Sentinel loads it as a gate.
Every step has a persona. These aren't decoration — they define how each agent thinks and what it refuses to compromise on.
| Persona | Role | Skill | Model |
|---|---|---|---|
| The Navigator | Veteran planner — leads with constraints, asks the uncomfortable question | /insight-plan | Opus |
| The Quartermaster | Duty roster — turns charts into watch assignments, no crew member guesses their job | /insight-quartermaster | Opus |
| The Sentinel | Law writer — one clause, one assertion, one unambiguous verdict | /insight-sentinel | Opus |
| The Shipwright | Stonemason — quiet pride, won't touch what isn't his | /insight-shipwright | Sonnet |
| The Storm | Hull inspector — presses seams, traces consequences one layer further | /insight-storm | Opus |
| The Cartographer | Maps every path, marks every cliff — no personality, no opinions | /insight-edge-case-hunter | Sonnet |
| The Monkey | Enthusiastic chaos — pokes assumptions across every vertical until something wobbles | /insight-monkey | Opus |
| The Helmsman | Visceral minimalist — "what happens if we remove this?" | /insight-ux | Opus |
| The Lookout | Sharp record-keeper — "Burned us:" entries, mistakes first | /insight-retro | Sonnet |
/insight-plan — The Navigator explores the codebase, asks hard questions, designs architecture, writes Acceptance Criteria, then runs Monkey + Storm in parallel to challenge the plan before it ships. Produces plan.md (with Challenge section and Acceptance Criteria). Visual Spec section uses explicit MOVE/DELETE/ADD/KEEP instructions — every MOVE implies a DELETE at the source. For UI stories, asks whether to generate a visual HTML mockup (--mockup via /frontend-design) or keep it structural (ASCII wireframe). Theme-aware — Navigator speaks in themed voice between phases, plan content stays plain.
/insight-devloop — The crew takes the charts and builds:
/insight-retroAskUserQuestion — frame approval, Monkey findings, Storm TDD gaps, merge conflicts, post-findings, pre-archive./insight-devloopfast — Speed mode. Same crew, same brief construction, same greenfield gate, same ATDD, same Storm TDD Review, same 3-agent fix pipeline. Auto-triages small/medium (no approval gate), confidence-filters all findings at 80+ (Storm, Cartographer, and Monkey). Below-threshold findings saved to filtered-findings.md, never discarded. User gates remain for architectural changes, greenfield scaffolding, merge conflicts, and pre-archive confirmation.
| Step | Agent | What it does |
|---|---|---|
| Frame | Quartermaster | Decomposes plan into atomic tasks, worktree assignments, test file mapping, sharpened acceptance criteria |
| Frame | Monkey (all verticals) | Challenges the plan across arch/data/security/integration/ops before code exists |
| TDD | Storm (TDD Review) | Adversarial review of Sentinel's test contracts — missing coverage, wrong abstraction |
| Ship | Storm (Verify) + Cartographer (parallel) | Adversarial code review + edge case enumeration on merged diff |
| Ship | Monkey (all verticals) | Single pass across all verticals on merged diff — finds what Storm + Cartographer missed |
Each crew member can be invoked directly for focused work outside the loop:
/insight-quartermaster — Work decomposition agent. Takes any plan.md (from Navigator, hand-written, or another engine) and produces a deterministic frame.md — atomic tasks, worktree assignments, parallelization plan, test file mapping, sharpened acceptance criteria. Explores the codebase to make informed split decisions. Handles greenfield detection and scaffolding checklists. Never modifies the plan — reads it, decomposes it, flags concerns.
/insight-sentinel — TDD contract writer. Derives failing test suites from plan intent. Tests behavior, not implementation. Boundary conditions are not optional.
/insight-shipwright — Implementation builder. Makes failing tests pass — fast, clean, no wasted wood. Follows Visual Spec as a hard instruction. Receives mockup as visual reference when available. Invokes /frontend-design for UI components, constrained by project values. 3 attempts max.
/insight-storm — Adversarial code reviewer + consistency enforcer. Four modes: Verify (adversarial review + consistency), Plan Review (challenge plan assumptions and acceptance criteria), TDD Review (check test contracts for gaps), and Fix Spec (write fix specifications for Sentinel and Shipwright to implement). Traces inputs, outputs, irreversible decisions, and implicit assumptions. Separates introduced vs pre-existing issues.
/insight-monkey — The Monkey, standalone. Point her at a file, a plan, a diff, or a decision. She picks techniques from her arsenal, applies them across verticals with specificity, and produces structured findings. Not a reviewer — a disruptor.
/insight-edge-case-hunter — The Cartographer maps every code path mechanically. Called at Ship (as an Agent for parallel execution), also standalone. Markdown table output. Empty report is valid.
/insight-ux — The Helmsman. Minimalist UX designer invoked when a story has a user-facing surface. Produces: user goal, flow (max 5 steps), layout (ASCII wireframe or HTML mockup via --mockup), cut list, and copy. With --mockup, reads existing pages for current design scheme and invokes /frontend-design constrained by project values. Mockup saved to .insightsLoop/current/mockup.html and passed to the Shipwright as visual contract. Subtract, don't add.
/insight-retro — The Lookout captures what the crew learned. Reads all artifacts including Monkey findings and filtered findings. Evaluates the confidence filter. Looks across multiple runs for patterns. Updates project knowledge.
/insight-plan (Phase 4: UI Surface Check)
→ asks: mockup or ASCII?
→ if mockup: /insight-ux --mockup
→ reads existing pages for current scheme
→ reads VALUES.md for constraints
→ invokes /frontend-design (constrained by values + existing scheme)
→ writes .insightsLoop/current/mockup.html
→ user gate: approve / revise / scrap
/insight-devloop (Step 2b: Shipwright brief)
→ passes mockup path to Shipwright (not contents — avoids context bloat)
→ Shipwright reads mockup.html directly when building UI
→ invokes /frontend-design again for production code (with mockup + values + existing pages)
Precedence: VALUES.md > Visual Spec > mockup > existing codebase patterns
The Monkey is what makes InsightsLoop different. She's not a checklist. She's not a second reviewer. She's the Monkey in the machine — endlessly curious, enthusiastically chaotic, twisting every dial she can find. A real Opus agent with eight chaos techniques:
She runs twice: at Frame (all verticals against the plan — cheap to fix) and at Build (all verticals against the merged diff — verification pass). 3 findings per vertical by default (configurable). With 5 verticals, that's 15 findings per invocation. Her output includes a Survived field — because resilience confirmed is as valuable as weakness found. She never pokes the same spot twice.
Every decision point in the loop uses the AskUserQuestion tool — never plain text output. This makes it unmistakable when the engine needs you.
| Skill | Gate | When |
|---|---|---|
/insight-plan | Story selection | Phase 1 |
/insight-plan | Mockup or ASCII | Phase 4 (UI stories) |
/insight-plan | Architecture choice | Phase 4 |
/insight-plan | Monkey + Storm plan review | Phase 5 |
/insight-plan | Final plan approval | Phase 6 |
/insight-ux | UX spec review | After 5 sections |
/insight-ux | Mockup review | After --mockup HTML |
/insight-devloop | Greenfield scaffolding | Step 1 |
/insight-devloop | Frame approval | Step 1 |
/insight-devloop | Monkey challenges (Survived: no) | Step 1 |
/insight-devloop | Storm TDD gaps (critical/high) | Step 2a |
/insight-devloop | Merge conflicts | Step 3a |
/insight-devloop | Convergence (all findings) | Step 3b |
/insight-devloop | Ship confirmation | Step 3d |
/insight-devloopfast | Greenfield scaffolding | Step 1 |
/insight-devloopfast | Architectural frame only | Step 1 |
/insight-devloopfast | Triage correction | Monkey says size is wrong |
/insight-devloopfast | Merge conflicts, convergence, ship | Steps 3a, 3b, 3d |
Every build run is archived in .insightsLoop/:
.insightsLoop/
├── current/ ← active run
├── run-0001-embed-widget/ ← archived
│ ├── summary.md
│ ├── plan.md
│ ├── mockup.html ← if UI story used --mockup
│ ├── scaffolding-checklist.md ← if greenfield
│ ├── findings-consolidated.md ← unified findings with status
│ ├── fix-specs.md ← fix contracts (if pipeline ran)
│ ├── storm-report.md
│ ├── storm-tdd.md ← Storm's TDD review
│ ├── storm-plan.md ← if Storm reviewed the plan
│ ├── monkey-frame.md ← all verticals against plan
│ └── monkey-build.md ← all verticals against merged diff
├── run-0002-auth-refresh/
└── ...
Runs are named run-NNNN-feature-name. The retro reads across runs to spot recurring patterns. All artifacts are markdown (except mockup.html) — readable by humans, agents, and GitHub alike.
.insightsLoop/current/brief-<crew>.md — inspectable, structured, discarded at archive time.mockup.html for visual previews.)Survived: yes is valid. Resilience confirmed is signal, not silence.AskUserQuestion. Plain text is invisible. The tool is unmistakable.mockup.html from disk — never pasted into briefs to avoid context bloat.plan.md → frame.md → test suite → storm-tdd.md → worktrees → storm-report.md + edge-cases.md
↑ ↑ ↑ ↑ ↓
monkey-plan greenfield acceptance mockup findings-consolidated.md
storm-plan checklist contracts (opt) ↓
fix-specs.md → regression tests → patches
↓
shippable diff
↑
monkey-frame / monkey-build
Active run in .insightsLoop/current/. Archived to .insightsLoop/run-NNNN-feature-name/ on completion. Retro reads all of them.
# Install everything (11 skills, 3 themes, config)
npx insightsloop init
# Or pick specific skills
npx insightsloop init --skills=plan,monkey,storm
# Update skills later (preserves your config)
npx insightsloop update
This copies skills to .claude/skills/, themes to .insightsLoop/themes/, and creates .insightsLoop/config.md with defaults (theme: pirate, 3 monkey findings per vertical, confidence threshold 80).
See LEARNINGS.md for structural insights from engine development — why roles exist, why boundaries matter, and what went wrong before.
Optionally add VALUES.md and TDD-MATRIX.md to your project root — every skill loads them before execution. Use AssertValues to generate sharp, constraining values through conversation.
The entire devloop and plan experience is themed. Set it in .insightsLoop/config.md:
## Theme
- setting: pirate
Available themes: pirate | space | naval | none
What gets themed (the ship): Orchestrator voice (mandatory at every step transition), step names, artifact headers, persona openers, vocabulary in orchestrator prose.
What stays plain (the crew): Findings tables, severity columns, confidence scores, file:line references, technique names, brief instructions, user gates. Always structured, always parseable.
| Theme | Ship | Vibe |
|---|---|---|
pirate | The Insight | Salt, timber, articles of agreement |
space | ISV Insight | Vacuum, conduits, mission protocols |
naval | HMS Insight | Discipline, welds, rules of engagement |
none | — | Default, no roleplay |
Step names include the actual phase in brackets so you always know where you are: "Chart Course (Frame)", "Articles of Agreement (TDD)", etc.
Theme files live in .insightsLoop/themes/ (or themes/ in this repo). Copy them alongside the skill directories.
All tunables live in .insightsLoop/config.md:
## Theme
- setting: none
## Monkey
- findings_per_step: 3
## Confidence (devloopfast only)
- threshold: 80
findings_per_step applies per vertical. With 5 verticals selected, the Monkey produces 15 findings (3 x 5).
The Monkey self-reports verification depth in every finding:
| Confidence | Meaning |
|---|---|
| 80-100 | Full code path traced — function, callers, callees. Confirmed no guard exists elsewhere |
| 50-79 | Immediate code read, looks wrong, but haven't traced all callers or searched for mitigations |
| Below 50 | Pattern-based suspicion. Gut feeling, not evidence |
Every finding must state what was and wasn't verified. "I did NOT verify whether a guard exists upstream" with confidence 55 is more useful than a confident-sounding 90 that's wrong.
monkey_findings_per_step default 3 per vertical: 3 findings x 5 verticals = 15 findings per Monkey invocation.[concept] vs file:line location contract/retro after builds to evaluate whether it's catching the right things.FUTURE.md contains deferred findings from the initial adversarial review. These are real issues that weren't critical enough to block the beta./frontend-design integration — the double invocation (Helmsman preview + Shipwright production) may produce visual drift between mockup and final output. Run /insight-retro to evaluate.