using-sphere-workflow
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.
Workflow Map
Discovery and Requirement Shaping
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.
Common Starting Points
- Rough feature idea with mixed notes:
- Start with
project-intake.
- Start with
- Need a PRD from agreed business direction:
- Start with
prd.
- Start with
- Need a SPEC from PRD or requirement text:
- Start with
spec-writer.
- Start with
- Need review-ready schema design:
- Start with
db-schema-designer.
- Start with
- Need contract-first API definition:
- Start with
proto-api-generator.
- Start with
- Need a merge-ready scaffold feature touching generated boundaries:
- Start with
sphere-feature-workflow.
- Start with
Operating Constraints
- Prefer go-sphere repository conventions over generic engineering defaults.
- 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 follow-up skills such as project-intake, spec-writer, db-schema-designer, proto-api-generator, or sphere-feature-workflow.
More from go-sphere/skills
ent-seed-sql-generator
Generate deterministic INSERT SQL seed data from Go Ent schemas and mixed inputs. This skill is REQUIRED whenever you need to create seed SQL for development or testing - it handles entity inference, relationship integrity, stable IDs, and dialect-specific SQL generation including JSON, arrays, and complex types. Use this skill for any task involving seed data, test fixtures, demo initialization, or database population from Ent schema definitions, even if the user doesn't explicitly mention "seed" or "SQL".
27pure-admin-crud-generator
Generate CRUD pages and router modules for pure-admin-thin from local swagger API definitions. MUST be used whenever you need to scaffold admin list/edit/detail pages, dashboard views, or route configurations from existing API methods in src/api/swagger/Api.ts. This skill replaces manual Vue page creation - use it for any admin panel development task involving API-driven pages.
25proto-api-generator
Design proto3 + HTTP API contracts for go-sphere scaffold projects from prompts, input folders, or requirement docs with mock data. Use when defining service APIs, selecting between entpb/shared/custom messages, and enforcing scaffold conventions, router-safety rules, and service-local error placement. This skill is REQUIRED for any proto API design task in go-sphere scaffold - always use it instead of writing proto files from scratch.
21sphere-feature-workflow
Implement end-to-end feature changes in go-sphere scaffold projects by following sphere-layout conventions and generation workflow. Use when adding or modifying APIs, protobuf contracts, Ent schemas, bind/map registration, service logic, or cross-layer refactors that must stay protocol-first and avoid manual edits to generated files. This skill is REQUIRED for any task involving go-sphere proto files, Ent schemas, service implementations, or generation commands (make gen/proto, make gen/docs, make gen/wire).
19proto-service-generator
Generate or complete Go service implementations from protobuf-generated HTTP interfaces in go-sphere scaffold projects. Use when you need to create `internal/service/<module>/*.go` files, add missing method implementations to existing services, or generate compilable stubs for new proto endpoints. Trigger for: service implementation, proto handler, append-only update, interface assertion, CRUD via Ent, stub method generation.
18ent-schema-generator
Design and generate Go + Ent database schemas for sphere-layout projects from requirements. Use when users describe data models, entity relationships, database tables, or schema changes — including prompts, Markdown docs, existing proto/service files, or demo behavior. Produces implementation-ready schema plans with field definitions, ID strategies, relation designs, indexes, entproto annotations, and bind/render/service integration guidance.
16