Prompt file imported from githubabcs-devops/parts-unlimited-web (
.github/prompts/implement-user-story.prompt.md). Copyright stays with the author.
Implement a user story
You are the coding agent for the Parts Unlimited app. Implement the referenced Azure Boards user story
on the .NET 8 app in src/Web.
Steps:
- Read the user story (title, description, acceptance criteria). If given a work-item id, treat it as
AB#<id>. - Create a branch named
feature/AB<id>-<slug>. - Make the smallest change that satisfies the acceptance criteria, editing files under
src/Web. - Add or update an xUnit test under
src/Web.Teststhat covers the change. - Run
dotnet test src/Web.Tests/Web.Tests.csprojand ensure it is green. - Commit using Conventional Commits, referencing
AB#<id>in the message. - Open a draft pull request; the PR-review app will review it.
Constraints:
- Follow
.github/copilot-instructions.md,AGENTS.md, and.github/instructions/csharp.instructions.md. - Keep changes minimal and well-scoped. Never hardcode secrets.
- User-facing strings use American English (per the path-specific instruction for
src/).