Another article on how to mitigate losses with glm4.6. Our old friend glm 4.6. The new friend doubao-seed-code has also arrived.
github spec-kit is a coding agent enhancement tool launched by GitHub, aimed at making engineering more standardized and easier.
I initially looked down on this, thinking I have the claude code max plan, so why bother using it? Then:

This is actually the result of using spec kit, leading to a huge token consumption. Otherwise, based on my usual usage, it should have been just right.
This means that cheaper models might be more cost-effective to use. Because they are less capable, constraining their behavior with extensive specs might lead to better performance than before.
Let’s try out spec-kit.
Installation
For installation, it’s recommended to take a dual approach.
One is to use it directly without worrying too much about installation:
| |
Here, GITHUB_TOKEN refers to the GitHub personal token.
Another method is to install it first and then use it:
| |
Each has its pros and cons. The former requires no installation but needs to pull from git each time; the latter requires a one-time installation but involves dependency management.
Specification Driven Development
SDD is a newly emerging concept. It uses extensive constraints to enable coding agents to write production-ready code.
This article explains it well:
Based on the concept of SDD, I decided to use spec-kit to test the performance of weaker models. The test task was: to add a publish button to hugo-admin.
Unfortunately, the performance is still not quite up to par. What’s rather amusing is the content it output in the middle:
| |
Then it skipped the tests. I can only say that ChatGLM 4.6 is an AI model that doesn’t get bogged down in internal struggles. Here is the commit it submitted.
Afterwards, I switched to doubao-seed-code to continue testing other features, but the performance of doubao-seed-code combined with Claude Code wasn’t great either. You can check out its commit.
In the end, I completed the entire functionality using Trae (which does not support spec-kit). The corresponding commit.
Summary
- If you can manually manage the current context and some obvious “information the model tends to forget,” then you can completely avoid using spec-kit when working with Claude Code. This thing is a token hog—it essentially uses a sledgehammer to crack a nut.
- spec-kit does not support Trae, and Trae doesn’t need that support to perform well.

