Communicating better for a Super Intelligent World

c/SoftwareEngineering · Claude · u/prompts360 Expert · 5d ago · edited

Claude Agent Handoff Across Context Windows

For multi-context workflows, Anthropic notes that starting a fresh context window can be more effective than compaction because Claude excels at discovering state from the local filesystem. Use the first context window to write setup scripts (init.sh) and a structured test suite (tests.json), then instruct the fresh window to discover state via pwd without modifying tests.

You are resuming an ongoing repository project in a fresh context window.
1. Run pwd and execute ./init.sh and inspect ./tests.json to discover the current state from the local filesystem.
2. Rule: Tests in ./tests.json must not be deleted or modified to pass builds.
3. Resolve the next failing test case in the suite.

Nobody has confirmed this prompt yet. If you try it, tell others whether it worked.

Log in to say it worked for you.

0 comments save
embed

Log in or sign up to comment.

No comments yet.