Convert existing content into a structured knowledge point document within a specified topic directory, following the framework's formatting standards.
See Framework Structure for the canonical Obsidian knowledge tree structure definition.
See Configuration Check Flow before executing this skill.
Convert existing content into a structured knowledge point document within a specified topic directory. The content is already determined and needs to be preserved as a formal knowledge point file following the framework's formatting standards.
{index}.{knowledge-point-name}.md
index: Incremental number based on existing knowledge files in the topic (starting from 1)knowledge-point-name: User-specified or derived from content summaryresources/CONTENT-template.md as the base structureREADME.md must be updated to include the new knowledge point in its indexIf the user has provided a topic path:
README.md)✅ Topic confirmed: /vault/programming/frontend/
Definition: Frontend development covers HTML, CSS, and JavaScript frameworks.
Proceed with creating knowledge point? [Y/n]
If the user has NOT provided a topic path:
*.md{number}.*.md)📋 Existing knowledge points in [topic_path]:
- 1. JavaScript-Basics.md
- 2. CSS-Flexbox.md
→ New file index: 3
If this is the first knowledge point file, use index 1.
If the user has provided a name, use it directly.
If not provided:
📝 Suggested knowledge point names:
1. "React-Component-Patterns" (based on content summary)
2. "React-hooks-usage"
3. Custom name...
Which name would you like to use? Select a number or enter a custom name:
⚠️ 约束:使用
resources/CONTENT-template.md作为基础模板,只填充用户提供的内容,不要添加未提供的信息。
Read the CONTENT-template.md template
Fill in the template with user's content:
Create the file at {topic_path}/{index}.{knowledge-point-name}.md
After creating the file, use the Optimize Topic Files Skill to ensure proper Obsidian formatting:
README.md## Knowledge Points Index
- [[1.JavaScript-Basics|JavaScript 基础]]
- [[2.CSS-Flexbox|CSS Flexbox 布局]]
- [[3.React-Component-Patterns|React 组件模式]]
README.md, warn the user:⚠️ Topic directory has no README.md — index not updated.
Run "convert topic [topic_path]" to initialize the topic first.
✅ Knowledge point created successfully!
[topic_path]/3.React-Component-Patterns.md
Metadata:
- Index: 3
- Name: React-Component-Patterns
- Tags: react, components, patterns
- Date: 2024-01-15
Topic README updated: [topic_path]/README.md
CONTENT-template.md structure exactly{index}.{knowledge-point-name}.mdls -la <path>ls <path> | grep -E '^[0-9]+\.'cat resources/CONTENT-template.mdcat <topic_path>/README.md