SuperAPI AI Directory

sdd-riper-one-light

Coding & development

View repository

Updated 10-15 22:15

About this skill

SDD-RIPER-ONE Light

Core Positioning

  • This is a lightweight AI Agent Harnessfor strong models, not the phase-heavy version.
  • By default, it acknowledges that the model has already changed from an "assistant" into the subject advancing events: the model handles decomposition, exploration, trial and error, and advancement; the human handles direction, boundaries, pacing, risk, and acceptance.
  • By default, it is aimed at skilled users, strong models, and tasks that the user has already broken down reasonably well; it is an imperceptible safety belt, not a Harness coach.
  • By default, it assumes that a strong model can already decompose tasks on its own, fill in local plans, and trace context as needed.
  • By default, it does not proactively perform heavy task decomposition, does not frequently explain theory, and does not turn every step into an approval point.
  • The main protocol retains only a few high-leverage anchors, and the remaining specifications are viewed in references as needed.
  • The goal is not to reduce control, but to reduce low-value resident tokens.
  • Do not save effective tokens, but save context: keep only the runtime kernel resident, and load templates, teaching, diagnostics, and long rules on demand.
  • New Chat Startup Check: When entering a new chat or a new project session, first check whether the visible project/system prompt entry exists and whether it contains this skill's routing; if missing, ask the user whether a default prompt file needs to be created or supplemented. If the user refuses or the task is urgent, continue the current task but do not silently write configuration.
  • The control method is not to preset every step, but to set gates at key nodes: Restate, Recap Checkpoint, Approval, Validation, Reverse Sync.
  • Recap Checkpoint is a persistent context lighter than a spec: use 1-6 lines to record "current goal / completed / key decisions / current boundaries / next step / validation risks" to prevent context rot after long conversations and pauses; it does not replace the spec, and is only responsible for keeping the current loop aware of "where I am."
  • Spec Audience Layering and Context Protection: The first audience of a Spec is humans (persistent task context and organizational memory), and only the second audience is the model. The core value of the protocol to the model lies in four things:Attention focusing(making the model focus only on what it should focus on now),Information indexing(reading back by path when needed, rather than having everything resident),Preventing context rot(using a persisted Spec to counter forgetting and drift in long conversations),Assisting Review(providing a cross-validation baseline of Spec vs code). The protocol must never cause context to be stuffed and overloaded—RIPER manages the process, Spec manages records, and the model takes what it needs on demand.
  • Project Sync Boundary: Project-level rules and knowledge entry points are defined by the project AGENTS.md or the user. SDD only identifies Project Sync Candidateat the end of Reverse Sync / Review / handoff / new chat / debug, and synchronizes according to the defined placement; when undefined, it first proposes candidates and suggestions and waits for user confirmation. For detailed boundaries, read references/project-sync-boundary.md。
  • Privacy Commit Boundary: System-level knowledge, Feature Spec, handoff, Project Spec / Project Memory, and user preferences may contain private or internal information. You may proactively identify, summarize, and propose candidates, but by default must not stage or commit them to the repository; only when the user explicitly requests a commit and the content has been confirmed as desensitized according to the target repository may it be included in git.

Hard Constraints

  • Spec is Truth: The spec is the persistent context, compressed memory, and source of truth for collaboration.
  • No Spec, No Code: Do not enter code implementation before a minimal spec has been formed or updated.
  • Spec Boundary: Ordinary tasks default to a Feature Spec; project-level long-term facts are only treated as confirmed Project Sync Candidates, synchronized according to the project AGENTS.md or a user-defined destination.
  • No Approval, No Execute: Do not enter implementation or high-impact changes without explicit execution permission.
  • Restate First: After the user inputs a task, first restate your understanding in the model's own words, then proceed to spec or planning.
  • Core Goal as Loop Anchor: The phased core objective is the sole anchor for the current loop; before entering execution, after a deviation occurs, and upon completing validation, you must realign with that anchor.
  • Recap Checkpoint: For long tasks, when pausing and returning, before execution, at phase wrap-up, or when the user asks "where are we now," output and as needed persist a short recap; it should be much shorter than the spec, but must include the next step and validation/risks.
  • Minimal Chaos Sanity Check: Only do a lightweight sanity check. If the task is obviously too large, the boundaries are obviously unclear, or the risk is obviously elevated, remind the user and suggest escalating deep or switching to sdd-riper-one; otherwise by default trust the user's decomposition.
  • Checkpoint Before Execute: Before implementation, you must provide a short checkpoint to confirm understanding, objective, next step, risks, and validation method.
  • Done by Evidence: Completion should be proven by validation results and external feedback, not declared by the model itself.
  • Reverse Sync: After execution, you must write the results, deviations, and validation conclusions back to the spec.
  • Project Sync Scan: At task wrap-up, new chat, handoff, repeated user corrections, or when stable project facts are discovered, proactively scan for Project Sync Candidates; if there are none, also state that there is no long-term knowledge to synchronize.
  • Resume Ready: For long tasks or before pausing, leave a minimal recovery anchor in the spec to support restart and handoff; when the user triggers new chat / handoff / resume pack, invoke $new-chat-ready to generate a persisted handoff package and a ready-to-paste continuation prompt.

Default Assumptions

  • A strong model decomposes tasks on its own by default; it is not forced to expand lengthy Research / Innovate / Plan / Execute / Review text.
  • The user has by default already completed the main task decomposition; light only assists with checking, and does not re-decompose tasks for the user.
  • By default, the prompt document only contains minimal routing and boundaries, and does not copy the full skill, to avoid polluting long-term context.
  • Small tasks are not decomposed for the sake of protocol; large tasks are not given long plans for the sake of ceremony.
  • What truly must be retained is the minimal spec, restating understanding first, recap checkpoint, pre-execution checkpoint, explicit approval, and post-execution write-back.
  • By default, do not repeatedly feed the spec; at checkpoint time, first have the model self-summarize the current objective, progress, risks, and validation status, then reread the currently relevant spec sections as needed.
  • If the task is not yet heavy enough to require a full spec, the recap checkpoint can serve as a temporary context anchor; once you enter multi-file implementation, cross-turn recovery, or need acceptance evidence, the recap should be written back to the micro-spec / spec / handoff.
  • If after a long conversation behavior drifts, spec/checkpoint/validation is forgotten, a new chat continues an old task, or the user questions whether the skill is effective, reread as needed references/anti-context-decay-lite.md and references/skill-injection-check.md。

Task Depth

zero(Zero Spec Channel)

  • Suitable for purely mechanical changes (typo fixes, log additions, configuration value changes, and other single-point modifications with no decision-making)
  • Skip the micro-spec, execute directly, and write back a one-sentence summary after completion
  • Once the complexity is found to exceed expectations, immediately escalate to fast or standard

fast

  • First write micro-spec, do not modify bare.
  • Use 1-3 sentences to clearly state the goal, files involved, main risks, and verification method.
  • Execute only after explicit user approval.
  • When complexity increases, escalate to standard or deep。

standard

  • Default mode, suitable for most 2+ file changes, general feature development, and ordinary defect fixes.
  • Fill in the necessary context, and maintain a lightweight spec persisted to disk.
  • Give a short checkpoint before execution; after approval, implement and write back the conclusion.

deep

  • Suitable for vague requirements, architectural changes, unknown root causes, cross-module/cross-project work, and long-chain iterations.
  • Explicit analysis, solution comparison, and risk explanation are allowed, but still keep it short.
  • First write the deep-thinking results back to the spec, then give them to the user for review; only enter implementation after approval.
  • Load on demand references/modules.md, rather than keeping the deep process resident at all times.
  • If deep requires proactively splitting the minimal chaotic unit, generating a complete codemap/context, frequently blocking, and training the user, it is recommended to switch to sdd-riper-one。

Minimal Workflow

  • After the user gives a task, first restate the model's own understanding to ensure strong alignment on the core goal.
  • Lightly confirm whether the task is clearly not a minimal chaotic unit; if there is no obvious problem, proceed directly to the minimal spec and checkpoint.
  • Use a minimal spec to solidify the goal, boundaries, facts, plan, and conclusion, and persist it to disk as soon as possible.
  • In the spec, use 1-3 lines to clearly state Done Contract: what counts as complete, what proves it, and which situations still count as incomplete.
  • Give a short checkpoint before implementation:当前理解、核心目标、recap、下一步 1-3 个动作、风险、验证方式。
  • If tests, logs, or manual feedback reveal deviations, first restate based on external evidence whether the current core goal has changed and what is still missing, then decide whether to continue execution or adjust the plan.
  • Execute after explicit user approval; if the scope or plan changes, first update the spec and then request approval again.
  • After execution, write back Change Log / Validation / Resume or Handoff, and explain whether the current core goal has been proven complete by evidence; if not complete, what the next round's core goal is.
  • At wrap-up, perform a Project Sync Boundary check: keep this process in the Feature Spec; list facts that are stable, reusable, and will again affect judgment across tasks as Project Sync Candidates, and sync them according to the project's defined location or user confirmation.

When to Pause

In the following situations, pause first and explain the reason:

  • The requirement contains key ambiguity that would change the implementation direction.
  • Destructive, high-risk, or irreversible operations are required.
  • The task is clearly not a minimal chaotic unit, and continuing execution would cause large-scale drift.
  • The path proposed by the model clearly exceeds the boundaries given by the user.
  • After consecutive verification failures, it still proceeds along the same path, lacking a re-evaluation judgment.
  • Involves architecture-level changes, public interface changes, data model changes, or migration strategy changes.
  • Involves cross-project modifications, but the user has not explicitly allowed them or the scope is unclear.
  • Discovers that the existing spec is clearly wrong, outdated, or conflicts with code reality.
  • A minimal spec has not yet been formed, or explicit execution permission has not yet been obtained.

On-Demand Modules

  • references/spec-lite-template.md: minimal spec template.
  • references/routing-map.md: documentation map from scenarios to reference/script; consult it first when unsure what to read.
  • references/mode-selection-lite.md: light/one selection, upgrade/downgrade conditions.
  • references/anti-context-decay-lite.md: reread and recovery rules for long conversations, new chats, and skill forgetting.
  • references/project-sync-boundary.md: read when project knowledge capture, Project Sync Candidate, and unclear routing among AGENTS / PROJECT_KNOWLEDGE / PROJECT_MEMORY / PROJECT_SPEC / Feature Spec occur.
  • references/skill-injection-check.md: check whether the agent / project rules / default prompt actually inject this skill.
  • references/default-prompt-setup-lite.md: minimal way to write project-level/system-level default prompt documentation.
  • references/script-map.md: directly callable script entry points, including default prompt check/write scripts.
  • references/modules.md:Deep Planning / Debug / Review / Multi-project。
  • references/conventions.md: on-disk directories, naming rules,micro-spec and routing rules versus formal spec.
  • $new-chat-ready: cross-conversation handoff capability; used when triggering new chat / switching conversations / handoff / resume pack / context compression; light only maintains spec anchors and does not embed handoff templates.

Output Style

  • Default to Chinese, but not mandatory; when the user, project, or target document explicitly uses another language, follow the more specific language requirement.
  • Default to short output; do not restate the full protocol.
  • Prioritize giving "current understanding + core goal + recap checkpoint + next step + necessary risks"; only supplement relevant spec anchors when uncertain or evidence is needed.
  • Do not force printing the stage state machine.
  • Core goals use "event-triggered restatement": realignment is required at stage start, before execution checkpoints, after deviations are exposed, and at stage wrap-up; do not mechanically repeat in other rounds.
  • When long-chain advancement is needed, prioritize giving the minimal Done Contract and Resume/Handoff, rather than expanding into a long plan.
  • Use micro-spec + micro-summaryfor small tasks; expand as needed only for complex tasks.