cp-skill-convert

Solid

Convert notes between types. Currently supports text to note by adding frontmatter with status seedling, renaming the file to match the title, and fixing backlinks. Use with a note path or note name.

Data & Documents 69 stars 9 forks Updated today CC-BY-4.0

Install

View on GitHub

Quality Score: 88/100

Stars 20%
61
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

## EXECUTE NOW **Target: $ARGUMENTS** Parse immediately: - If target contains just a note name or path: convert text → note - If target requests another conversion form, explain that only text → note is currently implemented - If target is empty: ask which note to convert ## Supported conversions ### text → note (current) The primary conversion. Adds frontmatter to a raw text file, making it structured and connectable. #### Step 1: Locate and verify Resolve the target to a file path. If just a name, search `kb/notes/` recursively. Read the file. Verify it has **no frontmatter** (does not start with `---`). If it already has frontmatter, report that it's already structured and stop. #### Step 2: Understand the content Read the full file. Identify: - The core topic (what is this about?) — needed for writing the description - Whether the current filename matches the `# Title` heading (see Step 3a) #### Step 3: Generate frontmatter Add YAML frontmatter at the top of the file: ```yaml --- description: [50-200 chars, adds mechanism/scope/implication beyond the title] type: kb/types/note.md traits: [] tags: [] status: seedling --- ``` **Rules:** - `status` is always `seedling` — conversion structures the note but does not endorse it. Human review flips to `current`. - `description` must add information beyond the title. See [note base type](../../types/note.md) for quality criteria. - `traits` is always `[]` — trait assignment is semantic work, done later by the `cp-sk...

Details

Author
zby
Repository
zby/commonplace
Created
3 months ago
Last Updated
today
Language
Python
License
CC-BY-4.0

Similar Skills

Semantically similar based on skill content — not just same category