ccn:create-topic
Create a new topic file in .notes/ with frontmatter template
npxskills add majiayu000/claude-skill-registry--skill ccn:create-topicLoading…
Create a new topic file in .notes/ with frontmatter template
npxskills add majiayu000/claude-skill-registry--skill ccn:create-topicLoading…
This skill creates a new topic file in the .notes/ directory with structured frontmatter and section headers.
When this command is invoked with /ccn:create-topic $ARGUMENTS:
If $ARGUMENTS is empty or not provided:
Take the provided topic name and transform it:
.md extensionExamples:
Store the result as the filename.
Use the Read tool to check if .notes/{filename} already exists.
If the file EXISTS:
If the file DOES NOT exist:
Use the Bash tool to ensure the directory exists:
mkdir -p .notes
Create YAML frontmatter with these fields:
description: "Knowledge and patterns for {original topic name}"
keywords: Generate array from normalized filename
["api", "design", "api_design"]last_updated: Today's date in YYYY-MM-DD format
Use the Write tool to create .notes/{filename} with this structure:
---
description: "Knowledge and patterns for {topic}"
keywords: [{keyword array}]
last_updated: "YYYY-MM-DD"
---
# {Topic Name}
## Overview
(Add overview content here)
## Key Concepts
(Document key concepts here)
## Patterns
(Capture recurring patterns here)
## Notes
(Add detailed notes here)
---
*Topic created: YYYY-MM-DD*
Important formatting notes:
Tell the user: "Created: .notes/{filename}"
If any tool fails (mkdir, Read, Write):
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.
CLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.
CLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).