원클릭으로
counterfact
Understand Counterfact architecture and generated project structure before editing generated API simulation code.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Understand Counterfact architecture and generated project structure before editing generated API simulation code.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Keep contributor changes aligned with repository test patterns, diagnostics, release/versioning workflow, documentation requirements, and compatibility.
Provide Counterfact repository orientation, high-level architecture, and the canonical command reference for install/build/test/lint workflows.
Update Counterfact CLI option behavior, config resolution, telemetry-safe startup handling, and bootstrap/runtime entrypoint flow.
Modify TypeScript generator internals, OpenAPI parsing/schema handling, and generated file writing behavior without regressing regeneration guarantees.
Safely change Counterfact runtime/server internals while preserving module boundaries, hot reload behavior, and backward compatibility guarantees.
Add and evolve Counterfact context classes in _.context.ts files, including required unit test coverage for context behavior.
| name | counterfact |
| description | Understand Counterfact architecture and generated project structure before editing generated API simulation code. |
| applyTo | ["**/*.{yaml,yml,json}","**/routes/**/*.{ts,js}","**/scenarios/**/*.{ts,js}","**/*context.{ts,js}"] |
Give agents a quick, practical overview of Counterfact so they can safely edit Counterfact-generated projects.
Counterfact generates a working mock API from an OpenAPI/Swagger specification. It creates route handler files and types, then runs a live server with hot reload and a REPL.
routes/ and types under types/._.context.ts files.scenarios/ and REPL scenario commands.routes/ as the place for HTTP glue (status code + response mapping).