> ## Content Index
> Fetch the complete content index at: https://locallabs-llm.org/llms.txt
> Use this file to discover other available public pages before exploring further.

# Give a coding assistant a useful website brief
- URL: https://locallabs-llm.org/brief-an-ai-coding-assistant/
- Published: 2026-11-19T14:57:37.000Z
- Updated: 2026-11-21T16:15:24.000Z
- Description: Define the visitor's task, real page content, and acceptance checks before asking an assistant to write code.
- Author: Albert Curry
- Tags: Code & build

Give a coding assistant one page to build, its real content, the actions it must support, and a short list of checks. Ask for a plan before code. A working content page gives you something concrete to review: navigation, readable text, and a layout that holds together on a phone.

## Describe the visitor's task

Replace “make a modern website” with a concrete job. A reader might need to find a guide, choose a service, or book a time. Name the main action and the information they need before taking it. If there are secondary actions, put them in order.

Supply real headings and example body text. Placeholder copy hides spacing problems and gives the assistant too much freedom over the meaning. Include a visual reference you have permission to use, and explain which parts matter: the grid, type size, spacing, or color balance.

## Keep the first request small

[GitHub's prompting guidance](https://docs.github.com/en/copilot/concepts/prompting/prompt-engineering?ref=locallabs-llm.org) recommends providing relevant context, stating requirements directly, and breaking a complex task into smaller tasks. Use that approach for the page brief.

```
Plan a single page for a small guide library.
Main action: choose a task and open its guide list.
Content: use the headings and descriptions I supply.
Navigation: Home, All guides, About, and Search.
Layout: three task columns on wide screens, one on phones.
Keep the page readable at 320 CSS pixels wide.
Use real links and native buttons.
Include visible keyboard focus and a skip link.
First explain the page structure and any missing information.
Don't add sign-up forms, analytics, or external services.
```

![VS Code chat input containing a small website brief that asks for a plan before code](https://storage.ghost.io/c/e0/70/e070c514-431e-4a20-aa04-a641625f58e7/content/images/2026/11/coding-brief-ui.webp)

Start with a bounded page brief and ask for the structure before code. [View larger](https://storage.ghost.io/c/e0/70/e070c514-431e-4a20-aa04-a641625f58e7/content/images/2026/11/coding-brief-ui.webp?ref=locallabs-llm.org)

This is an example brief, not a ready-to-deploy application. Add your existing framework, file structure, and project constraints before asking the assistant to edit a repository.

## Define what counts as finished

Write acceptance checks that a person can perform. “Looks clean” is difficult to verify. “The task title and description stay readable without horizontal scrolling at phone width” identifies an observable result.

- Every visible link leads to a real destination.
- The page has one main heading and a clear reading order.
- You can reach every control with a keyboard and see the focus.
- Images have useful alternative text or are marked decorative.
- The main action remains clear when text wraps onto another line.

## Review each change before expanding the page

Check the generated markup, browser behavior, and any dependencies the assistant proposes. GitHub's guidance explicitly includes reviewing and validating generated output. A request for accessible code is not evidence that the page is accessible.

Finish navigation and the main content at wide and narrow sizes before adding animation or secondary sections. If the page needs a hero image, give it a [separate visual brief](https://locallabs-llm.org/write-a-clear-ai-image-prompt/) so an attractive picture doesn't replace the page's useful content.