docs: v3.27.1 — fact-check corrections, grepai docs, RTK overhaul
Fact-check (README positioning): - Template count: 120/123 → 108 (ground truth recount) - Ratio: 14× → 24× (19,000 ÷ 784 = 24.2×) - everything-cc stars: 31.9k → 45k+ (verified Feb 15) - Commands count: 20 → 23, hooks: 30 → 31 Added: - Grepai MCP documentation (semantic search, call graphs) - 3 hook templates (rtk-baseline, session-summary, session-summary-config) - 2 resource evaluations (system-prompts update, qmd token savings) Changed: - RTK documentation overhaul (v0.7.0 → v0.16.0, rtk-ai org) - Exports deprecated (kimi.pdf, notebooklm.pdf → deprecated/) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
d94f6bf62e
commit
d1182af4cf
30 changed files with 3506 additions and 382 deletions
|
|
@ -18,6 +18,8 @@
|
|||
# }]
|
||||
# }
|
||||
# }
|
||||
#
|
||||
# Or use `rtk init` for automatic hook setup.
|
||||
|
||||
# Check if RTK is installed
|
||||
if ! command -v rtk &> /dev/null; then
|
||||
|
|
@ -39,6 +41,15 @@ declare -A RTK_COMMANDS=(
|
|||
["git status"]="76.0"
|
||||
["git diff"]="55.9"
|
||||
["find"]="76.3"
|
||||
["cargo test"]="90.0"
|
||||
["cargo build"]="80.0"
|
||||
["cargo clippy"]="80.0"
|
||||
["pnpm list"]="82.0"
|
||||
["pnpm outdated"]="90.0"
|
||||
["pnpm test"]="90.0"
|
||||
["python pytest"]="90.0"
|
||||
["python -m pytest"]="90.0"
|
||||
["go test"]="90.0"
|
||||
)
|
||||
|
||||
# Check if command matches RTK-optimizable pattern
|
||||
|
|
@ -48,7 +59,7 @@ for cmd in "${!RTK_COMMANDS[@]}"; do
|
|||
|
||||
# Suggest RTK wrapper
|
||||
cat << EOF
|
||||
💡 RTK Optimization Available
|
||||
RTK Optimization Available
|
||||
|
||||
Command: $COMMAND
|
||||
Suggested: rtk $COMMAND
|
||||
|
|
@ -66,19 +77,5 @@ EOF
|
|||
fi
|
||||
done
|
||||
|
||||
# Check for commands that should NOT use RTK
|
||||
if [[ "$COMMAND" == "ls"* ]] && [[ "$COMMAND" == "rtk "* ]]; then
|
||||
cat << EOF
|
||||
⚠️ RTK Not Recommended
|
||||
|
||||
Command: $COMMAND
|
||||
Issue: RTK ls produces worse output (-274% token increase)
|
||||
Suggestion: Use plain 'ls' instead
|
||||
|
||||
Blocking RTK usage for this command.
|
||||
EOF
|
||||
exit 2 # Block the command
|
||||
fi
|
||||
|
||||
# Continue with original command
|
||||
exit 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue