Sample claude-code prompts from their. npm package
Anthropic released an npm package for claude-code that acts as an LLM coding assistant. Anthropic on their website including sample LLM interactions. This blog article exist to make it easier to read the prompts and provides no analysis or value judgement. Claude-code Typescript source is available on the npmjs site. Their source provides some interesting examples of good prompt engineering. They show how you can create a detailed system prompt to achieve better results. I've extracted some of the prompts here to make them easier to read. I've wrapped some of the text to make it easier to read. I have no idea if the extra new lines impact the results. So copiers be aware. Claude-code on npmjs https://www.npmjs.com/package/@anthropic-ai/claude-code?activeTab=code The npmjs links to the GitHub repository with the source are broken at this time (2025 02). cli.mjs I found the following system prompts while scanning cli.mjs. systemPrompt : [ `Your ta...