Awesome-omni-skill kongponents
Kong Vue component library reference - provides props, slots, events, and code examples for Kongponents components
install
source · Clone the upstream repo
git clone https://github.com/diegosouzapw/awesome-omni-skill
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/diegosouzapw/awesome-omni-skill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/development/kongponents" ~/.claude/skills/diegosouzapw-awesome-omni-skill-kongponents && rm -rf "$T"
manifest:
skills/development/kongponents/SKILL.mdsource content
Setup Check
Before using this skill, verify the documentation is synced:
- Check if
file existsdocs/VERSION - If not found: Display error message and stop
❌ Kongponents documentation not synced. Run the following command to download documentation: /kongponents sync - If found: Proceed to help user with Kongponents
Commands
/kongponents sync
Downloads and indexes Kongponents component documentation.
What it does:
- Clones Kong/kongponents repository (docs/components only)
- Generates component index
- Creates searchable reference in
docs/components/
Usage:
/kongponents sync
Implementation:
- Use Bash tool to execute:
bash scripts/sync.sh - Display progress output to user
- Report success or failure
First time setup: Run this command once after installing the skill.
Component Reference
After syncing, component documentation is available in
docs/components/.
To help users:
- Check if synced - Verify
exists firstdocs/VERSION - Read component index - Use
to see all componentsdocs/component-index.md - Read component docs - Use
for detailsdocs/components/<component-name>.md - Provide examples - Generate Vue code using Kongponents patterns
Common components:
- KButton - Button with various appearances and sizes
- KInput - Text input with validation states
- KModal - Modal dialog with overlay
- KSelect - Dropdown select with search
- KTable - Data table component (deprecated, use KTableData)
- KAlert - Alert/notification messages
- KBadge - Status badges
- KCard - Card container
- KIcon - Icon component
- ... and 30+ more
Example workflow:
User asks: "Show me KButton props"
- Check
exists ✓docs/VERSION - Read
docs/components/button.md - Extract props section
- Provide formatted answer with examples
User asks: "Create a danger button"
- Check
exists ✓docs/VERSION - Read
docs/components/button.md - Find danger appearance prop
- Generate code:
<KButton appearance="danger"> Delete </KButton>
Update Check (Optional)
To check if documentation is outdated:
- Read
timestampdocs/last-check.txt - If more than 86400 seconds (24 hours) old:
- Show message: "Kongponents docs may be outdated (last synced X days ago). Run
to update."/kongponents sync - User can choose to continue or sync
- Show message: "Kongponents docs may be outdated (last synced X days ago). Run
Error Handling
Missing sync:
❌ Kongponents documentation not synced. Run: /kongponents sync
Sync failures:
- Git not installed: "Error: git not found. Please install git first."
- Network issues: "Error: Failed to clone repository. Check your internet connection."
- Permission issues: "Error: Cannot write to docs/ directory."
Component not found:
- Check
for available componentsdocs/component-index.md - Suggest similar component names if typo detected