Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/ggombee/code-forge/generate-testnpx skills add ggombee/code-forge --skill generate-testgit clone --depth 1 https://github.com/ggombee/code-forgeWhat 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 | $0.00046 | $0.01303 |
| Opus 5 | $0.00023 | $0.00651 |
| Sonnet 5 | $0.00009 | $0.00261 |
| Haiku 4.5 | $0.00005 | $0.00130 |
Grade A, and why
generate-test 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 119 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/generate-test
참조: 테스트 설계 시
rules/build-guide.md(React/TS 패턴)
프론트엔드 컴포넌트/훅의 테스트 코드를 자동 생성합니다.
사용법
# 파일 경로 지정
/generate-test src/pages/product/components/ProductCard/index.tsx
# 파일 경로 + Figma 디자인 URL
/generate-test src/pages/product/components/ProductCard/index.tsx --figma https://www.figma.com/design/xxx?node-id=123
# 파일 경로 + Figma + 요구사항 URL (여러 개 가능)
/generate-test src/pages/product/components/ProductCard/index.tsx --figma https://www.figma.com/design/xxx?node-id=123 --req https://www.figma.com/design/xxx?node-id=456 --req https://www.figma.com/design/xxx?node-id=789
# TDD 모드 -- 구현 전에 실패하는 테스트 먼저 생성
/generate-test src/pages/product/components/ProductCard/index.tsx --tdd
# 인자 없이 -- 최근 변경 파일 자동 감지
/generate-test
실행 워크플로우
Arguments: $ARGUMENTS
인자가 있는 경우:
-
인자를 파싱합니다:
- 첫 번째 인자: 대상 파일 경로
--figma [URL]: Figma 디자인 URL--req [URL]: 요구사항 URL (여러 개 가능)--tdd: TDD 모드 강제 적용 (구현 전에 실패하는 테스트 먼저 생성)
-
대상 파일이 존재하는지 확인합니다.
-
mode를 결정합니다:
--tdd옵션 있음 ->tdd모드--tdd없으면 -> assayer 에이전트가 소스 파일 상태를 보고 자동 결정 (파일 미존재/스켈레톤 -> tdd, 구현됨+테스트 없음 -> create, 구현됨+테스트 있음 -> update)
-
assayer에이전트에게 Task tool로 위임합니다:Task(subagent_type: "assayer", prompt: " targetPath: [대상 파일 경로] mode: [create | update | tdd] (--tdd 시 tdd, 아니면 미지정하여 에이전트가 자동 감지) figmaUrl: [Figma URL 또는 없음] requirementUrls: [요구사항 URL 목록 또는 없음] ") -
에이전트 결과를 요약하여 사용자에게 보고합니다.
인자가 없는 경우 (자동 감지 모드):
@see JSDoc 태그가 있는 파일만 자동 감지 대상으로 합니다. 기획서/디자인 링크가 연결된 파일이 테스트 생성 효과가 가장 높기 때문입니다.
-
git diff --name-only와git diff --cached --name-only로 최근 변경 파일 목록을 확인합니다. -
기본 필터링:
.ts,.tsx,.js,.jsx파일만- 제외:
*.test.*,*.spec.*,*.stories.*,*.mock.*,styled.*,constants.*,types.* - 제외 디렉토리:
node_modules,dist,.next,__mocks__,__tests__
-
@see태그 필터링: 각 파일을 Grep하여@seeJSDoc 태그가 포함된 파일만 대상으로 선정합니다.@see태그가 없는 파일은 자동 감지 대상에서 제외@see태그가 없는 파일에 테스트를 생성하려면 경로를 직접 지정:/generate-test src/path/to/file.tsx
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.
- 2d ago First seen · 119 lines · 46 tokens per session scan A bba0a50e7347
generate-test is a skill published in the GitHub repository ggombee/code-forge (13 stars, last pushed 2mo ago), licensed MIT. It adds 46 tokens to every session and 1,303 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-30.
Other skills, from other repositories
software-implementation
Write the minimal production code needed to make failing TDD tests pass (Green phase of red-green-refactor). Use when failing tests exist and production code must be written or modified to satisfy them. Reads and interprets failing test output, discovers codebase conventions (module layout, naming, import patterns…
plan
Plan mode: write markdown plan to .mateclaw/plans/, no exec.
pypto-pitfalls
:标量任意位置。- /:tensor 必须在左。函数调用:第一参数必须 Tensor。.
tilelang-cuda-memory
TileLang CUDA 内存访问优化策略,包括 T.allocshared/fragment 使用、数据布局优化、合并访存和 Bank Conflict 避免技巧。适用于内存带宽受限、需要优化数据搬运效率的 TileLang 内核性能优化场景.
tilelang-cuda-synchronization
TileLang CUDA 同步规范,包括 T.syncthreads() 使用规则、线程安全最佳实践和死锁预防策略。适用于编写涉及共享内存访问、多线程协作、或需要避免同步死锁的 TileLang 内核代码生成场景.
pypto-loop-view
最常见的首次生成错误。所有 pypto.view 的 shape 参数必须是编译期常量(字面量或闭包变量)。.