Cohesive Code
TypeScript processes for deterministic generation,
with accelerators for human and agent adjustment.
Experimental stage. Cohesive Code is not recommended for use yet. The project is unstable, changing constantly, and may introduce breaking changes to interfaces, generated support files, accelerator state behavior, and CLI commands without notice.
import type { Context } from "@ccode/context";
export default function main(ctx: Context) { const spec = ctx.parseOpenAPIFromFile("specs/api.yaml");
ctx.generate("templates/summary.tpl", "generated/summary.md", { spec }); ctx.accelerate( "handlers.ts", "templates/handlers.tpl", { spec }, "instructions/handlers.md", );}ccode init ccode --version v0.1.0ccode run api/generateccode list accelerated --for-agentInstalling
curl -fsSL https://raw.githubusercontent.com/cohesivestack/ccode/master/installer/install.sh | bash
Agent skill
npx skills add cohesivestack/ccode –skill cohesive-code