secondsky/claude-skills / plugins/hono-routing/skills/hono-routing
hono-routing
VerifiedType-safe Hono APIs with routing, middleware, RPC. Use for request validation, Zod/Valibot validators, or encountering middleware type inference, validation hook, RPC errors.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 14.2 KB |
| references/common-patterns.md | markdown | 9.5 KB |
| references/middleware-catalog.md | markdown | 9.7 KB |
| references/rpc-guide.md | markdown | 10.2 KB |
| references/setup-guide.md | markdown | 6.7 KB |
| references/top-errors.md | markdown | 10.6 KB |
| references/validation-libraries.md | markdown | 7.0 KB |
| scripts/check-versions.shexecutable | script | 1.9 KB |
| templates/context-extension.ts | script | 10.4 KB |
| templates/error-handling.ts | script | 10.0 KB |
| templates/middleware-composition.ts | script | 10.6 KB |
| templates/package.json | manifest | 778 B |
| templates/routing-patterns.ts | script | 7.0 KB |
| templates/rpc-client.tsx | other | 6.6 KB |
| templates/rpc-pattern.ts | script | 5.1 KB |
| templates/validation-valibot.ts | script | 8.4 KB |
| templates/validation-zod.ts | script | 11.0 KB |
scripts/check-versions.sh
View on GitHub#!/bin/bash
# Hono Skill - Package Version Checker
# Verifies that all package versions are current
echo "π Checking Hono skill package versions..."
echo ""
# Color codes
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
RED='\033[0;31m'
NC='\033[0m' # No Color
# Counter for outdated packages
OUTDATED=0
# Function to check package version
check_package() {
local package=$1
local current_version=$2
echo -n "Checking $package... "
# Get latest version from npm
latest=$(npm view "$package" version 2>/dev/null)
if [ $? -ne 0 ]; then
echo -e "${RED}ERROR${NC} (package not found)"
return 1
fi
if [ "$current_version" == "$latest" ]; then
echo -e "${GREEN}β${NC} $current_version (latest)"
else
echo -e "${YELLOW}β ${NC} $current_version β $latest (update available)"
((OUTDATED++))
fi
}
echo "Core Dependencies:"
echo "βββββββββββββββββ"
check_package "hono" "4.12.12"
echo ""
echo "Validation Libraries:"
echo "ββββββββββββββββββββ"
check_package "zod" "4.3.6"
check_package "valibot" "1.1.0"
echo ""
echo "Hono Validators:"
echo "βββββββββββββββ"
check_package "@hono/zod-validator" "0.7.4"
check_package "@hono/valibot-validator" "0.6.1"
check_package "@hono/typia-validator" "0.1.2"
check_package "@hono/arktype-validator" "2.0.1"
echo ""
echo "Summary:"
echo "ββββββββ"
if [ $OUTDATED -eq 0 ]; then
echo -e "${GREEN}β${NC} All packages are up to date!"
else
echo -e "${YELLOW}β ${NC} $OUTDATED package(s) have updates available"
echo ""
echo "To update, run:"
echo " npm install hono@latest"
echo " npm install zod@latest valibot@latest"
echo " npm install @hono/zod-validator@latest @hono/valibot-validator@latest"
fi
echo ""
echo "Last checked: $(date)"
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirements | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |