Using Sphere Workflow
This skill is the bootstrap entrypoint for the sphere-workflow plugin.
Use it to classify the request first, then invoke only the next needed go-sphere skill.
Do not load every bundled skill preemptively.
Routing Rules
- If the user explicitly names a skill, use that skill.
- If the request spans multiple lifecycle stages, start at the earliest missing artifact.
- If the request is already narrowed to a single stage, invoke only that stage skill.
- If the task will modify go-sphere scaffold contracts, schemas, services, or generation commands, route into
sphere-feature-workflow.
- If the task is about pulling upstream layout changes into an existing project, or adopting a pre-contract project, route into
sphere-layout-sync — not sphere-feature-workflow.
- If the task is about the
protoc-gen-* plugins themselves rather than the .proto contracts they consume, route into protoc-plugin-engineering — not proto-api-generator.
Workflow Map
Discovery and Requirement Shaping
interview-me
- Use for step-by-step interactive interviews to resolve design decisions before drafting specs or code.
project-intake
- Use for new project kickoff, scattered requirements, demos, screenshots, or rough drafts.
prd
- Use when the user wants a PRD or when intake is complete and product requirements need to be formalized.
ux-analyst
- Use when visual prototypes or demos need to be translated into user flows and behavior semantics.
Specification and Planning
spec-writer
- Use to create or refine an implementation-ready specification.
spec-diff-pipeline
- Use when a spec changed and downstream proto/schema/task impact needs to be analyzed.
Data and Contract Design
db-schema-designer
- Use to design entities, fields, relationships, and indexes before coding.
ent-schema-implementer
- Use to turn an approved schema design into Go Ent schema files.
ent-seed-sql-generator
- Use for deterministic development, test, or demo seed SQL.
proto-api-generator
- Use to define or revise proto3 and HTTP API contracts.
proto-service-generator
- Use to generate or complete service skeletons from generated interfaces.
Implementation and Surfaces
sphere-feature-workflow
- Use for end-to-end go-sphere scaffold implementation, especially when proto, schema, service, bind/map, or generation commands are involved.
pure-admin-crud-generator
- Use to scaffold pure-admin-thin CRUD views and router modules from swagger-generated client methods.
Layout and Toolchain Maintenance
sphere-layout-sync
- Use to update a generated project to a newer layout revision, resolve layout drift, or adopt a legacy project into the
.sphere/layout.lock.json contract.
protoc-plugin-engineering
- Use to write, refactor, or review the
protoc-gen-* plugins themselves, including config, templates, generated-output stability, and golden tests.
Quality and Verification
go-test-engineering
- Use to audit, repair, or write Go tests, including reusable interface contract suites and justified golden tests.
go-sphere-makefiles
- Use to standardize or repair repository Make targets, root batch orchestration, and Make-driven CI while preserving multi-module, generator, and layout behavior.
Common Starting Points
- Rough feature idea with mixed notes:
- Start with
project-intake.
- Need a PRD from agreed business direction:
- Need a SPEC from PRD or requirement text:
- Need review-ready schema design:
- Start with
db-schema-designer.
- Need contract-first API definition:
- Start with
proto-api-generator.
- Need a merge-ready scaffold feature touching generated boundaries:
- Start with
sphere-feature-workflow.
- Need to audit AI-generated tests or add trustworthy Go tests:
- Start with
go-test-engineering.
- Need consistent Makefiles or Make-driven CI across repositories:
- Start with
go-sphere-makefiles.
- Need to upgrade a project to a newer layout revision or fix layout drift:
- Start with
sphere-layout-sync.
- Need to change or review a
protoc-gen-* plugin:
- Start with
protoc-plugin-engineering.
Operating Constraints
- Prefer go-sphere repository conventions over generic engineering defaults.
- Inside a generated project, the project's own
.sphere/layout.json, AGENTS.md, and docs/LAYOUT_CONTRACT.md outrank any bundled skill where they disagree. Read them before editing.
- There are four official layouts (
standard, simple, bun, telegram) with different capabilities. Do not assume the standard layout.
- Keep stage boundaries clear: requirements first, then spec, then schema/contract design, then implementation.
- When multiple skills are needed, progress forward one stage at a time instead of blending outputs.
- Reuse the existing bundled skill outputs and default artifact locations unless the user specifies otherwise.
Plugin Bootstrap Note
When this skill is injected by the sphere-workflow plugin, treat it as already loaded bootstrap context.
Use the native skill mechanism only for the relevant follow-up skill, such as project-intake, spec-writer, db-schema-designer, proto-api-generator, sphere-feature-workflow, sphere-layout-sync, protoc-plugin-engineering, go-test-engineering, or go-sphere-makefiles.
1---2name: using-sphere-workflow3description: Use when the task is in a go-sphere repository, follows the go-sphere delivery lifecycle, or you need to decide which bundled go-sphere skill should run first. This is the bootstrap entrypoint for the sphere-workflow plugin and routes work to the smallest relevant skill.4---56# Using Sphere Workflow78This skill is the bootstrap entrypoint for the `sphere-workflow` plugin.910Use it to classify the request first, then invoke only the next needed go-sphere skill.11Do not load every bundled skill preemptively.1213## Routing Rules14151. If the user explicitly names a skill, use that skill.162. If the request spans multiple lifecycle stages, start at the earliest missing artifact.173. If the request is already narrowed to a single stage, invoke only that stage skill.184. If the task will modify go-sphere scaffold contracts, schemas, services, or generation commands, route into `sphere-feature-workflow`.195. If the task is about pulling upstream layout changes into an existing project, or adopting a pre-contract project, route into `sphere-layout-sync` — not `sphere-feature-workflow`.206. If the task is about the `protoc-gen-*` plugins themselves rather than the `.proto` contracts they consume, route into `protoc-plugin-engineering` — not `proto-api-generator`.2122## Workflow Map2324### Discovery and Requirement Shaping2526- `interview-me`27 - Use for step-by-step interactive interviews to resolve design decisions before drafting specs or code.28- `project-intake`29 - Use for new project kickoff, scattered requirements, demos, screenshots, or rough drafts.30- `prd`31 - Use when the user wants a PRD or when intake is complete and product requirements need to be formalized.32- `ux-analyst`33 - Use when visual prototypes or demos need to be translated into user flows and behavior semantics.3435### Specification and Planning3637- `spec-writer`38 - Use to create or refine an implementation-ready specification.39- `spec-diff-pipeline`40 - Use when a spec changed and downstream proto/schema/task impact needs to be analyzed.4142### Data and Contract Design4344- `db-schema-designer`45 - Use to design entities, fields, relationships, and indexes before coding.46- `ent-schema-implementer`47 - Use to turn an approved schema design into Go Ent schema files.48- `ent-seed-sql-generator`49 - Use for deterministic development, test, or demo seed SQL.50- `proto-api-generator`51 - Use to define or revise proto3 and HTTP API contracts.52- `proto-service-generator`53 - Use to generate or complete service skeletons from generated interfaces.5455### Implementation and Surfaces5657- `sphere-feature-workflow`58 - Use for end-to-end go-sphere scaffold implementation, especially when proto, schema, service, bind/map, or generation commands are involved.59- `pure-admin-crud-generator`60 - Use to scaffold pure-admin-thin CRUD views and router modules from swagger-generated client methods.6162### Layout and Toolchain Maintenance6364- `sphere-layout-sync`65 - Use to update a generated project to a newer layout revision, resolve layout drift, or adopt a legacy project into the `.sphere/layout.lock.json` contract.66- `protoc-plugin-engineering`67 - Use to write, refactor, or review the `protoc-gen-*` plugins themselves, including config, templates, generated-output stability, and golden tests.6869### Quality and Verification7071- `go-test-engineering`72 - Use to audit, repair, or write Go tests, including reusable interface contract suites and justified golden tests.73- `go-sphere-makefiles`74 - Use to standardize or repair repository Make targets, root batch orchestration, and Make-driven CI while preserving multi-module, generator, and layout behavior.7576## Common Starting Points7778- Rough feature idea with mixed notes:79 - Start with `project-intake`.80- Need a PRD from agreed business direction:81 - Start with `prd`.82- Need a SPEC from PRD or requirement text:83 - Start with `spec-writer`.84- Need review-ready schema design:85 - Start with `db-schema-designer`.86- Need contract-first API definition:87 - Start with `proto-api-generator`.88- Need a merge-ready scaffold feature touching generated boundaries:89 - Start with `sphere-feature-workflow`.90- Need to audit AI-generated tests or add trustworthy Go tests:91 - Start with `go-test-engineering`.92- Need consistent Makefiles or Make-driven CI across repositories:93 - Start with `go-sphere-makefiles`.94- Need to upgrade a project to a newer layout revision or fix layout drift:95 - Start with `sphere-layout-sync`.96- Need to change or review a `protoc-gen-*` plugin:97 - Start with `protoc-plugin-engineering`.9899## Operating Constraints100101- Prefer go-sphere repository conventions over generic engineering defaults.102- Inside a generated project, the project's own `.sphere/layout.json`, `AGENTS.md`, and `docs/LAYOUT_CONTRACT.md` outrank any bundled skill where they disagree. Read them before editing.103- There are four official layouts (`standard`, `simple`, `bun`, `telegram`) with different capabilities. Do not assume the standard layout.104- Keep stage boundaries clear: requirements first, then spec, then schema/contract design, then implementation.105- When multiple skills are needed, progress forward one stage at a time instead of blending outputs.106- Reuse the existing bundled skill outputs and default artifact locations unless the user specifies otherwise.107108## Plugin Bootstrap Note109110When this skill is injected by the `sphere-workflow` plugin, treat it as already loaded bootstrap context.111Use the native skill mechanism only for the relevant follow-up skill, such as `project-intake`, `spec-writer`, `db-schema-designer`, `proto-api-generator`, `sphere-feature-workflow`, `sphere-layout-sync`, `protoc-plugin-engineering`, `go-test-engineering`, or `go-sphere-makefiles`.