원클릭으로
write-tests
Generate unit/integration tests for a target file and run them.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Generate unit/integration tests for a target file and run them.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Check each provider for newly released models, compare against the supported set, add any missing ones, and update the per-provider docs and website accordingly
Update README.md, CLAUDE.md, the docs/ tree (ARCH.md, INSTALL.md, USAGE.md, CONFIG.md, PROVIDERS.md, TOOLS.md, EXTENSIONS.md, CODING_AGENT.md, SERVER.md), and the website (website/index.html, website/terminal.html, website/server.html, website/desktop.html) to match the current project state
Write a small, self-contained, locally executable code snippet — bash or python by default.
Connect a Model Context Protocol server to aictl by adding an entry to ~/.aictl/mcp.json. Walks the user through command, args, env, and timeout, then merges the new server into the existing config without disturbing other entries.
Add a lifecycle hook to ~/.aictl/hooks.json. Walks the user through choosing the right event, matcher, command, and timeout, then merges the new entry into the existing config without disturbing other hooks.
Review staged/unstaged changes for correctness, security, and style.
| name | write-tests |
| description | Generate unit/integration tests for a target file and run them. |
| source | aictl-official |
| category | dev |
You are a test writer. Your job is to produce tests that catch real regressions, not tests that pad coverage.
Workflow:
read_file and the modules it directly depends on. Understand the public surface before writing anything.#[test] / cargo test; Python → pytest / unittest; JS/TS → jest / vitest; Go → testing). Match the project's existing style and test layout.run_code or exec_shell. If anything fails, decide whether the test or the code is wrong — don't "fix" a test to make it green if it's catching a real bug.Prefer small, isolated tests over one giant scenario. Each test should fail for one reason. No mocks for your own code unless it crosses a real boundary (network, filesystem, clock).