# Groundwork > Know enough to prompt well. The minimum you need to know about core software topics before you prompt a coding agent. Every page is available as raw markdown (append `.md` to the page URL). The full text of all pages is at https://groundwork-two-ecru.vercel.app/llms-full.txt. - [Groundwork](https://groundwork-two-ecru.vercel.app/docs/index.md): The minimum effective knowledge for building software with coding agents. ## Start Here - [How to read these docs](https://groundwork-two-ecru.vercel.app/docs/start-here/how-to-read-these-docs.md): What Groundwork covers, what it deliberately skips, and how each page is laid out. - [Working with coding agents](https://groundwork-two-ecru.vercel.app/docs/start-here/working-with-coding-agents.md): What LLMs, agents, harnesses, skills, and MCP actually are, and how to work with them effectively. - [Anatomy of a good prompt](https://groundwork-two-ecru.vercel.app/docs/start-here/anatomy-of-a-good-prompt.md): The six parts of a prompt that gets production-sane code on the first try. - [The software lifecycle with agents](https://groundwork-two-ecru.vercel.app/docs/start-here/software-lifecycle-with-agents.md): The path a change takes from idea to production and back, which phase each Groundwork page belongs to, and where you stay in charge when an agent does the typing. - [Using Groundwork with your agent](https://groundwork-two-ecru.vercel.app/docs/start-here/using-groundwork-with-your-agent.md): How to give a coding agent the right Groundwork page at the right moment, whether that is one page, a pointer file, a lifecycle slice or the machine-readable index. - [AI vocabulary and when to use what](https://groundwork-two-ecru.vercel.app/docs/start-here/ai-vocabulary-and-when-to-use-what.md): Plain definitions of agent, harness, skill, connector, subagent, hook and the rest, plus how to pick the lightest one that solves your problem. ## Foundations - [How software fits together](https://groundwork-two-ecru.vercel.app/docs/foundations/how-software-fits-together.md): The map of a modern app, showing client, server, database and infrastructure, and how a request flows through them. - [The terminal & git](https://groundwork-two-ecru.vercel.app/docs/foundations/terminal-and-git.md): The two tools every agent uses constantly, and the minimum you need in order to supervise them. - [Networking basics](https://groundwork-two-ecru.vercel.app/docs/foundations/networking-basics.md): DNS, HTTP, ports, TLS and CORS, the plumbing behind every "it works locally but not in prod" bug. ## Frontend - [Building a UI](https://groundwork-two-ecru.vercel.app/docs/frontend/building-a-ui.md): Components, layout, styling and accessibility, the parts of a frontend you need to specify. - [State & data fetching](https://groundwork-two-ecru.vercel.app/docs/frontend/state-and-data-fetching.md): Where data lives on the frontend, how it gets there, and how to keep it fresh. ## Backend - [Building an API](https://groundwork-two-ecru.vercel.app/docs/backend/building-an-api.md): Designing the contract between clients and your server, covering resources, methods, validation, errors and versioning. - [Authentication & authorization](https://groundwork-two-ecru.vercel.app/docs/backend/authentication-and-authorization.md): Who are you (authN) and what are you allowed to do (authZ). Get this wrong and nothing else matters. ## Data - [Databases](https://groundwork-two-ecru.vercel.app/docs/data/databases.md): Where your app's data lives, and how to choose, model and query it. - [Schema & migrations](https://groundwork-two-ecru.vercel.app/docs/data/schema-and-migrations.md): How to change a database's structure safely when real data already lives in it. - [Backups & recovery](https://groundwork-two-ecru.vercel.app/docs/data/backups-and-recovery.md): A backup you've never restored is a hope, not a backup. ## Shipping - [Deployment](https://groundwork-two-ecru.vercel.app/docs/shipping/deployment.md): Getting code from your laptop to users, reliably and repeatably. - [Environments & secrets](https://groundwork-two-ecru.vercel.app/docs/shipping/environments-and-secrets.md): Configuration that changes between environments, and credentials that must never leak. - [Observability](https://groundwork-two-ecru.vercel.app/docs/shipping/observability.md): Logs, metrics, traces and alerts, so you know something broke before your users tell you. ## Security - [Security basics](https://groundwork-two-ecru.vercel.app/docs/security/security-basics.md): The short list of security fundamentals that prevents most real-world breaches, plus the new risks agents bring. ## Quality - [Testing](https://groundwork-two-ecru.vercel.app/docs/quality/testing.md): Tests are how an agent proves its work, and how you keep it from breaking yesterday's work. ## Stacks - [Choosing a stack](https://groundwork-two-ecru.vercel.app/docs/stacks/choosing-a-stack.md): How to pick tools that solve your problem, and why "boring" is usually right when agents write the code. - [Stack recipes](https://groundwork-two-ecru.vercel.app/docs/stacks/stack-recipes.md): Proven tool combinations for common kinds of projects, each with a starter prompt. ## AI & Agents - [How LLMs work, for builders](https://groundwork-two-ecru.vercel.app/docs/ai-agents/how-llms-work.md): Tokens, the context window, sampling and hallucination, the handful of facts that explain most surprising agent behavior. - [Context engineering](https://groundwork-two-ecru.vercel.app/docs/ai-agents/context-engineering.md): Deciding what the model sees, from instruction files to notes and fresh sessions, so a long task stays sharp instead of drifting. - [Prompting patterns that work](https://groundwork-two-ecru.vercel.app/docs/ai-agents/prompting-patterns.md): Reusable moves for steering an agent, such as plan first, show diverse examples, ask for pushback and work in small verified steps. - [Agents, tools and MCP](https://groundwork-two-ecru.vercel.app/docs/ai-agents/agents-tools-and-mcp.md): How the agent loop and tool calling work, what MCP adds, and how to decide what an agent may touch and when a human must approve. - [Reviewing and verifying AI output](https://groundwork-two-ecru.vercel.app/docs/ai-agents/reviewing-ai-output.md): How to check what an agent hands back, with evidence instead of confidence, small diffs, tests that can fail and a sharp eye for invented dependencies. - [Security of agentic workflows](https://groundwork-two-ecru.vercel.app/docs/ai-agents/agent-security.md): Why an agent that reads untrusted text and holds real permissions is a risk, and how to shrink what it can see, reach and do. - [Building with LLM APIs](https://groundwork-two-ecru.vercel.app/docs/ai-agents/building-with-llm-apis.md): What to decide when your own app calls a model, covering streaming, structured output, errors, rate limits, caching, cost and evals. - [Cost, limits and choosing a model](https://groundwork-two-ecru.vercel.app/docs/ai-agents/cost-and-model-choice.md): How to pick a model with your own tests, what drives cost and latency, and how to keep both under control in your app and in long agent sessions. - [Skill and agent templates](https://groundwork-two-ecru.vercel.app/docs/ai-agents/skill-and-agent-templates.md): Copy-ready skill and subagent files that review work against the Groundwork checklists, plan releases and write postmortems, plus how the file formats work and what to restrict. ## Appendix - [Glossary](https://groundwork-two-ecru.vercel.app/docs/appendix/glossary.md): Every term used across Groundwork, defined in a sentence or two. - [Prompt library](https://groundwork-two-ecru.vercel.app/docs/appendix/prompt-library.md): Every reusable prompt in Groundwork, plus general-purpose ones, in one place. ## Smaller slices Machine-readable index of every page: https://groundwork-two-ecru.vercel.app/docs.json. Starter file for AGENTS.md or CLAUDE.md: https://groundwork-two-ecru.vercel.app/groundwork-agents.md. * [Section: Start Here](https://groundwork-two-ecru.vercel.app/llms/section-start-here.txt): 6 pages in one file * [Section: Foundations](https://groundwork-two-ecru.vercel.app/llms/section-foundations.txt): 3 pages in one file * [Section: Frontend](https://groundwork-two-ecru.vercel.app/llms/section-frontend.txt): 2 pages in one file * [Section: Backend](https://groundwork-two-ecru.vercel.app/llms/section-backend.txt): 2 pages in one file * [Section: Data](https://groundwork-two-ecru.vercel.app/llms/section-data.txt): 3 pages in one file * [Section: Shipping](https://groundwork-two-ecru.vercel.app/llms/section-shipping.txt): 3 pages in one file * [Section: Security](https://groundwork-two-ecru.vercel.app/llms/section-security.txt): 1 pages in one file * [Section: Quality](https://groundwork-two-ecru.vercel.app/llms/section-quality.txt): 1 pages in one file * [Section: Stacks](https://groundwork-two-ecru.vercel.app/llms/section-stacks.txt): 2 pages in one file * [Section: AI & Agents](https://groundwork-two-ecru.vercel.app/llms/section-ai.txt): 9 pages in one file * [Section: Appendix](https://groundwork-two-ecru.vercel.app/llms/section-appendix.txt): 2 pages in one file * [Phase: Plan](https://groundwork-two-ecru.vercel.app/llms/phase-plan.txt): 3 pages in one file * [Phase: Design](https://groundwork-two-ecru.vercel.app/llms/phase-design.txt): 3 pages in one file * [Phase: Build](https://groundwork-two-ecru.vercel.app/llms/phase-build.txt): 7 pages in one file * [Phase: Verify](https://groundwork-two-ecru.vercel.app/llms/phase-verify.txt): 4 pages in one file * [Phase: Ship](https://groundwork-two-ecru.vercel.app/llms/phase-ship.txt): 2 pages in one file * [Phase: Operate](https://groundwork-two-ecru.vercel.app/llms/phase-operate.txt): 2 pages in one file * [Phase: Any phase](https://groundwork-two-ecru.vercel.app/llms/phase-any.txt): 8 pages in one file