Install
openclaw skills install sharpagent-engineering-lifecycleSharpAgent Engineering Lifecycle — 6-phase engineering pipeline: Spec → Plan → Build → Verify → Review → Ship. Embedding five-factor review, calibration framework, content safety, and an anti-rationalization mechanism. For structured development workflows of any scale.
openclaw skills install sharpagent-engineering-lifecycleTells your agent how to work. Not scattered prompts — a complete engineering discipline from "what are we building" to "safe deployment." Inspired by addyosmani/agent-skills (⭐39K), fused with SharpAgent five-factor review, calibration framework, and content safety.
These rules apply across ALL phases. Non-negotiable.
Before implementing anything non-trivial, explicitly state:
ASSUMPTIONS I'M MAKING:
1. [assumption 1]
2. [assumption 2]
→ Correct me now or I'll proceed with these.
When encountering inconsistencies, conflicting requirements, or unclear specs:
You're not a yes-machine. When an approach has clear problems:
100 lines that work beat 1000 lines that are "elegant." After each step, ask: could this be fewer lines? Is this abstraction worth it?
Touch only what you're asked to touch. No comment cleaning, no adjacent refactoring, no unsolicited "improvements."
"Seems right" is never sufficient. Passing tests, build output, or runtime data, or it's not done.
contract:
name: sharpagent-engineering-lifecycle
version: "1.0.0"
category: workflow
trust_level: verified
reads:
- Project
- Task
- Goal
writes:
- Task
- Document
preconditions:
- "Task or feature description must be provided"
- "Access to file system for reading/writing code"
postconditions:
- "All lifecycle phases completed or explicitly skipped"
- "Verification gates passed for completed phases"
calibration:
default_mode: professional
modes_supported: [professional, deep]
compliance:
jurisdiction: global
safety_level: standard
lifecycle:
status: active
publish_as: SharpAgent
[1. SPEC] → [2. PLAN] → [3. BUILD] → [4. VERIFY] → [5. REVIEW] → [6. SHIP]
Core principle: Never code without a spec.
Each step's output is the next step's input.
Idea input
↓
[1.1 Idea Refinement] — Divergent/convergent thinking, refine fuzzy concepts
↓
[1.2 Specification Document] — PRD: goals, architecture, interfaces, boundaries, test strategy
↓
[1.3 Five-Factor Review] — Every core assumption passes five-factor verification
↓
Output: spec.md + approved_by
1.1 Idea Refinement
1.2 Specification
1.3 Five-Factor Review
Core principle: Big tasks break into small, independently verifiable pieces.
Spec document
↓
[2.1 Task Breakdown] — Split into independently verifiable tasks
↓
[2.2 Dependency Sorting] — Order by dependency graph
↓
[2.3 Acceptance Criteria] — Clear "done" definition per task
↓
Output: tasks.md + acceptance_criteria
2.1 Task Breakdown
2.2 Dependency Sorting
2.3 Acceptance Criteria
Core principle: Thin slices, one commit at a time, safety first.
Task list
↓
[3.1 Thin-Slice Coding] — One slice at a time
↓
[3.2 Auto-Write Tests] — Each slice carries tests
↓
[3.3 Contract Validation] — Interfaces/types/boundaries match spec
↓
[3.4 Anti-Self-Deception Check] — Adversarial review of your own code
↓
Output: code_commit + test_result + contract_check
3.1 Thin-Slice Coding
3.2 Auto-Write Tests
3.3 Contract Validation
3.4 Anti-Self-Deception Check
Core principle: All verification must be repeatable, every round must have evidence.
Build output
↓
[4.1 Unit Tests] — All logic paths covered
↓
[4.2 Integration Verification] — Component interaction tests
↓
[4.3 End-to-End Tests] — Critical paths E2E
↓
[4.4 Security Scan] — OWASP Top 10 check
↓
Output: test_report.md
4.1 Unit Tests
4.2 Integration
4.3 End-to-End
4.4 Security Scan
Core principle: Five-axis review. Every axis must pass.
Verification output
↓
[5.1 Code Quality] — Clean/readable/maintainable
↓
[5.2 Architecture Consistency] — Matches spec
↓
[5.3 Performance Assessment] — Measure first, optimize second
↓
[5.4 Security Review] — OWASP + least privilege
↓
[5.5 Documentation Update] — Log what changed and why
↓
Output: review_report.md + approval_gate
5.1 Code Quality
5.2 Architecture Consistency
5.3 Performance Assessment
5.4 Security Review
5.5 Documentation Update
Core principle: Faster AND safer is good. Faster WITHOUT safety is not.
Gate approval
↓
[6.1 Pre-Launch Checklist] — Item-by-item confirmation
↓
[6.2 Progressive Rollout] — Blue-green / canary
↓
[6.3 Monitoring Setup] — Key metrics post-launch
↓
[6.4 Rollback Plan] — Immediate revert if something breaks
↓
[6.5 Retrospective] — Record what was learned (success or failure)
↓
Output: release_notes.md + postmortem.md
6.1 Pre-Launch Checklist
6.2 Progressive Rollout
6.3 Monitoring Setup
6.4 Rollback Plan
6.5 Retrospective
| Phase | What | Output | Time Est. |
|---|---|---|---|
| SPEC | Requirements → Spec → Five-factor | spec.md | 1-2h |
| PLAN | Breakdown → Sort → Acceptance | tasks.md | 0.5-1h |
| BUILD | Slice → Code → Test → Anti-self-check | code + tests | 2-6h |
| VERIFY | Unit → Integration → E2E → Security | test_report.md | 1-2h |
| REVIEW | Five-axis → Approval | review_report.md | 1h |
| SHIP | Checklist → Canary → Monitor → Retro | release_notes.md | 1h |
| Gate | Check | Must pass to proceed to |
|---|---|---|
| Spec gate | All core assumptions five-factor reviewed | Plan |
| Plan gate | Every task has acceptance criteria | Build |
| Code gate | TDD + contract validation + anti-self-deception | Verify |
| Verify gate | Unit/Integration/E2E/Security all pass | Review |
| Review gate | All five axes green | Ship |
| Ship gate | Pre-launch checklist all ✅ | Deploy |
| Situation | Action |
|---|---|
| Tiny change (rename a variable) | Skip SPEC/PLAN, go straight to BUILD+VERIFY+REVIEW |
| Hotfix (production outage) | May skip phases, but retrospective must catch up |
| Unfamiliar tech stack | Invest time in Source-Driven Development in SPEC phase |
| Frequent requirement changes | Each change goes back to SPEC phase |
| Single-line change | Fast track: BUILD(minimal) → VERIFY → REVIEW → SHIP |
SharpAgent · MIT-0 · 2026-05-11