Skip to content
fullstackhero

Reference

Skills & Workflows

The catalog of .agents skills (task recipes like add-feature, add-module, create-migration) and workflows (review and orchestration playbooks) that ship…

views 0 Last updated

Rules are knowledge; skills and workflows are action.

  • A skill (.agents/skills/{name}/SKILL.md) is a verb — a repeatable, footgun-aware recipe for one task that ends in a green build/test. The agent reaches for it when your request matches its description.
  • A workflow (.agents/workflows/{name}.md) is orchestration — it sequences skills and adds review/verification. Workflows delegate the code recipe to the skills rather than duplicating them.

Skills

Scaffolders — go from idea to working code

SkillWhat it does
add-featureA backend vertical slice: Command/Query in Contracts → handler (injects the module DbContext) → validator → endpoint → wired in the module.
add-entityA domain aggregate + EF configuration + migration, with the soft-delete / tenant / value-generation conventions baked in.
add-moduleA whole new bounded context — both projects, IModule, BaseDbContext, permissions, and registration in all four sites.
add-react-pageA frontend slice (admin or dashboard): API module, page, lazy route, permission gate, Playwright test.
add-full-sliceEnd-to-end: the backend slice and the React page wired to it — the kit’s accelerator.

Ops — footgun-heavy operations

SkillWhat it does
create-migrationThe exact EF Core migration command (--project/--startup-project/--context/--output-dir), build-first to protect the snapshot, review the SQL, apply via the DbMigrator.
add-integration-eventPublish a cross-module event through the Outbox and handle it idempotently — including background tenant-context restoration.
add-permissionA new permission end-to-end: server constant + endpoint gate, and (admin app) the mirrored catalog entry + route guard.

Reference — guardrails

SkillWhat it covers
query-patternsRead queries the FSH way — paginated PagedResponse<T> via DbContext LINQ; when to use a Specification.
testing-guideTest conventions — xUnit + Shouldly + NSubstitute + AutoFixture, naming, and the integration-test gotchas.
mediator-referenceThis kit uses the Mediator source generator, not MediatR — the interface map and the registration sites.

Workflows

WorkflowRole
feature-scaffolderOrchestrates feature delivery — sequences add-entityadd-featureadd-react-page/add-full-slice → tests → verify.
module-creatorOrchestrates a full module bring-up and verifies it actually loads (the four-place registration footgun).
migration-helperThe facts + troubleshooting around EF migrations; delegates the recipe to create-migration.
code-reviewerReviews the current diff against the conventions and emits a structured report (read-only).
architecture-guardVerifies architectural integrity — module boundaries, BuildingBlocks protection, the architecture-test suite (read-only).

Extending the set

These are plain Markdown — add your own. A good skill is a verb (a repeatable task that can self-verify with a build/test); a good rule is a noun (a convention you read). If you find yourself writing a “reference” or “guide” skill, it’s probably a rule. Keep skills pointing at the rules rather than restating them, so there’s a single source of truth.