mit einem Klick
counterfact-cli-runtime
// Update Counterfact CLI option behavior, config resolution, telemetry-safe startup handling, and bootstrap/runtime entrypoint flow.
// Update Counterfact CLI option behavior, config resolution, telemetry-safe startup handling, and bootstrap/runtime entrypoint flow.
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.
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.
Edit Counterfact route files to add endpoint behavior while keeping handlers thin and delegating business logic to context classes.
| name | counterfact-cli-runtime |
| description | Update Counterfact CLI option behavior, config resolution, telemetry-safe startup handling, and bootstrap/runtime entrypoint flow. |
| applyTo | ["bin/counterfact.js","src/cli/**/*.ts","src/util/load-config-file.ts","test/cli/**/*.test.ts"] |
Use this skill for CLI flags, option precedence, config file loading, startup diagnostics, Node/runtime bootstrap behavior, or telemetry option changes.
bin/counterfact.jssrc/cli/run.tssrc/cli/telemetry.tssrc/util/load-config-file.tstest/cli/run.test.tsdocs/reference.md (CLI reference)bin/counterfact.js minimal: version gate + runtime capability probe + delegate to runCli.program.getOptionValueSource).bin/counterfact.js instead of src/cli/.--spec string mode.yarn lint, yarn build, yarn test.test/cli/run.test.ts, test/cli/telemetry.test.ts, test/cli/check-for-updates.test.ts.docs/ and add a changeset.