diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json new file mode 100644 index 000000000..ca48115ac --- /dev/null +++ b/.claude-plugin/marketplace.json @@ -0,0 +1,30 @@ +{ + "name": "headroom-marketplace", + "owner": { + "name": "Headroom Contributors" + }, + "metadata": { + "description": "Headroom marketplace for Claude Code and GitHub Copilot CLI plugins.", + "version": "0.9.2" + }, + "plugins": [ + { + "name": "headroom", + "source": "./plugins/headroom-agent-hooks", + "description": "Headroom startup hooks for Claude Code and GitHub Copilot CLI.", + "version": "0.9.2", + "author": { + "name": "Headroom Contributors", + "url": "https://github.com/chopratejas/headroom" + }, + "homepage": "https://github.com/chopratejas/headroom", + "repository": "https://github.com/chopratejas/headroom", + "keywords": [ + "headroom", + "hooks", + "claude-code", + "copilot-cli" + ] + } + ] +} diff --git a/.dockerignore b/.dockerignore index 0fa069013..930b8efd9 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,6 +1,9 @@ # VCS .git .github +.github/* +!.github/plugin/ +!.github/plugin/** .gitignore # Python artifacts @@ -38,6 +41,8 @@ plugins/ !plugins/ !plugins/openclaw/ !plugins/openclaw/** +!plugins/headroom-agent-hooks/ +!plugins/headroom-agent-hooks/** node_modules/ *.tgz @@ -61,3 +66,8 @@ docker-compose*.yml .superpowers/ examples/ node-compile-cache/ +!e2e/ +!e2e/init/ +!e2e/init/** +!.claude-plugin/ +!.claude-plugin/** diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md new file mode 100644 index 000000000..4b79c3973 --- /dev/null +++ b/.github/copilot-instructions.md @@ -0,0 +1,42 @@ + +# RTK (Rust Token Killer) - Token-Optimized Commands + +When running shell commands, **always prefix with `rtk`**. This reduces context +usage by 60-90% with zero behavior change. If rtk has no filter for a command, +it passes through unchanged — so it is always safe to use. + +## Key Commands +```bash +# Git (59-80% savings) +rtk git status rtk git diff rtk git log + +# Files & Search (60-75% savings) +rtk ls rtk read rtk grep +rtk find rtk diff + +# Test (90-99% savings) — shows failures only +rtk pytest tests/ rtk cargo test rtk test + +# Build & Lint (80-90% savings) — shows errors only +rtk tsc rtk lint rtk cargo build +rtk prettier --check rtk mypy rtk ruff check + +# Analysis (70-90% savings) +rtk err rtk log rtk json +rtk summary rtk deps rtk env + +# GitHub (26-87% savings) +rtk gh pr view rtk gh run list rtk gh issue list + +# Infrastructure (85% savings) +rtk docker ps rtk kubectl get rtk docker logs + +# Package managers (70-90% savings) +rtk pip list rtk pnpm install rtk npm run