Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计异常

platonic-init柏拉图式初始化

Agent Skill

platonic-init 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

220

周安装

9

GitHub Stars

3

下载量

71
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:platonic-init(柏拉图式初始化)
来源仓库:https://github.com/caesar0301/platonic-coding-skills
仓库路径:skills/platonic-init
安装命令:
npx skills add https://github.com/caesar0301/platonic-coding-skills --skill platonic-init
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/caesar0301/platonic-coding-skills --skill platonic-init

简介

用于查找、检索和筛选相关信息,适合快速定位候选结果。

  • 适用于关键词搜索、任务场景匹配和来源线索筛选等研究检索场景。
  • 通过 npx skills add 命令从 GitHub 仓库安装,需结合原始 README 核验用法。
  • 安装前建议确认权限范围、维护状态及是否会触发联网或文件读写。
  • 可配合来源仓库进一步了解技能的实际功能和限制条件。

SKILL.md

Platonic Init

Initialize the Platonic Coding system for any project -- greenfield or existing codebase.

When to Use This Skill

Use this skill when you need to:

  • Bootstrap a new project with the Platonic Coding infrastructure
  • Adopt the Platonic Coding paradigm for an existing codebase
  • Recover missing design specs from code that was built without formal specifications
  • Set up .platonic.yml config, specs directory, templates, and impl guide scaffolding

Keywords: init, bootstrap, setup, adopt, recover, specs, RFC, platonic coding, project setup

What This Skill Does

This skill operates in one of two modes:

Mode 1: Greenfield Init (no existing code)

Scaffolds the Platonic Coding infrastructure only:

  • .platonic.yml project config at project root
  • docs/specs/ directory with RFC infrastructure and templates
  • docs/impl/ directory for implementation guides
  • docs/drafts/ directory for Phase 0 design drafts

Mode 2: Recovery Init (existing codebase)

Scaffolds infrastructure and recovers design specs from the existing code:

  1. Scaffold directories, config, and templates
  2. Scan the codebase systematically (5 phases)
  3. Plan a modular RFC dependency graph (present to user for confirmation)
  4. Generate Draft RFCs capturing the system's conceptual and architecture design
  5. Populate rfc-index.md, rfc-namings.md, and rfc-history.md

Core Concepts

Three Spec Kinds

Platonic Coding recognizes three kinds of RFC specifications:

KindPurposeContainsDoes NOT Contain
Conceptual DesignVision, principles, taxonomy, invariantsDesign philosophy, abstractions, terminologySchemas, APIs, code
Architecture DesignComponents, layers, data flow, constraintsModule responsibilities, dependency rules, abstract schemasConcrete API signatures, language-specific code
Impl Interface DesignAPI contracts, naming conventions, signaturesType definitions, interface contracts, error patternsImplementation details, algorithms

Modular RFC Recovery

Recovery produces a small graph of focused RFCs (default maximum: 5), not monolithic documents:

  • Exactly 1 system-wide Conceptual Design spec (RFC-0001)
  • 1 per major subsystem Architecture Design spec (depends on RFC-0001)
  • Impl Interface specs only on explicit user request

The agent MUST present the proposed RFC graph to the user before generating any specs.

Available Operations

OperationReference FilePurpose
Scaffoldscaffold-project.mdCreate directories, config, templates
Scanscan-project.mdSystematically analyze existing codebase
Plan Modular Specsplan-modular-specs.mdPropose RFC dependency graph from scan results
Recover Conceptualrecover-conceptual.mdGenerate conceptual design spec from code
Recover Architecturerecover-architecture.mdGenerate architecture design spec from code
Recover Impl Interfacerecover-impl-interface.mdGenerate impl interface design spec from code

See references/REFERENCE.md for detailed operation guides.

Output Structure

<project-root>/
├── .platonic.yml                   # Project config (auto-discovered by all platonic skills)
├── docs/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.md

Templates

Templates are provided in assets/ for all generated files:

  • platonic.yml.template - Project configuration
  • rfc-standard.md.template - RFC process with spec kinds guidance
  • rfc-history.md.template, rfc-index.md.template, rfc-namings.md.template - Infrastructure
  • rfc-template.md - Generic RFC template
  • conceptual-design.md.template - Conceptual design spec template
  • architecture-design.md.template - Architecture design spec template
  • impl-interface-design.md.template - Implementation interface design spec template
  • impl-guide-template.md - Implementation guide template
  • impl-readme.md.template, drafts-readme.md.template - Directory READMEs

Templates use {{PLACEHOLDER}} syntax. Common placeholders: {{PROJECT_NAME}}, {{LANGUAGE}}, {{FRAMEWORK}}.

Usage Examples

Example 1: Initialize a New Project

Use platonic-init to set up Platonic Coding for my new project "Acme".
Language is TypeScript, framework is Next.js. Specs go in docs/specs/.

Example 2: Adopt Platonic Coding for Existing Code

Use platonic-init to recover design specs for this existing project.
Scan the codebase and propose what RFCs to generate.

Example 3: Recovery with Custom Paths

Use platonic-init in recovery mode. Put specs in docs/rfcs/
and impl guides in docs/design/. Generate up to 4 RFCs.

Best Practices

  1. Always read the reference file for each operation before executing it
  2. Review recovered specs: All generated RFCs are Draft -- review and refine with platonic-specs
  3. Confirm the RFC graph: The agent proposes a modular spec plan; confirm before generation
  4. Keep it small: Fewer, focused specs are better than many overlapping ones
  5. Use platonic-workflow for future development after initialization

Dependencies

  • Read/write access to project directories
  • Markdown file support
  • For recovery mode: ability to scan and read source code files

Integration with Other Skills

  • platonic-specs: Use refine operation post-init to validate and update recovered specs
  • platonic-workflow: After init with recovery, use Phase 2 to implement the recovered RFCs; for brand-new features, start at Phase 0 (conceptual design)
  • platonic-impl: Create implementation guides and implement code from recovered RFC specs
  • platonic-code-review: Review code against recovered specs

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35%
按下载量换算25

Claude

32.27%
按下载量换算23

Cursor

19.42%
按下载量换算14

Gemini CLI

8.95%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

未通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills