
pensive
Multi-discipline code review: architecture, bugs, APIs, blast radius analysis, security, tests, Makefiles, and NASA Power of 10 analysis
- version
- 1.10.3
- GitHub stars
- 350
Add marketplace
/plugin marketplace add athola/claude-night-marketRun it inside Claude Code once, then install the plugin below.
Install
/plugin install pensive@claude-night-marketRun it inside Claude Code after adding the marketplace.
Files
Discovered from sourceAPI Review Workflow
When NOT To Use
- Internal refactors behind a stable surface (use
pensive:code-refinement) - Coupling and layering questions (use
pensive:architecture-review)
Usage
Use this skill to review public API changes, design new surfaces, audit consistency, and validate documentation completeness. Run it before any API release to confirm alignment with project guidelines.
Required Progress Tracking
api-review:surface-inventoryapi-review:exemplar-researchapi-review:consistency-auditapi-review:docs-governanceapi-review:evidence-logapi-review:findings-verified
Workflow
Step 1: Surface Inventory
Catalog all public APIs by language. Record stability levels, feature flags, and versioning metadata. Use tools like rg to find public symbols (e.g., pub in Rust or non-underscored def in Python). Confirm the working tree state with git status before starting.
Step 2: Exemplar Research
Identify at least two high-quality API references for the relevant language, such as pandas, requests, or tokio. Document their patterns for namespacing, pagination, error handling, and structure as a baseline for the audit.
Step 3: Consistency Audit
Compare the project's API against the identified exemplar patterns. Analyze naming conventions, parameter ordering, return types, and error semantics. Identify duplication, leaky abstractions, missing feature gates, and documentation gaps.
Step 4: Documentation Governance
Validate that documentation includes entry points, quickstarts, and a complete API reference. Verify that changelogs and migration notes are maintained. Check for SemVer compliance, stability promises, and clear deprecation timelines. Confirm that documentation is generated automatically using tools like rustdoc, Sphinx, or OpenAPI.
Step 5: Evidence Log
Record all executed commands and findings. Summarize the final recommendation as Approve, Approve with actions, or Block. Include specific action items with assigned owners and due dates.
API Quality Checklist
Naming
Confirm consistent conventions and descriptive names that follow language-specific idioms.
Parameters
Verify consistent ordering and ensure optional parameters have explicit defaults. Check that type annotations are complete.
Return Values
Analyze return patterns for consistency. Confirm that error cases are documented and that pagination follows a uniform structure.
Documentation
Verify that all public APIs include usage examples and that the changelog reflects current changes.
Output Format
The final report must include a summary of the API surface, a numerical inventory of endpoints and public types, and an alignment analysis against researched exemplars. Document consistency issues and documentation gaps with precise file and line references. Conclude with a clear decision and a timed action plan.
Each issue must follow this structure:
[A1] Title
- Location: file.py:42
- Anchor: `verbatim source text at line 42`
- Issue: what is wrong | Fix: remediation | Evidence: [E1]
The Anchor is the exact source text at Location.
citation_verifier.py re-reads it to prove the finding is real.
Technical Integration
Use imbue:proof-of-work for reproducible command capture and imbue:structured-output for formatting findings. Reference imbue:diff-analysis/modules/risk-assessment-framework when assessing breaking changes.
Module Reference
- See
modules/surface-inventory.mdfor API cataloging patterns - See
modules/exemplar-research.mdfor researching API standards - See
modules/consistency-audit.mdfor cross-API consistency checks
Verify Findings Are Grounded (api-review:findings-verified)
Write findings to .review/findings.json, run the citation verifier
(Skill(imbue:review-core) Step 5), and drop or label UNVERIFIED any
the verifier rejects.
Exit Criteria
- Surface inventoried, exemplars researched, consistency audited, documentation governance checked, and evidence logged.
- Every reported finding carries a
Location+ verbatimAnchorconfirmed bycitation_verifier.py(exit0), or unverified findings were dropped or labeledUNVERIFIED.
Troubleshooting
If the audit command is missing, verify that dependencies are installed and
accessible in the system PATH. Check file permissions if access errors
occur. Use the --verbose flag to inspect execution logs if the tool
behaves unexpectedly.
From the athola/claude-night-market README
Claude Night Market
A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.
Written for a practitioner: someone who already uses Claude Code and wants to know what these plugins do and whether to install them. If you are new to Claude Code, start with the official docs. For the design rationale behind a plugin, see the book.
Night Market skills in action
Install
Requires Claude Code 2.1.16+ (2.1.32+ for agent teams, 2.1.38+ for security features, 2.1.287+ for the context and loop bands that conserve and egregore draw above the prompt) and Python 3.9+ for hooks, which is what macOS ships.
# Add the marketplace, then install the plugins you want
/plugin marketplace add athola/claude-night-market
/plugin install sanctum@claude-night-market # Git workflows
/plugin install pensive@claude-night-market # Code review
/plugin install spec-kit@claude-night-market # Spec-driven dev
Run claude --init-only once after installing. It runs the plugins'
Setup hooks, then exits. Updates are not automatic for third-party
marketplaces. The Installation Guide shows how to enable
auto-update, and covers the one-command, opkg, and skill-files-only
install paths.
If the
Skilltool is unavailable, read skill files directly atplugins/{plugin}/skills/{skill-name}/SKILL.md.
Everyday Use
Night Market is built around the loop you already work in. A typical feature runs end to end on a handful of commands:
- Start a feature.
/attune:missionroutes you through brainstorm, specify, plan, and execute phases. - Write the code.
imbueenforces a failing test before the implementation is written. - Review before you push.
/full-reviewruns a multi-discipline pass;/refine-codecleans up duplication and dead code. - Ship it.
/prepare-prruns quality gates and drafts a description that says who the change is for, where it lands inside and outside the codebase, and when it is fully integrated. - Pick up where you left off.
/catchuprebuilds context from recent git history after a break.
The commands you reach for most:
| Task | Command |
|---|---|
| Run the project lifecycle | /attune:mission |
| Initialize a new project | /attune:arch-init |
| Review a PR | /full-review |
| Address review feedback | /fix-pr |
| Implement an issue | /do-issue |
| Prepare a pull request | /prepare-pr |
| Write a spec | /speckit-specify |
| Catch up on changes | /catchup |
| Package project knowledge as skills | /attune:skill-library |
| Clean up the codebase | /unbloat |
| Pressure-test a decision | /attune:war-room |
Full task-by-task walkthroughs are in the Common Workflows Guide.
What's Inside
23 plugins in four layers. Each installs independently, and dependencies pull their shared runtime automatically.
Foundation is the base every other layer builds on:
leyline (auth, quotas, error patterns, trust verification),
sanctum (git, commits, PR prep, sessions), and imbue
(TDD enforcement, proof-of-work, scope guarding).
Utility handles cross-cutting concerns: conserve (context
and token optimization), conjure (delegation to seven external
model CLIs plus a local runner), hookify (a behavioral rules
engine with a security catalog), egregore (autonomous agent
orchestration), herald (notifications), and oracle (local ML
inference).
Domain is where the day-to-day work happens: pensive (code
and architecture review), attune (project lifecycle), spec-kit
(spec-driven development), parseltongue (Python), minister
(GitHub issues and DORA metrics), memory-palace (knowledge
organization), archetypes (architecture paradigms), gauntlet
(codebase learning), phantom (computer use), scribe
(documentation and slop detection), scry (recordings), tome
(research), and cartograph (codebase visualization).
Meta improves the system itself: abstract (skill authoring,
hook development, evaluation, and skill-stability tracking).
The full skill, command, and agent inventory is in the Capabilities Reference.
Safety
⚠️ Plugins run inside your Claude Code session and can read or edit your repo, run shell commands, and call external services. Review any plugin before installing it.
Five guards reduce the blast radius, but none replace your own review:
- TDD gates (
imbue) block implementation writes that lack a failing test. - Destructive-command blockers (
conserve,hookify) auto-approve safe commands and halt or warn onrm -rf,git push --force, and production-shaped targets. - Credential-read denial (
conserve) refusescat,head,grep,rgandgit showon.env,.netrc, credential files and SSH keys. - External-content sanitizing (
leyline) strips invisible characters from web fetches and other external-tool output, and blocks prompt-injection phrases before the model reads them. - Additive-bias audits (
leyline) flag unjustified additions before commit.
CONSTITUTION.md holds the rules that override any conflicting skill or hook, each paired with what checks it. STEWARDSHIP.md is the maintenance contract.
Network and data
Three parts of the marketplace reach off your machine, and each can be
turned off. Two hooks use your existing GitHub credentials, and both do
nothing when gh is unauthenticated or the network is unavailable.
- Star prompt (
leyline,hooks/auto-star-repo.sh). On session start it checks whether you have starred this repository, throughghor aGITHUB_TOKEN/GH_TOKENvariable. It reads star status, asks once per session, and never stars without your consent.CLAUDE_NIGHT_MARKET_NO_STAR_PROMPT=1disables it. - Learnings posting (
abstract,hooks/post_learnings_stop.py). On session stop, when~/.claude/skills/LEARNINGS.mdhas content, it posts a skill-usage discussion throughghand may promote high-severity items to issues. The target istarget_repoin~/.claude/skills/discussions/config.json, else the current repo. It is on by default.auto_post_learnings: falsein that file disables it. - Delegation (
conjure, also reached byattunemissions andegregoresteps) sends the prompt and the file contents it carries to the first external model CLI that answers, in the order Gemini, Qwen, MiniMax, GLM, Muse, Codex, OpenCode, under the credentials you configured for it. It runs by default.CONJURE_DELEGATION=offdeclines it for one run, and"enabled": falsein~/.claude/hooks/delegation/config.jsondeclines it on one machine. When no provider answers, the work stays on your machine.
Plugin Development
make validate-all
make lint && make test # checks only; rewrites nothing
make fix # ruff format + ruff check --fix
A plugin directory holds .claude-plugin/plugin.json (metadata)
plus any of commands/, skills/, hooks/, agents/,
workflows/, and tests/, with a Makefile and
pyproject.toml. A workflows/ script orchestrates several
subagents at once and runs only when you ask for one. Copy the
layout from an existing plugin such as plugins/abstract, then
see the Plugin Development Guide for structure and
naming conventions. Working on this repo needs Python 3.12+
and GNU make 3.82+. The guide covers both, including why
Xcode's make 3.81 reports a green build it did not run.
Documentation
- Installation Guide
- Quick Start
- Common Workflows
- Plugin Development Guide
- Capabilities Reference
- Tutorials
- Architecture Decision Records
- CHANGELOG
Per-plugin pages are in book/src/plugins/.
Stewardship and Contributing
Every plugin is entrusted to the community: steward rather than
own, and think several iterations ahead. Each plugin maintains
its own tests and docs; run make test at the repo root to
execute every suite, and /stewardship-health to view per-plugin
health. Contribution guidelines are in the
Plugin Development Guide.
Acknowledgements
Night Market builds on Anthropic Claude Code and integrates with github/spec-kit (v1.4.0) and obra/superpowers (v7.0.2, see the integration guide). Its AI involvement is declared under the Quillx disclosure standard as 3/5 (Adapted): human-directed, AI-generated, and meaningfully edited.
License
Details
- Marketplace
- athola/claude-night-market
- Source
- plugins/pensive
- Category
- Community
- Keywords
- code-review, architecture-review, bug-hunting, blast-radius, security-review
- Listed since
- Apr 7, 2026
More from athola/claude-night-market
All 23- phantomv1.10.3
- sanctumv1.10.3
- scribev1.10.3
- scryv1.10.3
- spec-kitv1.10.3
- tomev1.10.3
- abstractv1.10.3
- archetypesv1.10.3
- attunev1.10.3
- cartographv1.10.3
- conjurev1.10.3
- conservev1.10.3
- egregorev1.10.3
- gauntletv1.10.3
- heraldv1.10.3
- hookifyv1.10.3
- imbuev1.10.3
- leylinev1.10.3
- memory-palacev1.10.3
- ministerv1.10.3
- oraclev1.10.3
- parseltonguev1.10.3
Similar to pensive
More Code Review & Quality
comprehensive-reviewPluginwshobson/agents42.8K starsMulti-perspective code analysis covering architecture, security, and best practices
architecture-reviewSkillgetsentry/warden709 installsStaff-level codebase review that flags monolithic modules, silent failures, type safety gaps, test holes, and LLM-friendliness issues.
performance-testing-reviewPluginwshobson/agents42.8K starsPerformance analysis, test coverage review, and AI-powered code quality assessment
security-appsec-reviewPluginmarslanalvi/SkillsStack5 starsSecure coding, security code review, static analysis (Semgrep, CodeQL) and audits
auditPluginccplugins/awesome-claude-code-plugins1K starsPerform security audit on codebase