Scaffold a new service end to end with agents
Cursor agents create Terraform, k8s manifests and CI, validate them and open a draft PR; one cleanup run wrongly deleted Terraform files.
Done withCursor
- What they did
- A task file in the repo, run with a service name and team name, drives the agent. It first checks GitHub, the cluster and Terraform state for conflicts. It then writes the Terraform service file, the Kubernetes Deployment, Service and HPA, and a CI workflow with a Trivy scan. It runs terraform validate and kubectl dry-run, then opens a draft PR with a checklist. A senior engineer reviews before merge.
- How it went
- The article describes a new engineer producing convention-compliant files this way, with no timing stated for this run. Separately, a vague prompt to clean up unused resources deleted 14 files, three of them Terraform files still managing state. A checkpoint rollback fixed it.
- Worth knowing
- Replace vague prompts like cleanup with precise report-only tasks. Reviewers who skimmed let a cpu=10m limit through, so keep PRs small and use checkpoints.
Try it yourself with Cursor
Scaffold a new service called [service name] including Terraform, Kubernetes manifests, and CI config, validating each file as you go. Open a draft pull request with the changes, but show me exactly what will be created or deleted before running any cleanup or deletion commands.
Source: blog.devops.dev · Undated
Five of these in your inbox every morning
The best things people got an AI agent to do, each with the prompt to try it.
More like this
Keep coding agents running autonomously for long stretches
Cursor's write-up on scaling long-running autonomous coding.
Run a scheduled personal assistant that builds a task dashboard
A Rippling engineer's Cursor cron agent runs every two hours, reading Slack notes, GitHub PRs, Jira issues and mentions, deduplicating them and posting a dashboard.
Build a homepage from Figma designs via MCP
The author connected Figma to Cursor over MCP to build a new homepage for a font archive, with great results after Lovable disappointed.
- Claude
Build a C compiler with a team of parallel agents
Anthropic's engineering write-up on tasking Opus 4.6 agent teams with building a C compiler.
Manage Canvas courses in plain English
The author built a Canvas LMS tool with Claude Code that lets educators list courses, find missing submissions, monitor forums, schedule announcements and export the gradebook.
Migrate an Electron app from Vue 2 to Vue 3
Kearney gave Devin repo access to migrate a production Electron app to Vue 3 and update npm packages, committing after every five components.