[PR #4] Why I Borrowed Ideas Instead of Installing a Big Toolkit
- What changed: The tool collection with many skills (gstack) was not installed. Only ideas, such as the failure-case table, were rewritten in our own words by Claude.
- Decision: Only the needed ideas were borrowed instead of the whole collection, and Claude built the test-enforcing mechanism itself.
- Still unknown: Whether the hook is actually called in a real session was not confirmed at this point.
There are plenty of tools for getting an AI to work well. This is the record of deciding, when I met a toolkit that looked useful, whether to install it whole or only borrow its ideas.
What I did and why
That day’s session had two parts.
- Understanding superpowers. I asked how superpowers (a work-order plugin by an independent developer, installable from Claude’s official plugin marketplace), which I had already installed, would make the AI work when building an IT system, and Claude explained it after reading the installed files directly. superpowers makes the AI follow this order before writing code: “ask → design document → work plan → implement with tests → review → wrap up”. Claude did not change any project files at that point.
- Investigating a toolkit and borrowing ideas. I asked whether gstack, a public repository collecting several dozen skills, had anything useful for this project. Claude had three readers split the reading, a verifier checked the findings against the source, and Claude itself re-checked the seven key pieces of evidence against the original text.
The options I chose and the ones I dropped
Claude recommended not installing gstack, and I decided to follow that. There are three reasons. What follows is based on the install instructions and documents as Claude read them on 2026-10-08, so it may have changed since. It is not a verdict that the tool is bad, only that it did not fit my project.
- It overlaps in pairs with superpowers, which I already use (organizing ideas, debugging, review, wrap-up). Both say “call my skill first”, so the same request would call different skills.
- It changes computer settings broadly. It registers global hooks (scripts that run automatically) that apply to every project, and its install instructions make you add a section to CLAUDE.md telling the AI not to use a particular tool.
- Among its principles is “Boil the Ocean” (build everything completely), which collides head-on with my “build only what was asked”. There was also a lot to prepare on Windows.
Instead, Claude borrowed only the gstack ideas I chose and rewrote them in our own words. Claude copied no sentences, so there is no license notice to worry about.
| What Claude borrowed | What it became in CLAUDE.md |
|---|---|
| Failure-case table | For each feature, write “what can break / what the system does / what the user sees / whether a test exists”, and mark any row with none of these as a “critical gap”. (Example: an alert never went out and nobody noticed) |
| Screen-state table | For each key screen, write what appears while loading, with no data, on error, and when only part arrives. |
| What we are not doing, and the delivery path | The features left out and why, and where and how the system will be put out. |
| Decision-question format | Ask in the order “plain explanation → what happens if you choose wrong → my recommendation and why”. For irreversible decisions, ask again if the answer is vague, like “ok”. |
| Test-enforcing hook | The verify-gate below. Claude borrowed only the thought and built it itself with Claude Code’s built-in hook feature, at my request. |
What I did not include this time. The investigation report also suggested protecting the original design documents with a permission setting (not a perfect lock, since commands can get around it), but it is not in this change, because I did not choose it. The original design documents may also need to be edited as development goes on, so I did not select this item Claude proposed. Claude put off ideas for after code exists until that stage arrives.
The verify-gate hook (new in this change)
- Claude registered one Stop hook (a script that runs at the moment Claude is about to finish a reply) in
.claude/settings.json. The script is.claude/hooks/verify-gate.ps1. - If the test command written on the first line of
.claude/verify-commandfails, it blocks finishing and hands Claude the last 40 lines of the failure output. After it has blocked once, it allows finishing to avoid an endless loop (Claude fixes this part in the next post). - For now it does nothing. The test-command file does not exist yet. Once development starts and a test command exists, it is turned on by writing one line in that file.
How I checked
- Claude tested eight cases with fake input and all passed: no file, empty file, success, first failure, repeated failure, subfolder, failing outside command, and a folder that is not a git repository.
- Claude matched the settings format against the official Claude Code hooks documentation.
- The commit changed one CLAUDE.md file and added two new files (three files, 58 lines added and 1 removed).
What is left and what I learned
- Claude could not confirm at that point that the hook actually gets called in a real session. The
.claudefolder was created mid-session, so it might only apply from a new session. At my request, Claude investigated it, as described in the next post. - A known inconvenience is that tests run every time a conversation ends, even a conversation where I only asked a question. For now there is no test command, so it is not a problem.
- On commit, git warned that it might convert the new files’ line endings to the Windows style. Claude ran the tests on the files as they were.
- Using “which ideas should I borrow?” as the judgment criterion, instead of installing a toolkit whole, let me avoid clashes with tools I already use and avoid changing my computer’s settings.