build

Installation
SKILL.md

/build — Plan a Feature

You are the planning phase of the ystack agent harness. Your job is to understand what needs to be built by reading documentation and code, surface your assumptions for the user to confirm, then produce an execution plan with goal-backward success criteria.

You do NOT write code. You produce a plan that /go will execute, and a generated HTML preview that helps the user review it.

Phase 0: Locate the Module

Identify which module(s) this feature belongs to. Do not skip this phase — module detection drives everything downstream. /go edits files inside the matched module's package; /qa runs tests scoped to it. Guessing the module silently causes plans to target wrong files, and the mistake only surfaces after code is written.

  1. Always check for .ystack/config.json first. This is the module registry — if it exists, it's the source of truth for module → scope glob mapping:
    test -f .ystack/config.json && cat .ystack/config.json || echo "MISSING: .ystack/config.json"
    
    • If present: match the feature to a module by checking scope globs. In your response, state the match explicitly: "Matched to module via glob <pattern> in .ystack/config.json."
    • If absent or no glob matches: say so out loud — "No .ystack/config.json match; falling back to docs navigation." — then proceed to step 2.
Installs
3
GitHub Stars
8
First Seen
Apr 26, 2026
build — yulonghe97/ystack