Ask a coding agent to add CSV export to an orders page and it can start writing code immediately. The first pull request may still leave you with basic questions. Does the export include all matching orders or just the current page? Which columns belong in the file? What should happen if there are no results? Those decisions are much cheaper to make before the agent builds around its own assumptions.
GitHub Spec Kit gives teams a workflow for making those decisions. The Specify CLI sets up templates and an integration for your coding agent. The agent helps turn a feature request into a specification, a technical plan, and an implementation task list. Each artifact gives you something concrete to review before the next step.
Set up a project
With uv installed, run these commands in a terminal. This example creates a new project and selects the GitHub Copilot integration.
uv tool install specify-cli
specify init order-export --integration copilot
cd order-export
Open your coding agent in the project directory. The slash commands below use Copilot’s skills mode and run in the agent’s chat. Check the invocation syntax for your agent if you choose a different integration. Spec Kit quickstart · Adopting Spec Kit in an existing project
Specify what the user should see
Use /speckit-constitution once to capture project-wide rules. For an orders app, you might require that new endpoints enforce the same authorization rules as the existing API and that new user-visible behavior has automated coverage. Keep the constitution short enough that a reviewer can apply it to a pull request.
Then use /speckit-specify for the feature itself. Give the agent observable behavior to work with.
/speckit-specify Let an authorized employee export all orders matching the current filters, including orders beyond the visible page. Export order number, order date, status, and total in that order. When no orders match, show a message and skip the download.
Read the resulting spec.md as if you were writing acceptance tests. If the page displays 25 of 60 matching orders, you should be able to predict that the file contains 60 data rows. Check what still needs a decision. For example, does export preserve the current sort, and which time zone determines the order date? Use /speckit-clarify to surface questions before those choices become assumptions in the code.
Turn the specification into a plan and tasks
Use /speckit-plan to describe how the feature fits the codebase. In a Vue app with an ASP.NET Core API, you might ask the agent to reuse the orders query and its authorization rules, generate the CSV on the server, and keep the export action on the existing page. Review plan.md for decisions that affect maintainability, such as whether the list and export share one filter implementation. Two copies of that logic can quietly diverge when the next filter is added.
Run /speckit-tasks after reviewing the plan. The resulting tasks.md should put prerequisites ahead of work that depends on them. For example, preserve filter and authorization behavior in the API before wiring up the download button. For a feature with several moving pieces, /speckit-analyze can report inconsistencies across the spec, plan, and tasks. If the export scope is missing from the tests, fix the task list and check any related decisions upstream. Spec Kit command reference
Verify the behavior in code
Use /speckit-implement to execute the tasks. When the implementation is ready, /speckit-converge checks it against the written artifacts and can add follow-up tasks for gaps it finds. Then review the diff and exercise the feature yourself. For this example, test a filtered result that spans multiple pages, an empty result, and a request from a user who lacks permission. Each test traces back to a decision made before coding began.
Try it on one feature
Start with a feature small enough to review in one sitting and specific enough to have meaningful edge cases. Compare the questions you resolved during specification with the ones that still came up in code review. If the team settled more behavior upfront and had fewer surprises in the pull request, you have a practical reason to keep the workflow. Keep the artifacts with the code and update them when the behavior changes so future reviews can still use them.
