by huisezhiyin
Lightweight AI Agent Harness for agentic coding: let strong models explore while humans steer with minimal specs, checkpoints, approval, validation, and reverse sync.
# Add to your Claude Code skills
git clone https://github.com/huisezhiyin/sdd-riperGuides for using ai agents skills like sdd-riper.
Last scanned: 5/30/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-05-30T15:25:14.585Z",
"npmAuditRan": true,
"pipAuditRan": true
}Let the model move the work forward. Let the human own goals, boundaries, permissions, checkpoints, evidence, and acceptance.
SDD-RIPER is a context-first LLM task automation toolkit for working with strong coding agents. It is not a magic prompt and it is not heavyweight spec-driven development. It is a small set of controls and companion skills that make model-driven work observable, recoverable, reviewable, and safe to resume.
The default entry is sdd-riper-one-light. Use the heavier sdd-riper-one when the task needs stricter gates, denser artifacts, or training/audit-ready traces.
The repository is organized around four complementary skills:
sdd-riper-one-light and sdd-riper-one control execution, checkpoints, validation, and reverse sync.codemap turns unfamiliar code into an agent-facing context index.new-chat-ready preserves recovery context for new chats, handoffs, and long pauses.Use this prompt for ordinary coding or documentation work:
Use sdd-riper-one-light for this task.
Do not change files yet.
First give me:
- your understanding of the task
- the core goal for this loop
- a minimal spec / summary
- Done Contract: what counts as done, and what proves it
- next actions
- risks
- validation method
Wait for my approval before execution.
For unfamiliar code, first ask for a CodeMap:
Use codemap.
Create a feature-level or project-level code terrain index before planning changes.
Focus on entry points, call chains, risk points, validation entry points, and the smallest code slice to read next.
For a fresh-chat handoff:
Use new-chat-ready.
Create a resume pack and a paste-ready next-chat prompt.
Also scan for reusable project knowledge, but do not commit memory/spec/handoff files unless I explicitly approve.
These four skills share the same context principle: keep active context small, persist durable state outside the chat, and load only the slice needed for the next decision.
| Skill | Use When | Output |
| --- | --- | --- |
| sdd-riper-one-light | Daily coding, docs, bugfixes, ordinary refactors, strong-model work | Same core controls with low-friction checkpoints, minimal spec, validation, reverse sync |
| sdd-riper-one | High-risk work, multi-file refactors, audit, training, complex handoff | Same core controls with explicit RIPER gates, fuller spec, denser artifacts, stronger blocking |
| codemap | Unfamiliar codebases, legacy systems, large modules, cross-repo tasks | Agent-facing code terrain index |
| new-chat-ready | New chat, resume pack, handoff, context compression, recovered sessions | Durable handoff, next-chat prompt, project-memory sync scan |
For Codex, Claude Code, and other agentic coding environments, the smallest useful repo layout is:
<repo>/
AGENTS.md
skills/
codemap/
new-chat-ready/
sdd-riper-one-light/
sdd-riper-one/
Recommended defaults:
AGENTS.md.AGENTS.md; use examples/global-agents.md as the template.sdd-riper-one-light by default.codemap before planning changes in unfamiliar or large code.new-chat-ready before long pauses, context resets, or handoffs.sdd-riper-one for high-risk or audit-heavy work.read context -> restate goal and risk -> checkpoint -> execute -> validate -> reverse sync
The harness keeps a few hard rules:
There are three different layers. Do not mix them.
| Layer | Purpose | Typical Location |
| --- | --- | --- |
| Feature spec / handoff | Current task truth, decisions, progress, validation, resume state | mydocs/specs/*, mydocs/handoff/*, or project conventions |
| Project knowledge / memory | Stable facts, repeated pitfalls, reusable validation commands, project-specific rules | PROJECT_KNOWLEDGE.md, PROJECT_SPEC.md, PROJECT_MEMORY.md, mydocs/project/*, or files indexed by AGENTS.md |
| System-level defaults | Personal or team-wide agent routing and safety boundaries | system AGENTS.md, examples/global-agents.md |
Important privacy rule:
Project Sync Candidates and routes them according to AGENTS.md or explicit user instruction.Project Sync Candidate.This repository is public and reusable. Keep it clean:
.agent-memory/, .expcap/, SQLite files, Milvus Lite data, traces, episodes, candidates, assets, or local cache directories..env, credentials, tokens, API keys, private logs, personal paths, or user data..gitignore just to force local artifacts into the repo.expcap, prefer user-cache storage such as EXPCAP_STORAGE_PROFILE=user-cache and EXPCAP_HOME="$HOME/.expcap".For frontend/backend or microservice work, do not let the model ingest every repository at once.
Start with a project registry:
MULTI / multi-project
This workspace contains multiple repositories.
First discover projects and create a Project Registry.
Do not read all code at once.
Identify the main project, related projects, active_project, and change_scope.
Default to local. Before cross-project edits, stop at a checkpoint and wait for approval.
See skills/sdd-riper-one/references/multi-project.md for the fuller protocol.
| Path | What It Is |
| --- | --- |
| AGENTS.md | Project-level agent rules for this repository |
| examples/global-agents.md | System-level / personal AGENTS.md template |
| skills/sdd-riper-one-light | Default daily harness |
| skills/sdd-riper-one | Strict control protocol |
| skills/codemap | Code terrain indexing skill |
| skills/new-chat-ready | New-chat handoff and project-memory sync skill |
| docs/README.md | Docs map and reading path |
| docs/archive/ | Historical essays and writing material |
| protocols/ | Older protocol references |
If you want the shortest useful path:
skills/sdd-riper-one-light/README.md.codemap on unfamiliar code.skills/sdd-riper-one/README.md when you need stricter gates.docs/README.md only when you want the long-form articles.Recommended long-form docs:
| Document | Core Question | | --- | --- | | Docs map | Which docs are current and which are archived | | Hands-on AI Coding Harness | How to slice tasks, control context, use codemap, validate output, and leave recoverable state | | Team adoption guide | How to turn personal agent habits into team practice | | Claude Code source walkthrough | What real agent runtimes teach about harness design |
The important move is not to make AI a more obedient coding assistant.
The important move is to accept that the model can now move the event forward, then build a control plane around that agency.
That is the purpose of SDD-RIPER Light.
No comments yet. Be the first to share your thoughts!