From sensei
Sensei's automatic context dispatcher. Run this when no specific skill is requested. Inspect git state to detect uncommitted changes, open PRs, branch position, and recent merges — then announce what was found and route to the right skill without waiting for instructions.
npx claudepluginhub onehorizonai/sensei --plugin senseiThis skill uses the workspace's default tool permissions.
Detect the current development context and route to the right Sensei skill automatically.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Guides code writing, review, and refactoring with Karpathy-inspired rules to avoid overcomplication, ensure simplicity, surgical changes, and verifiable success criteria.
Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Share bugs, ideas, or general feedback.
Detect the current development context and route to the right Sensei skill automatically.
git status --porcelain
If output is non-empty, also run:
git diff --name-only # unstaged
git diff --cached --name-only # staged
git diff --stat # rough size
Route to: sensei-help → sensei-spar
Announce:
Sensei sees [N] changed file(s): [list files].
Let's start with help — walk me through where you are before I review.
BRANCH=$(git branch --show-current)
gh pr view --json number,title,url 2>/dev/null
If a PR exists for the current branch:
gh pr diff
If gh is not installed or returns nothing, skip this check silently and continue to Check C.
Route to: sensei-help → sensei-spar (applied to the PR diff)
Announce:
Sensei sees open PR #[N]: "[title]".
Pulling the diff. Starting with help before I review it.
git log --oneline $(git merge-base HEAD main 2>/dev/null || git merge-base HEAD master 2>/dev/null)..HEAD
If commits exist and Check A was empty:
git branch --show-current
Route to: sensei-scroll → sensei-align
Announce:
Sensei sees [N] commit(s) on [branch] ahead of main — and no uncommitted changes.
Looks like you're preparing to open a PR. Running scroll to help you frame it.
git log -1 --since='30 minutes ago' --format='%h %s'
If output is non-empty and the commit message contains "Merge", "merge", "fix", or "complete":
git show --stat HEAD
Route to: sensei-reflect
Announce:
Sensei sees a recent commit: "[message]".
Good moment to reflect before moving on. Running reflection.
If none of A–D match, do not guess. Ask:
No clear git context detected. What are you working on?
I can:
/sensei-spar — review uncommitted changes or a diff
/sensei-trace — guide you through a bug
/sensei-align — check if your change follows existing patterns
/sensei-smell — analyze boundaries and duplicated knowledge
/sensei-gameplan — review a coding plan against the architecture
/sensei-prove-it — evaluate what your tests actually prove
/sensei-scroll — help you write a PR description
/sensei-help — walk me through the code before I review it
/sensei-reflect — post-merge learning capture
/sensei-prune — refactor safely, one verified move at a time
/sensei-tradeoff — compare options, costs, constraints, and reversibility
git status --porcelain first. Never assume the state.gh fails, skip Check B silently. Do not surface the error unless the user specifically asked about a PR.