Install
$ agentstack add skill-tjmaynes-skills-otto ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
Otto
Inspired by established agentic design/planning/build workflows.
Otto is a unified workflow with three artifacts in sequence:
design.mdplan.mdbuild.md
Default output path:
.agents/tasks/-/
Logic Flow
flowchart TD
A[User request] --> B[Explore repository context]
B --> C{Scope fits one task?}
C -- No --> D[Decompose into smaller task]
D --> B
C -- Yes --> E[Design stage]
E --> F[Write design.md]
F --> G{User approves design?}
G -- No --> E
G -- Yes --> H[Plan stage]
H --> I[Write plan.md]
I --> J[Score Design+Plan Confidence]
J --> K{User approves plan?}
K -- No --> H
K -- Yes --> L{Confidence >= 95% and no hard-fails?}
L -- Yes --> M[Ask autobuild prompt]
L -- No --> N[Autobuild unavailable; continue gated mode]
M --> O[Branch, commit design+plan, push]
N --> O
O --> P{Pre-build gate passes?}
P -- No --> Q[Block build and resolve]
Q --> O
P -- Yes --> R[Build stage]
R --> S[Score Build Confidence]
S --> T{Build Confidence >= 90%?}
T -- No --> U[Manual phase-by-phase mode]
T -- Yes --> V[Automated phase execution]
U --> W[Execute phase with fresh validation]
V --> W
W --> X{Validation passes?}
X -- No --> Y[Pause, fix or clarify]
Y --> W
X -- Yes --> Z[Update plan.md and build.md]
Z --> AA[Commit and push phase]
AA --> AB{More phases?}
AB -- Yes --> S
AB -- No --> AC[Final summary]
Hard Gates
- Never start Build until Design and Plan are approved.
- Never start Build until branch, commit, and push gates pass.
- Never bypass quality validation for a completed phase.
- Never continue automated build execution when build validation fails or request clarity is missing.
Workflow
Stage 1: Design
Before starting Design, read:
- [DESIGN-PROTOCOL.md](references/DESIGN-PROTOCOL.md)
- [DESIGN-TEMPLATE.md](references/DESIGN-TEMPLATE.md)
- Explore codebase context (files, docs, recent commits, conventions).
- Assess whether the request must be decomposed before design.
- Ask one clarifying question at a time.
- Propose 2-3 approaches with tradeoffs and a recommendation.
- Present design sections incrementally and collect approval.
- Write
design.mdat the run path. - Run a self-review pass (ambiguity, contradictions, placeholders, scope).
- Ask user to approve final
design.md.
Design output must include:
- Goal
- Success criteria
- Constraints
- Scope / non-goals
- Chosen approach and alternatives considered
- Architecture and component boundaries
- Data flow
- Error handling
- Test strategy
- Risks and mitigations
- Planning inputs
Stage 2: Plan
Before starting Plan, read:
- [PLANNING-PROTOCOL.md](references/PLANNING-PROTOCOL.md)
- [PLAN-TEMPLATE.md](references/PLAN-TEMPLATE.md)
- [CONFIDENCE-RUBRIC.md](references/CONFIDENCE-RUBRIC.md)
- Use approved
design.mdas source of truth. - Detect stack, quality tools, and validation commands from repo docs first.
- Fill only plan-blocking gaps with targeted questions.
- Research current practices when local docs and code patterns are insufficient.
- Explore codebase patterns, integration points, and local technical debt.
- Assess whether bootstrap or refactor phases are required.
- Define architecture, data flow, contracts, and error handling.
- Produce phase-based plan with dependencies, estimates, and Definition of Done.
- Detail code deltas and test-first task structure.
- Score Design+Plan Confidence.
- Write
plan.md, self-review it, and ask user for approval.
Plan requirements:
- Phase list with estimates and dependencies
- Architecture and implementation decisions
- Research findings when external or version-sensitive guidance was needed
- Integration points and affected files
- Bootstrap/refactor phases when required
- Task checklist per phase
- Test-first steps per task
- Validation commands per phase
- Phase status fields that can be updated during Build
- Checkpoint notes for context management
Planning protocol details live in [PLANNING-PROTOCOL.md](references/PLANNING-PROTOCOL.md).
Confidence Model
Otto tracks two confidence scores.
A) Design+Plan Confidence
Purpose: governs whether Autobuild mode can be offered.
- Combined method: hard-fails + rubric scoring.
- Compute at:
- end of Design
- end of Plan
- If hard-fail exists, confidence cannot reach 95%.
Threshold behavior:
- If
>=95%and no hard-fails, ask exactly: Confidence is X%. Do you want to run in autobuild mode?- If
=90%: automated phase execution is allowed.
Branch / Commit / Push Gate (Required Before Build)
After user approves plan.md, Otto must automatically:
- Verify GitHub CLI access with
gh auth statuswhen the repository is hosted on GitHub. - Inspect repository identity with
gh repo view --json nameWithOwner,urlwhen available. - Create or switch to branch ``.
- Ensure
design.mdandplan.mdexist in run directory. - Commit those files with:
chore: add initial design.md and plan.md files for feature ""
- Push the branch to remote and set upstream.
- Confirm remote branch visibility with
gh repo vieworgit ls-remote --heads origin.
Use git CLI for local branch, commit, and push operations. Use gh for GitHub repository lookup, authentication checks, PR/issue lookup, and remote confirmation.
If any of these fail, Build is blocked until resolved.
Stage 3: Build
Build executes the approved plan.md and writes evidence to build.md.
Before starting Build, read:
- [BUILD-PROTOCOL.md](references/BUILD-PROTOCOL.md)
- [BUILD-LOG-TEMPLATE.md](references/BUILD-LOG-TEMPLATE.md)
- [CONFIDENCE-RUBRIC.md](references/CONFIDENCE-RUBRIC.md)
Execution Policy
- Preferred mode: automated phase execution.
- Run sequentially by default.
- For clearly independent tasks/phases, require parallel execution.
- Pause only when:
- validation fails
- ambiguity blocks safe execution
- user clarification is required
- repository, branch, or dependency state is unsafe
Per-Phase Protocol
For each phase:
- Read phase scope, dependencies, tasks, Definition of Done, and validation commands.
- Run critical plan review for the phase.
- Confirm Build Confidence
>=90%. - Mark the phase in progress in
plan.md. - Execute task checklist in dependency order.
- Enforce test-first order for every code-changing task.
- Run fresh validation evidence for tests, lint, format, and type/build checks.
- Update
plan.mdafter validation passes. - Append phase outcome and evidence to
build.md. - Commit phase changes with a conventional commit message.
- Push the branch and confirm remote visibility.
- Continue automatically only if validation passed and Build Confidence remains
>=90%.
Before running validation, read [scripts/README.md](scripts/README.md) if the stack is unclear or the default validator does not match the repository.
Build Log Must Capture
- Timestamped phase summary
- Build mode and Build Confidence score
- Commands executed for verification
- Validation pass/fail results
- Files changed
- Commit message(s)
- Push result
- Open issues / follow-up actions
Script Resources
scripts/validate-phase.sh: validates linter, formatter, type checks, and tests for common stacks.scripts/README.md: script usage and expected behavior.
Safety Rules
- No destructive git operations unless explicitly requested by user.
- No skipped validations for “small” changes.
- No build continuation after failed validation without remediation.
- No hidden assumptions: surface blockers immediately.
Completion
The workflow is complete when:
- All planned phases are done.
- Validation passes for each completed phase.
build.mdis complete and current.- User receives a concise summary of results, risks, and next steps.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: tjmaynes
- Source: tjmaynes/skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.