Fix a bug with root-cause analysis
Makes the agent find the cause before patching symptoms.
Agent task · Cursor / coding agents, Claude Code, ChatGPT +1
Library / Coding & Technology / Agent setup
Have the agent draft its own instructions from real config files.
Read this repository's config files (package.json/composer.json, lockfiles, CI config, test config, linters) and draft an AGENTS.md with: - Stack and versions (from files, not guesses) - Exact setup, dev, test, lint and build commands - Folder structure summary - Code-style rules evidenced by linters/config - Testing expectations - A "Never" list (destructive commands, secrets, editing generated files) Mark anything you're unsure of with TODO. Keep it under 150 lines.
Copies your prompt and opens the official site in a new tab. You may need to paste it yourself (Ctrl/⌘ + V). Nothing is sent to the AI by us.
Replace [bracketed] parts with your own details before sending. Want it tailored? Build a custom coding assistant prompt.
A typical one-line request compared with this prompt. We only show sample responses where we've written an illustration.
Prompt
agent setup
2 words · no role, context, format or constraints
Prompt
Read this repository's config files (package.json/composer.json, lockfiles, CI config, test config, linters) and draft an AGENTS.md with: - Stack and versions (from files, not guesses) - Exact setup, dev, test, lint and build commands - Folder structure summary - Code-style rules evidenced by linters/config - Testing expectations - A "Never" list (destructive commands, secrets, editing generated files) Mark anything you're unsure of with TODO. Keep it under 150 lines.
69 words · generated instantly from templates, no AI called
What we added
Makes the agent find the cause before patching symptoms.
Agent task · Cursor / coding agents, Claude Code, ChatGPT +1
Behaviour-preserving refactor with tests as a safety net.
Agent task · Cursor / coding agents, Claude Code, ChatGPT +1
Covers happy path, edge cases and failures without testing implementation details.
Agent task · Cursor / coding agents, Claude Code, ChatGPT +1