test-scaffold
Generate test file scaffolds for project modules. Language-agnostic; reads CC_TEST_COMMAND and CC_TEST_PATTERN from config.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Generate test file scaffolds for project modules. Language-agnostic; reads CC_TEST_COMMAND and CC_TEST_PATTERN from config.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Manage project board — issues, sprints, status tracking, acceptance verification, and release management. Supports GitHub Projects, Jira, and YouTrack via pluggable providers.
Manage project board — issues, sprints, status tracking, acceptance verification, and release management. Supports GitHub Projects, Jira, and YouTrack via pluggable providers.
Happy path smoke testing — navigates all configured endpoints, checks HTTP status and server logs for errors, and optionally auto-creates GitHub issues for failures. Config-driven via CC_SMOKE_TEST_* variables.
Manage GitHub Project board — issues, sprints, status tracking, acceptance verification, and release management. White-labeled template for any project.
Check for and apply cognitive-core framework updates. Compares installed agents, skills, and hooks against the framework source, shows available updates, and safely applies them.
Check for and apply cognitive-core framework updates. Compares installed agents, skills, and hooks against the framework source, shows available updates, and safely applies them.
| name | test-scaffold |
| description | Generate test file scaffolds for project modules. Language-agnostic; reads CC_TEST_COMMAND and CC_TEST_PATTERN from config. |
| user-invocable | true |
| disable-model-invocation | true |
| allowed-tools | Bash, Read, Grep, Glob, Write |
| argument-hint | Module or file to generate tests for |
| catalog_description | Generate test file scaffolds — language-agnostic with config support. |
Generates correctly structured test files based on the project's language,
architecture, and testing conventions. Reads configuration from
cognitive-core.conf and conventions from CLAUDE.md.
$ARGUMENTS -- source module path to generate tests for--type=<type> -- override auto-detected test typeFrom cognitive-core.conf:
CC_LANGUAGE -- determines test file format and runnerCC_TEST_COMMAND -- test runner command (e.g., pytest, jest, prove -l)CC_TEST_PATTERN -- test file glob (e.g., tests/**/*.py, t/**/*.t)CC_TEST_ROOT -- test directory (e.g., tests, t, __tests__)CC_ARCHITECTURE -- determines layer detection and mock strategyCC_SRC_ROOT -- source root for path mappingRead the module at the given path. Extract:
Map source path to test path using CC_SRC_ROOT and CC_TEST_ROOT:
{CC_SRC_ROOT}/[path]/Module -> {CC_TEST_ROOT}/[path]/test_module
Respect language conventions for test file naming:
test_module.pymodule.test.js or module.spec.jsmodule.tmodule_test.goModuleTest.java#[cfg(test)] or tests/module.rsBased on CC_ARCHITECTURE and file path, determine the layer:
Include in every generated test:
# FILL: where manual input is neededTEST SCAFFOLD GENERATED
=======================
Source: [source path]
Test: [generated test path]
Type: [detected layer]
Methods: [N] public methods scaffolded
Run: [CC_TEST_COMMAND] [test path]
/code-review -- Review generated test code/pre-commit -- Lint check before committing tests/fitness --gate=test -- Verify test fitness