Borrowing it
Nothing to install: this file belongs to hatyibei/shingan. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/hatyibei/shingan/main/.claude/commands/add-test-fixture-and-go-test-for-langgraph-js-rule.mdgit clone --depth 1 https://github.com/hatyibei/shinganWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/hatyibei/shingan/add-test-fixture-and-go-test-for-langgraph-js-rule)<a href="https://agentmods.dev/commands/hatyibei/shingan/add-test-fixture-and-go-test-for-langgraph-js-rule"><img src="https://agentmods.dev/badge/commands/hatyibei/shingan/add-test-fixture-and-go-test-for-langgraph-js-rule/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/hatyibei/shingan/add-test-fixture-and-go-test-for-langgraph-js-rule"><img src="https://agentmods.dev/badge/commands/hatyibei/shingan/add-test-fixture-and-go-test-for-langgraph-js-rule.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00033 | $0.00304 |
| Opus 5 | $0.00016 | $0.00152 |
| Sonnet 5 | $0.00007 | $0.00061 |
| Haiku 4.5 | $0.00003 | $0.00030 |
Grade A, and why
add-test-fixture-and-go-test-for-langgraph-js-rule scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
/add-test-fixture-and-go-test-for-langgraph-js-rule
Use this workflow when working on add-test-fixture-and-go-test-for-langgraph-js-rule in shingan.
Goal
Adds a new test fixture (typically a *_vuln.ts or *_safe.ts file) for langgraph-js, and updates Go tests to assert correct rule firing or non-firing.
Common Files
testdata/langgraphjs/*.tsinfrastructure/parser/langgraphjs_test.go
Suggested Sequence
- Understand the current state and failure mode before editing.
- Make the smallest coherent change that satisfies the workflow goal.
- Run the most relevant verification for touched files.
- Summarize what changed and what still needs review.
Typical Commit Signals
- Create or update a test fixture in testdata/langgraphjs/ (e.g., prompt_injection_vuln.ts).
- Update infrastructure/parser/langgraphjs_test.go to add or broaden test assertions for the fixture.
- Run Go tests to verify correct rule behavior.
Notes
- Treat this as a scaffold, not a hard-coded script.
- Update the command if the workflow evolves materially.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago First seen · 36 lines · 33 tokens per session scan A a173b7bd751a
add-test-fixture-and-go-test-for-langgraph-js-rule is a command published in the GitHub repository hatyibei/shingan (2 stars, last pushed 1mo ago), licensed MIT. It adds 33 tokens to every session and 304 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
go-test
Go TDD workflow with table-driven tests.
go-test
Enforce TDD workflow for Go. Write table-driven tests first, then implement. Verify 80%+ coverage with go test -cover.
go-test
A Go testing command that follows test-driven development, or TDD: write a failing test, implement the smallest change that passes it, then improve the code.
go-test
Go TDD workflow with table-driven tests.
go-test
Go TDD workflow with table-driven tests.
go-test
Go TDD workflow with table-driven tests.