.txt
file that you can drag-and-drop into any chat assistant. This is roughly 60k tokens and will enable chat assistants like, ChatGPT, Claude 3.5 etc. to build effectively with Codegen.
.md
files that can be fed to any AI assistant for more accurate and contextual help.
When you create a new codemod via codegen create:
.codegen/prompts/<codemod-name>-system-prompt.md
file.
.codegen/prompts
directory are by default ignored the
.gitignore
file. after running codegen init.md
file can be used with any AI assistant (Claude, GPT-4, etc.) to get more accurate and contextual help.
Create a codemod with description
Review the generated system prompt
bash cat codegen-sh/codemods/modernize-components/prompt.md
Iterate in Copilot, Cursor or Windsurf
@codegen-sh/codemods/modernize-components How should I handle componentDidMount?
Get contextual help