Run unknot on the current project and report the structural knots (import cycles, tangled classes, leaked state, pass-through code, prop drilling). Use when asked to check the architecture or structure of a TypeScript or JavaScript project, to run unknot, or to see the known structural debt.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Check?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/patternvoid-check)
---
name: check
description: Run unknot on the current project and report the structural knots (import cycles, tangled classes, leaked state, pass-through code, prop drilling). Use when asked to check the architecture or structure of a TypeScript or JavaScript project, to run unknot, or to see the known structural debt.
argument-hint: "[dir] [--all] [--rule <id>]"
---
# Check the structure
Run unknot in the project root (or the directory given in the arguments):
```bash
npx --yes unknot@0.2.1 $ARGUMENTS
```
- No arguments: only findings that are new against `.unknot.allow` fail.
- `--all`: also show the known debt recorded in `.unknot.allow`.
- `--rule <id>`: only one rule, for example `--rule module-cycle`.
Exit code 0 means no new findings, 1 means new findings (or a baseline from an older unknot with findings not recorded in it: run `npx --yes unknot@0.2.1 --adopt` once), 2 means a setup error (report the message, do not guess).
Report to the user: how many files were read, the findings grouped by rule, and for each the files and lines it names. If there are new findings, fix them with the `untie` skill unless the user only asked for a report.
If the project has no `.unknot.allow` yet, suggest `npx --yes unknot@0.2.1 init`: it records today's debt so that only new knots fail from now on.