Test Driven Development
cloudflare/computer/.agents/skills/test-driven-developmentcodingOfficial
Official Provider SkillView repo
Drives development with tests. Use when implementing any logic, fixing any bug, or changing any behavior. Use when you need to prove that code works, when a bug report arrives, or when you're about to modify existing functionality.
Files1 files
SKILL.md331 lines
Loading editor…
Install
RecommendedOne command — your agent picks it up automatically.
Select an AI agent above to see the install command.
or
Manual Install
More stepsDownload the file and paste it into your agent's system prompt.
Skill details
Versionv1.0.0
AuthorCloudflare
Categorycoding
Skill IDcloudflare/computer/.agents/skills/test-driven-development
Related skills
Capnwebcapnweb RPC patterns for this repo, with a heavy focus on stub lifecycle
and disposal. Load when touching anything that crosses the Durable Object
↔ computerd boundary: packages/rpc, packages/computer, the computerd client, or the
Durable Object server. Triggers include "capnweb", "RpcTarget", "stub",
"RPC wire", "promise pipelining", "stub disposal", "RpcPromise".CloudflareIndex of Cloudflare-platform skills relevant to this repo. Load when
working on anything that touches Workers, Durable Objects, wrangler,
the sandbox SDK, the agents SDK, or other Cloudflare platform surface.
Triggers include "Cloudflare", "Workers", "Durable Object", "wrangler",
"KV", "R2", "D1", "Vectorize", "Containers", "sandbox".Debugging Computerd FuseDebug computerd in real-FUSE mode end-to-end without workerd, vitest-pool-workers, or wrangler in the loop. Boot the linux-x64 binary in a privileged docker container, drive its capnweb /api endpoint from Node, simulate DO-side sync from a SQLiteTestStorage, and isolate FUSE-related deadlocks. Load when a real-FUSE bug reproduces locally but unit tests pass, when the harness vitest tests hang against a real container, or when you need to attribute a wedge to FUSE vs sync vs exec.ProseStyle guidance for the written word. Use when asked to write code comments,
commit messages, pull requests, READMEs, or documentation. Triggers might be
phrases like "write a commit", "document this", or "add a README".Pull RequestsDescribes how to write pull/merge requests. Use when asked to write or edit a pull request or merge request description. This skill is not relevant to commit messages.Quiche Draft Releasequiche draft GitHub release automation from a release commit hash or existing tag. Use when creating draft releases for the quiche crate from a quiche/Cargo.toml version bump.