AI Web Development: From Clear Requirements to Tested Changes
Use a coding assistant to build and revise a website in small, reviewable steps. Keep the requirements, acceptance checks, and unfinished work clear across sessions.
Updated 5 min read
AI web development works best when you give a coding assistant clear requirements, ask for a small change, then check the result against real user behavior. Start with one page or interaction before asking it to build a whole site. fenbs can keep the requirements, approved decisions, and progress available when a different assistant or developer continues the work.
A working-looking preview is a useful draft. Before release, you still need to know that forms submit correctly, navigation works on a phone, access rules hold, and errors are understandable. Define those outcomes before the assistant begins changing files.
How do you start a website change with AI?
- Write the user’s goal and the smallest change that supports it. Include the current behavior, expected behavior, and anything that must remain intact.
- Ask the assistant to inspect the existing project and identify the relevant files, components, and checks. Have it explain its proposed approach before editing.
- Work in an isolated branch or working copy. Give access to the required files and test environment, keeping production credentials out of the session.
- Implement one complete interaction, then review the code difference and test the user’s path, including a meaningful error case.
- Record what passed, what remains untested, and the next action. Treat release as a separate authorized step with a recovery plan.
Imagine a local design studio adding a project inquiry form. A useful first change is a form that collects the approved fields, explains errors, and confirms successful submission. A request to “make the website more modern” gives the assistant no dependable way to judge whether it has finished.
The AI at work library covers other practical uses. If the task is the wording rather than the website implementation, use the separate guide to AI-assisted writing from requirements to review.
What requirements should the assistant receive?
Provide enough context to avoid invented design choices. Describe the audience, the page’s purpose, the approved content, and the existing visual conventions. Point to a working component in the repository when you want another component to behave the same way.
Turn vague quality words into observable checks. “Mobile friendly” becomes “the form fits a narrow phone screen without horizontal scrolling, labels remain readable, and every control is reachable.” “Reliable” becomes “a failed submission shows a clear error and does not pretend the inquiry was sent.”
Goal: let a prospective client submit a project inquiry. Use the approved fields: name, email, and project description. Reuse the existing form and button components. Show clear errors and a success confirmation. Preserve keyboard access and visible focus. Do not add analytics, change authentication, or deploy. First identify relevant files and propose acceptance checks.
Separate open questions from requirements. If nobody has decided where inquiries should be delivered, the assistant can prepare the interface but should not invent a destination. fenbs project context keeps the accepted answer available once a person makes that decision.
How do you keep generated changes small enough to review?
Ask for the smallest complete user path and inspect it before adding another. For the form, that means reviewing the fields, validation, submission, and result together. A visual shell with no delivery behavior is incomplete, while a broad cleanup of the entire application makes the intended change harder to judge.
Have the assistant follow existing project conventions. Ask why it proposes a new dependency or another data storage location. An extra package can create maintenance work that a simple existing helper would avoid. Pause when the work expands into an architectural choice the original request did not settle.
Read the difference between the starting files and the changed files. Look for unrelated edits, removed checks, changed defaults, and generated content that replaces approved copy. A concise change summary helps navigation, but it does not replace reading the actual implementation.
An additional assistant can flag issues, but its review also needs assessment. GitHub’s responsible-use guidance for Copilot agents (opens in a new tab) describes human oversight and review of outputs. The AI code review tools guide covers how that extra review fits into development.
What should you test before calling the change complete?
Run the project’s existing checks and then exercise the changed interaction. A passing automated check can miss a confusing error message or a button outside the visible phone screen. State which browser, screen size, and user path you actually checked rather than saying “everything works.”
| Area | Practical check | Evidence to retain |
|---|---|---|
| Behavior | Submit valid input, missing input, and a simulated delivery failure. | The observed outcome for each path. |
| Accessibility | Use only the keyboard, inspect labels, and enlarge the page. | Any blocked action, unclear label, or lost content. |
| Phone layout | Check narrow screens and long field values. | Whether controls remain reachable without page-wide overflow. |
| Integration | Verify the inquiry reaches the intended test destination. | The tested environment and confirmation, without personal data. |
The W3C’s Easy Checks for web accessibility (opens in a new tab) includes keyboard access, visible focus, headings, form labels, and text resizing. It explains that these preliminary checks are not a complete accessibility evaluation. Use them as a starting point and arrange deeper testing appropriate to your site.
If a check cannot run, explain the reason and its impact. “Delivery not tested because the test mail service is unavailable” tells the reviewer what still blocks completion. “Build passed” alone does not establish that a submitted inquiry reaches anyone.
Where do security and release decisions belong?
Review how the new behavior handles untrusted input and protected actions. A field hidden in the browser is not an access boundary. A submit button that appears disabled is not proof that the server refuses the request. Check the server’s validation and permission behavior where the action actually happens.
MDN’s website security introduction (opens in a new tab) explains common threats such as script injection and forged requests. Use your framework’s documented protections and seek qualified review for sensitive changes. Do not accept a generated workaround that removes a protection merely to silence an error.
Keep the assistant’s access appropriate to the task, including its ability to run commands or reach external services. The AI agent access review guide covers those boundaries. Release only after the responsible person accepts the remaining risks and knows how to restore the previous version if needed.
Keep the website task understandable next session
Save the approved behavior, acceptance checks, and project decisions in fenbs. Record the actual test result and Where we left off before changing assistants. The next supported coding assistant can see that the form is built but delivery still needs checking, rather than assuming the preview means completion.
Create a free accountFree for one person · No credit card · Works with Claude, ChatGPT, Cursor and more
How to do this with fenbs
- Create a free account and add the website project. Describe its audience, goal, and the existing conventions another session should preserve.
- Create a task for the bounded website change. Keep the required behavior, implementation plan, and acceptance checks with it.
- Record decisions people approved, including collected fields or release restrictions. Keep unanswered product questions open for a person.
- Ask a supported connected assistant to read project context before editing. At the end, save the task’s test evidence and a precise next step in Where we left off.
fenbs does not host your website or replace source control and testing tools. If one short session completes the job and your existing issue already has all the necessary context, another record may be unnecessary. It helps when website work spans people, tools, and sessions that would otherwise lose the reason behind a change.