platonic-workflow
Platonic Coding Workflow
Orchestrate the complete four-phase Platonic Coding workflow from conceptual design through specification, implementation (guide + code), and review.
When to Use This Skill
Use this skill when you need to:
- Run the full workflow from design idea to reviewed implementation
- Progress through phases with clear phase visibility and handoffs
- Ensure traceability from design draft → RFC → impl guide → code → review
- Coordinate other skills (platonic-specs, platonic-impl, platonic-code-review) in the correct order
Keywords: workflow, platonic coding, design draft, RFC, implementation guide, code review, phase
Phase Visibility
Always show the current Phase of the workflow at the start of each step and in summaries:
- Phase 0: Conceptual Design & Design Draft
- Phase 1: RFC Specification (Draft)
- Phase 2: Implementation (Guide + Code)
- Phase 3: Spec Compliance Review
- FINISHED: Workflow complete
Workflow Summary
| Phase | Focus | Output Location | Skills / Actions |
|---|---|---|---|
| 0 | Conceptual design, requirements | docs/drafts/ |
Interactive chat, optional items |
| 1 | Formal RFC from design draft | docs/specs/ |
Generate RFC, then platonic-specs (refine) |
| 2 | Impl guide + code with tests | docs/impl/ + Codebase |
platonic-impl (full impl sub-workflow) |
| 3 | Review code vs specs & impl guides | Report | platonic-code-review |
| FINISHED | — | — | — |
Phase Details
Phase 0: Conceptual Design & Design Draft
- Goal: Obtain a shared conceptual design (principles, constraints, conceptual interfaces, design art, etc.).
- Method: Interactive chat; use optional items to communicate with the user.
- Output: A design draft.
- Location: Default
docs/drafts/. The user may provide a draft from elsewhere. - Reference: See
references/phase-0-design-draft.md.
Phase 1: RFC Specification (Draft)
- Goal: Turn the design draft into a formal RFC spec (Status: Draft).
- Optional: Ask the user for RFC number/index if not specified.
- Actions:
- Generate RFC from the Phase 0 design draft.
- Call platonic-specs to refine the generated RFC (and related specs).
- Output: RFC(s) in the specs directory.
- Location: Default
docs/specs/. - Reference: See
references/phase-1-rfc-spec.md.
Phase 2: Implementation (Guide + Code)
- Goal: Produce a concrete implementation guide from the RFC spec, then implement the code with tests.
- Optional: Ask the user for RFC number/index if not specified.
- Actions: Use platonic-impl (full-impl operation) which runs a four-step sub-workflow:
- Spec analysis — extract requirements from RFC
- Impl guide design — create architecture doc (user confirmation gate)
- Coding plan — task breakdown with file-level changes (user confirmation gate)
- Coding — implement code with unit and integration tests
- Output: Implementation guide in
docs/impl/+ source code with tests in codebase. - Reference: See
references/phase-2-implementation.md.
Phase 3: Spec Compliance Review
- Goal: Review implementation against both RFC specs and implementation guides.
- Actions: Call platonic-code-review to review the code implementation and the targeted RFC (specs and impl guides).
- Output: Review and compliance report.
- Reference: See
references/phase-3-review.md.
FINISHED
- Workflow complete. Summarize outcomes and any follow-up recommendations.
Default Paths
| Artifact | Default Path |
|---|---|
| Design drafts | docs/drafts/ |
| RFC specs | docs/specs/ |
| Implementation guides | docs/impl/ |
Paths may be overridden by the user.
Available References
| Phase | Reference File | Purpose |
|---|---|---|
| Overview | workflow-overview.md |
End-to-end workflow and phase transitions |
| Phase 0 | phase-0-design-draft.md |
Conceptual design and design draft |
| Phase 1 | phase-1-rfc-spec.md |
RFC generation and platonic-specs refine |
| Phase 2 | phase-2-implementation.md |
platonic-impl full sub-workflow (guide + code) |
| Phase 3 | phase-3-review.md |
platonic-code-review usage |
See references/REFERENCE.md for detailed phase procedures.
Best Practices
- Always show current phase at the start of each step and in status summaries.
- Confirm handoffs: Before leaving a phase, confirm outputs and paths with the user if ambiguous.
- Ask for indices when useful: In Phase 1 (RFC number) and Phase 2 (RFC for implementation), ask for index if not provided.
- Call skills explicitly: Phase 1 → platonic-specs (refine); Phase 2 → platonic-impl (full-impl); Phase 3 → platonic-code-review.
- Preserve traceability: Keep links between design draft → RFC → impl guide → code in summaries and docs.
Dependencies
- platonic-specs: Phase 1 (refine RFCs).
- platonic-impl: Phase 2 (full implementation: guide + code with tests).
- platonic-code-review: Phase 3 (review code vs specs and impl guides).
- Read/write access to
docs/drafts/,docs/specs/,docs/impl/and codebase as needed.
More from caesar0301/platonic-coding-skills
platonic-code-review
Review code implementation against specifications to ensure consistency and completeness. Use when validating that code correctly implements RFC specs, requirements documents, or design specifications. Generates reports by default without modifying code.
17platonic-specs
Manage RFC-style specifications with validation, and dynamic generation of history, index, and namings files. Use when validating RFC documents, checking taxonomy compliance, or generating specification indices and terminology references.
11platonic-impl-guide
Create and manage implementation guides that translate RFC specifications into concrete, project-specific implementation designs. Implementation guides are language-aware, framework-aware, and MUST NOT contradict RFC specs. Use when planning implementation of RFC specifications, creating detailed technical designs, or documenting implementation architecture.
10platonic-init
Initialize the Platonic Coding system for any project. Scaffolds specs infrastructure (.platonic.yml, RFC templates, impl guide directory) and scans existing codebases to recover missing conceptual and architecture design specs as Draft RFCs. Use when adopting platonic coding for a new or existing project.
9platonic-code-specs
Manage RFC-style specifications with templates, validation, and dynamic generation of history, index, and namings files. Use when initializing specification systems, validating RFC documents, checking taxonomy compliance, or generating specification indices and terminology references.
6platonic-impl
Translate RFC specifications into concrete implementation guides and then implement them as code. Manages the full implementation lifecycle from spec analysis through architecture design, coding plan, and code with tests. Use when creating implementation guides, implementing features from specs, or running the full spec-to-code pipeline.
3