Loading...
Loading...
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.
npx skill4agent add caesar0301/platonic-coding-skills platonic-init.platonic.yml.platonic.ymlspecs/docs/impl/docs/drafts/| Kind | Purpose | Contains | Does NOT Contain |
|---|---|---|---|
| Conceptual Design | Vision, principles, taxonomy, invariants | Design philosophy, abstractions, terminology | Schemas, APIs, code |
| Architecture Design | Components, layers, data flow, constraints | Module responsibilities, dependency rules, abstract schemas | Concrete API signatures, language-specific code |
| Impl Interface Design | API contracts, naming conventions, signatures | Type definitions, interface contracts, error patterns | Implementation details, algorithms |
| Operation | Reference File | Purpose |
|---|---|---|
| Scaffold | | Create directories, config, templates |
| Scan | | Systematically analyze existing codebase |
| Plan Modular Specs | | Propose RFC dependency graph from scan results |
| Recover Conceptual | | Generate conceptual design spec from code |
| Recover Architecture | | Generate architecture design spec from code |
| Recover Impl Interface | | Generate impl interface design spec from code |
<project-root>/
├── .platonic.yml # Project config (auto-discovered by all platonic skills)
├── specs/ # Default; user-configurable
│ ├── rfc-standard.md # RFC process & conventions (includes spec kinds)
│ ├── rfc-history.md # Change history
│ ├── rfc-index.md # Spec index
│ ├── rfc-namings.md # Terminology reference
│ ├── RFC-0001.md # [Recovery] Conceptual Design (Draft)
│ ├── RFC-0002.md # [Recovery] Architecture Design (Draft)
│ └── templates/ # Spec templates for future RFCs
│ ├── rfc-template.md
│ ├── conceptual-design.md
│ ├── architecture-design.md
│ └── impl-interface-design.md
├── docs/impl/ # Default; user-configurable
│ └── README.md
└── docs/drafts/ # Default; user-configurable
└── README.mdassets/platonic.yml.templaterfc-standard.md.templaterfc-history.md.templaterfc-index.md.templaterfc-namings.md.templaterfc-template.mdconceptual-design.md.templatearchitecture-design.md.templateimpl-interface-design.md.templateimpl-guide-template.mdimpl-readme.md.templatedrafts-readme.md.template{{PLACEHOLDER}}{{PROJECT_NAME}}{{LANGUAGE}}{{FRAMEWORK}}Use platonic-init to set up Platonic Coding for my new project "Acme".
Language is TypeScript, framework is Next.js. Specs go in specs/.Use platonic-init to recover design specs for this existing project.
Scan the codebase and propose what RFCs to generate.Use platonic-init in recovery mode. Put specs in docs/rfcs/
and impl guides in docs/design/. Generate up to 4 RFCs.refine