From sensei
Compare a code change against the existing codebase to check pattern alignment. Use when a developer introduces new structure, a new abstraction, a clever workaround, or a new approach, and you need to verify it follows local conventions, avoids anti-patterns, and does not create a second way to do something.
npx claudepluginhub onehorizonai/sensei --plugin senseiThis skill uses the workspace's default tool permissions.
Compare a change against the existing codebase patterns, conventions, and architecture decisions.
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.
Compare a change against the existing codebase patterns, conventions, and architecture decisions.
Many maintainability problems are not technically wrong. They are locally inconsistent.
A new service, abstraction, or module that solves the problem correctly but diverges from the team's approach creates two costs:
Pattern alignment is not about conformity. It is about keeping the codebase legible.
Less is more here too. A new pattern has to earn its place. If the existing code already has a boring solution, prefer that unless the developer can explain why it no longer fits.
Have we done something similar before?
Does this follow the local dialect?
Does this follow local security practice?
Is a new abstraction justified?
Is this a proven pattern or a local anti-pattern?
Is this divergence intentional?
Pattern examined: [What is being checked]
Plain English: [What this means for someone who only needs to know whether the code will be harder to maintain]
Closest existing example: [File path and module name, or "none found"]
Evidence read: [Files or modules inspected]
Alignment: [Aligned / Diverges / Partially aligned]
Security pattern: [Aligned / Diverges / Not applicable — with evidence]
If diverges or partially aligned:
What differs: [Specific, concrete differences]
Impact: [Why this matters — or why it might be acceptable in this case]
Smallest alignment move: [One change that would bring this closer to the local pattern, if needed]
Question for you: [Force the developer to articulate the reason for the divergence]