Claude-skill-registry creating-knowledge-entries
Create GitHub Issue knowledge entries. TRIGGERS - share knowledge, document solution, create how-to, add to knowledge base.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/creating-knowledge-entries" ~/.claude/skills/majiayu000-claude-skill-registry-creating-knowledge-entries && rm -rf "$T"
manifest:
skills/data/creating-knowledge-entries/SKILL.mdsource content
Creating Knowledge Entries
One-shot knowledge capture with full automation.
Trigger Detection
Activate this skill when user says:
- "I want to share knowledge"
- "Let me document this"
- "Add to knowledge base"
- "Share a tip"
- "Document this solution"
- "Create how-to"
Workflow
Step 1: Minimal Prompt
Just paste what you want to share (any format is fine):
Critical: Do NOT ask user about types, categories, or labels. User shares freely, AI decides everything autonomously.
Step 2: Autonomous Processing
Process user input completely autonomously:
- Analyze existing labels in repo (understand current taxonomy)
- Detect content type via AI (tip, how-to, troubleshooting, reference, example, question)
- Extract title via AI
- Format content with appropriate template
- Suggest labels based on existing taxonomy (or create new if empty)
- Link to related knowledge via automated search
- Create GitHub Issue with all decisions made
See REFERENCE.md for complete automation pipeline.
Step 3: Confirmation (What Was Decided)
✅ Created Issue #{number}! 📋 What I decided: ───────────────────────────────────────── Title: "{AI-extracted-title}" Type: {type-emoji} {type-name} Labels: {label1, label2, label3} (based on existing repo labels) Format: Structured with sections {auto-generated-sections} Related: Linked to #{n1}, #{n2} ───────────────────────────────────────── 🔗 {issue-url} Search: gh search issues "{keywords}" --label={primary-label}
Quick Example
Input:
tmux is great for persistent sessions. ctrl-b d to detach and tmux attach to reattach. Useful when ssh connections drop.
Output: Formatted GitHub Issue:
- Title: "Terminal: Using tmux for Persistent SSH Sessions"
- Labels: terminal, tips, workflow
- Content: Structured with "What It Does", "When to Use It", "Key Commands" sections
- Related: Auto-linked to similar terminal tips
Dependencies
CLI (issue creation)gh
extension (AI labeling, title extraction)gh-models
(JSON processing)jq
Error Handling
Content too short (< 20 chars):
I need more content to create a useful knowledge entry. Could you provide at least a sentence or two?
API fails:
⚠️ Couldn't create issue automatically. Here's the formatted content: [formatted markdown shown] Create manually: gh issue create --title "..." --body-file content.md
Complete Reference
For detailed automation pipeline, templates, and examples, see REFERENCE.md.
Repository: https://github.com/terrylica/claude-code-skills-github-issues