Skip to content
File Conventions
AutoXXS (320px)XS (375px)SM (640px)MD (768px)LG (1024px)XL (1280px)XXL (1536px)
SketchMaterialiOSTamagui
DataInjectionKeyPatternsServiceTransactionProcessResearchProductQualityPerformanceSpecDomainFunctionTechnologyArchitectureConfigMiddlewareDataDatabaseDrizzleMigrationModelop-sqliteSchemaSQLState ManagementDraftKeystoneMergePatchPatchesPersistenceReactiveRedoStoreUndoTestingDeviceFactoryIsolationTypeScriptZodTopicsCommunicationBidsNVCDesignDesign ImplicationsEducationPedagogyFoundationsPsychologyAttachmentFloodingRelatingAuthentic RelatingUIEditorReact Native

File Conventions

Fragment reference File Conventions
tags
referenceagent

Content Documents

Document typeFile patternFolderDesign loop
Manifest*.manifest.mdoccontent/manifests/starspec/agents/starscribe/brainstorm.create
Role*.role.mdoccontent/roles/starspec/agents/starscribe/role.create
Domain*.domain.mdoccontent/domains/starspec/agents/starscribe/domain.create
Feature*.feature.mdoccontent/features/starspec/agents/starscribe/feature.create
Flow*.flow.mdoccontent/flows/starspec/agents/starscribe/flow.create
Surface*.ui.mdoccontent/surfaces/starspec/agents/stardesign/surface.create
Blueprint*.blueprint.mdoccontent/blueprints/starspec/agents/starscribe/blueprint.create
Story*.story.mdoccontent/stories/starspec/agents/starscribe/story.create
Milestone*.milestone.mdoccontent/milestones/starspec/agents/starscribe/milestone.create

Surface documents (.ui.mdoc) may contain \{% interactions %\} blocks after all \{% surface %\} blocks to define interactive prototype flows. Surface authoring is owned by stardesign.

Workflow File Naming

Workflow files in instructions/agents/{agent}/ follow the pattern {target}.{verb}.mdoc — target noun first, verb second:

domain.create.mdoc ✓ target first, verb second
create-domain.mdoc ✗ verb-first (old convention)

The target is the thing being acted upon. The verb is what is done to it. This groups all workflows for a given target together when sorted alphabetically.

Canonical Verbs

VerbMeaning
createProduce a new document from scratch or input material
extendAdd content to an existing document
auditStructured quality check, gap analysis, produce report
importBring external content in, convert to StarSpec format
rewriteTransform existing content (style, structure)
extractPull structured data from unstructured assets
clarifyInteractive Q&A loop to resolve ambiguity
sanitizeFix semantic model quality issues
lintDetect/fix schema validation errors
verifyVisual or functional verification loop
deleteRemove a document (reserved — no workflow yet)

When adding a new workflow, pick from the canonical verbs above. If none fits, propose a new verb and add it to this table.

Scope

This convention applies to type: workflow files. It does not apply to:

  • Agent specs{agent}.agent.mdoc (e.g. starscribe.agent.mdoc)
  • Fragmentstype: fragment files keep their own naming (e.g. elements-of-style.prose.mdoc)
  • Reference docs — non-workflow files like test-suite.mdoc, update-checklist.mdoc