npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

think-shit-through

v0.2.0

Published

A CLI thinking tool for exploring and crystallizing problem spaces

Downloads

22

Readme

Think Shit Through

A CLI thinking tool for Claude Code that helps you explore, challenge, and crystallize problem spaces before jumping to solutions.

TST occupies the space before implementation — where you have scattered context, a fuzzy hunch, and unexamined assumptions, and need to arrive at a clear, defensible problem framing with documented reasoning.

npx think-shit-through

What It Does

TST gives you 11 slash commands in Claude Code that guide you through a structured thinking process:

Explore your problem space through conversation. Challenge your assumptions with adversarial analysis. Check whether your thinking has converged. Generate team-readable artifacts. Hand off to implementation.

Everything you think through is persisted to disk as a Living Map — a graph of nodes, edges, and confidence scores that survives context window resets. You can /clear and /tst:resume without losing anything.

Commands

Exploration

| Command | What it does | |---------|-------------| | /tst:explore | Start or continue problem exploration through conversation | | /tst:map | View your Living Map — narrative summary, Mermaid diagram, confidence heatmap | | /tst:zoom <nodeId> | Deep-dive into a specific node with children, edges, and local context | | /tst:resume | Restore full exploration context after /clear |

Analysis

| Command | What it does | |---------|-------------| | /tst:challenge <nodeId> | Run adversarial analysis — challenges, counter-evidence, blind spots | | /tst:converge | Check convergence readiness — convictions vs uncertainties |

Research

| Command | What it does | |---------|-------------| | /tst:codebase [path] | Map a codebase as constraint-focused analysis (constraints, capabilities, boundaries, risks) | | /tst:research <mode> <topic> | Investigate a domain or topic (modes: domain, competitive, feasibility, evidence) |

Output

| Command | What it does | |---------|-------------| | /tst:generate <type> | Generate artifacts: prd, problem-space, decision-log, risk-register | | /tst:handoff | Generate SHAPE.md for implementation handoff (with readiness gate) | | /tst:ready | Check handoff readiness without generating anything |

For detailed usage examples and parameters, see the User Guide.

Install

# Interactive — prompts for runtime and location
npx think-shit-through

# Claude Code, global install
npx think-shit-through --claude --global

# Claude Code, current project only
npx think-shit-through --claude --local

This installs the 11 slash commands to your Claude Code config and creates a .planning/ directory in your project.

Requirements

  • Node.js >= 18
  • Claude Code (or another supported AI coding environment)

How the Thinking Flow Works

                    codebase ─┐
                    research ─┤
                              ↓
explore → map → challenge → converge → generate → handoff
   ↑                                        |
   └────────────────────────────────────────┘
         (loop until thinking converges)
  1. Explore — Start with a hunch. Claude asks questions, decomposes sub-problems, and builds a graph of your thinking.
  2. Map — See where you are. The Living Map shows explored vs unexplored areas, confidence levels, and open questions.
  3. Challenge — Stress-test your thinking. Adversarial analysis surfaces assumptions, counter-evidence, and blind spots.
  4. Converge — Check if you're done. Convergence assessment shows what you're confident about vs what's still uncertain.
  5. Generate — Produce team-readable artifacts (PRDs, problem space docs, decision logs, risk registers) with audience selection.
  6. Handoff — Generate a SHAPE.md that hands off your thinking to an implementation tool.

The flow is non-linear. You can challenge at any point, zoom into any node, explore new threads, and resume after breaks. The Living Map keeps everything coherent.

How State Works

TST creates a .tst/ directory in your project:

.tst/
  MAP.md          # Living Map (graph + frontmatter)
  trail/          # Thinking trail (conversation history)
  snapshot.json   # Convergence snapshots
  codebase/       # Codebase constraint analysis (from /tst:codebase)
  research/       # Domain research findings (from /tst:research)

State is written after every mutation. If Claude crashes mid-conversation, you lose at most one exchange. Run /tst:resume to pick up where you left off.

Who This Is For

Product people, founders, and anyone who needs to think through a problem before building. TST is for when you have:

  • A problem you can feel but can't articulate
  • Scattered context across tools and conversations
  • Assumptions you haven't examined
  • A team that needs to understand your reasoning

TST is not for implementation planning — that's what builder tools do. TST stops at "what and why," not "how."

License

MIT