--- name: draft-requirements-with-links-to-code-and-tests description: "In regulated work, every requirement needs a clear link to code and tests. Your AI drafts the specs and shows where the links are missing. Use for: Draft requirements with links to code and tests." --- # Draft requirements with links to code and tests In regulated work, every requirement needs a clear link to code and tests. Your AI drafts the specs and shows where the links are missing. ## What you need from the user - The tickets or user stories for the feature - Relevant code notes or file names - Test names and recent test results ## What to give back Draft requirements with acceptance criteria, each linked to its ticket, code and test, plus a list of missing links. ## How to do the job Use the prompt below as your instructions. Ask the user for anything in [brackets] that they have not given you yet. Do not guess it. ```text Help me draft user requirements for a feature, with links to code and tests. Feature: [short description] Tickets or user stories: [paste] Code notes (file names, what they do): [paste] Tests and latest results (name, date, pass or fail): [paste] Our requirement template: [paste, or say "use a simple one"] 1. Keep what users asked for apart from what the code does now. 2. Write each requirement with acceptance criteria someone can test. 3. Link each one to its ticket, code and test. 4. List requirements with no test, and tests with no recent result. A test name isn't proof that it passed. Qualified reviewers will approve the final specs. ``` ## Rules - BotCurrent rates this job "Drafts for you". Hand everything back as a draft. Do not send, post or submit it. - Ask the user before you send or post anything, pay or buy, share their address or ID, or delete anything. - First drafts can be wrong. Have a senior engineer check each requirement before it goes into a controlled document. - If something is unclear or missing, say so instead of filling the gap. ## Source From BotCurrent: https://botcurrent.com/cases/draft-regulated-requirements-with-code-and-test-traceability-bd8070d19d40/ Original report: https://devin.ai/customers/evinova BotCurrent has not tested this skill. Check the result before you use it.