본문으로 건너뛰기
cccskills
무료GitHub에 공개

planning-standards

Agent assignment guidance, architecture patterns, and dependency ordering for fullstack-typescript plans.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md6.0 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Planning Standards Skill

Tech-specific plan generation guidance for the fullstack-typescript stack. Provides agent assignment rules, architecture patterns, and dependency ordering that the core planning skill uses when generating PLAN.md files for this tech pack.


Agent Assignment Rules

Each plan phase is assigned to the agent best suited for that component type. Agents are defined in the tech pack manifest (techpack.yaml under components.<type>.agent and lifecycle.<phase>.agent).

Phase TypeAgentNotes
API / Contract designapi-designerOpenAPI spec authoring, schema design, type generation
Backend / Server implementationbackend-devCMDO architecture, Node.js/TypeScript services
Frontend / Webapp implementationfrontend-devMVVM architecture, React/TanStack/TailwindCSS
Database / Migration workbackend-devLoad database-standards skill alongside backend standards
Testing (integration, E2E)testerVitest integration suites, Playwright E2E flows
Infrastructure / Helm / CI/CDdevopsHelm charts, GitHub Actions pipelines, Kubernetes
Review / VerificationreviewerNot an explicit agent file -- use the lifecycle.verification path in the manifest

Agent Selection Logic

  1. Read components.<type>.agent from techpack.yaml for component implementation phases.
  2. Read lifecycle.testing.agent for integration and E2E testing phases.
  3. Read lifecycle.verification.agent for review phases.
  4. When a phase touches multiple component types, assign the agent for the primary component and list secondary standards as additional skill references.

Architecture Patterns

Backend: CMDO (Controller-Model-DAL-Operator)

All server components follow the CMDO architecture. Plans referencing backend work should assume this layering.

LayerResponsibility
ControllerHTTP handlers, request validation, dependency injection. Receives raw I/O from Operator and combines with config to create domain-specific operations.
ModelBusiness logic split into definitions/ (TypeScript types only) and use-cases/ (one function per file, receives Dependencies). No external imports.
DALData Access Layer. One function per file, parameterized queries, maps DB rows to domain objects. No repository pattern.
OperatorProcess lifecycle management. Creates database connections, HTTP servers, telemetry. Manages startup/shutdown state machine and Unix signals. No domain knowledge.

Plan phases for backend work should follow the implementation order: Contract first, then Model, then DAL, then Controller, then Operator (only if new infrastructure is needed).

Frontend: MVVM (Model-View-ViewModel)

All webapp components follow the MVVM architecture. Plans referencing frontend work should assume this layering.

LayerResponsibility
ViewReact components styled with TailwindCSS and Shadcn UI. No business logic -- only renders data from ViewModel and calls ViewModel handlers.
ViewModelTanStack Query hooks for server state management. useReducer + Context for global client state. Connects Views to Models.
ModelBusiness logic with no React dependencies. Framework-agnostic functions for formatting, validation, permissions, and transformations.

Plan phases for frontend work should follow: API types consumed from contract packages first, then Model (business logic), then ViewModel (hooks), then View (components).


Dependency Ordering (API-First)

Plans must order phases by the tech pack's dependency graph. The fullstack-typescript stack follows an API-first approach where contracts define the interface before implementations are built.

OrderComponent TypeRationale
1API Contracts / InterfacesDefine the API surface before anything consumes or implements it
2Data Models / DatabaseSchema and migrations before services that read/write data
3Backend Services / Business LogicImplement API endpoints and business rules using contracts and database
4Frontend Components / UIConsume contracts for type-safe API calls, render UI
5Infrastructure / DevOpsHelm charts and CI/CD pipelines after deployable components exist

Scaffolding Phase

If any components listed in SPEC.md do not yet exist in sdd-settings.yaml, prepend a Phase 1: Component Scaffolding before the implementation phases. Scaffolding order follows the same dependency ordering above. See the scaffolding skill for orchestration details.

Testing Phases

After all implementation phases:

  1. Integration Testing -- after server and database phases are complete.
  2. E2E Testing -- after server and webapp phases are complete.

Review Phase

Always the final phase. Uses the verification lifecycle from the manifest, not a dedicated agent file.


Standards per Phase

Each plan phase must reference the applicable standards skills so the assigned agent loads them during implementation.

PhaseStandards Skills
Contracttypescript-standards, contract-standards
Backendtypescript-standards, backend-standards, database-standards, unit-testing
Frontendtypescript-standards, frontend-standards, unit-testing
Integration Testingintegration-testing-standards
E2E Testinge2e-testing-standards
Infrastructurehelm-standards, cicd-standards

Standards are resolved via the skills router: invoke techpacks.routeSkills(phase: implementation, component_type: <type>) to get the exact skill paths for the active tech pack.


Input / Output

This skill defines no input parameters or structured output. It is consumed as guidance by the core planning skill during plan generation.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Standards for authoring SDD plugin agents — frontmatter, self-containment, skill references, and no-user-interaction rules.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

LiorCohen/sdd432026년 2월 24일 업데이트

Scaffolds Node.js/TypeScript backend components with CMDO architecture, driven by component settings.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

LiorCohen/sdd432026년 2월 24일 업데이트

CMDO architecture standards for Node.js/TypeScript backends with strict layer separation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

LiorCohen/sdd432026년 2월 24일 업데이트

Intent-to-command mappings for fullstack-typescript tech pack features.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

LiorCohen/sdd432026년 2월 24일 업데이트

Create change specification and implementation plan with dynamic phase generation. Supports feature, bugfix, refactor, and epic types.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

LiorCohen/sdd432026년 2월 24일 업데이트

Orchestrates the full change lifecycle — routes actions to phase-specific sub-files.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

LiorCohen/sdd432026년 2월 24일 업데이트

LiorCohen의 스킬 모두 보기

이 스킬의 문제 신고