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

@technicallycorrect/cli

v3.0.1

Published

Technically Correct CLI

Downloads

725

Readme

Technically Correct CLI

tc is the command-line interface for Technically Correct — a requirements-driven development platform.

Installation

npm install -g @technicallycorrect/cli

Configuration

tc config --host localhost --port 4000 --api-key <your-api-key>
tc config  # view current configuration

Configuration is stored at ~/.technicallycorrect/settings.json. The organization is resolved automatically from your API key on first use.

Project setup

Run tc init in your repository to inject usage instructions into your AI assistant's config files and set the default project for that directory:

tc init <slug>   # updates AGENTS.md, CLAUDE.md, .cursor/rules/, .windsurf/rules/
                 # and writes .technicallycorrect/settings.json with the project slug
tc init -g       # updates global AI config files (~/.claude/CLAUDE.md, etc.)

Once initialised, --project is optional on all commands — it is resolved from the local .technicallycorrect/settings.json (or global settings) automatically.

Commands

Requirements

tc r list --project <slug>                         # list all requirements
tc r list --project <slug> --tree                  # nested tree view
tc r list --project <slug> --tree --root 2.0       # subtree rooted at 2.0
tc r <identifier> --project <slug>                 # show a requirement
tc r <identifier> --project <slug> --include-children  # inline child requirements
tc r create <text> --project <slug>                # create a requirement (async, auto-accepts)
tc r edit <identifier> --project <slug>            # edit a requirement — at least one of:
  --parent <identifier>                            #   move to a new parent (0.0 = root)
  --design <text>                                  #   set the design text
  [text]                                           #   update the requirement text (async, shows impact analysis)
  --context <text>                                 #   update the context / why
tc r accept <identifier> --project <slug>          # accept after reviewing impacts

Implementations

tc i add <identifier> --repo <repo> --commit <hash> --message <msg> --project <slug>
tc i add <identifier> --repo <repo> --commit <hash> --message <msg> --description <text> --project <slug>

Links a git commit to a requirement. --repo, --commit, and --message are required. --description is optional but recommended — use it to explain what aspect of the requirement the commit addresses.

Tasks

tc t list --project <slug>          # list active tasks
tc t <id> --project <slug>          # show a task's status and result
tc t verify <id> --project <slug>   # verify a task awaiting review

Projects

tc p list    # list all projects in your organization

Async operations

tc r create and tc r edit (when text is provided) are asynchronous — the CLI polls until the operation completes and returns the final result. If the AI detects impact on related requirements, the result is returned for review without auto-accepting.

Output format

All commands write JSON to stdout. When stdout is a terminal the output is pretty-printed; when captured by a script or LLM it is compact JSON on a single line. Errors are written to stderr as {"error": "..."} and exit non-zero.

Stale AI config warning

When the CLI is updated, injected content in AGENTS.md, CLAUDE.md, and other AI config files may be outdated. On each invocation, tc checks for stale content and prints a warning to stderr if a refresh is needed:

warning: tc init content in CLAUDE.md is outdated (v2.0.0 → v2.1.0). Run `tc init` to refresh.