# AI coding workflows using coding agents

**URL:** <https://community.deeplearning.ai/t/ai-coding-workflows-using-coding-agents/895793>\
**Category:** Spec-Driven Development with Coding Agents\
**Created:** [October 22, 2026, 5:56am UTC](https://community.deeplearning.ai/t/ai-coding-workflows-using-coding-agents/895793 "2026-10-22T05:56:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mukul\_Agarwal](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/mukul_agarwal/32/159630_2.png) [@Mukul\_Agarwal](https://community.deeplearning.ai/u/Mukul_Agarwal)\
**Post date:** [October 22, 2026, 5:56am UTC](https://community.deeplearning.ai/t/ai-coding-workflows-using-coding-agents/895793/1 "2026-10-22T05:56:10Z")

</div>

Hello

I have been using cursor in my organisation for past 6 months now. In earlier days, I was able to use it very well using the ask and plan modes. As the features became more complex and the vast codebase became a blocker. Few of the problems I started facing -

- every chat started with no context of what we have build till now
- Agent used to omit details, hallucinate and write buggy code
- token usage went off the roof

in order to mitigate this, i came across few people who have built full SDLC using skills. here are some of them i found interesting -

- [plugins/pstack at main · cursor/plugins · GitHub](https://github.com/cursor/plugins/tree/main/pstack)
- [GitHub - mattpocock/skills: Skills for Real Engineers. Straight from my .agents directory. · GitHub](https://github.com/mattpocock/skills)
- [GitHub - addyosmani/agent-skills: Production-grade engineering skills for AI coding agents. · GitHub](https://github.com/addyosmani/agent-skills)

These are obviously very well designed but again cant fit my use case exactly. I want to learn how can i built my own SDLC using cursor by able to trust AI more with gaurdrails. Is there any resource on the deep learning platform which can guide me for this

---

<div class="post-metadata">

**Author:** ![imgabidotcom](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/imgabidotcom/32/138825_2.png) [@imgabidotcom](https://community.deeplearning.ai/u/imgabidotcom)\
**Post date:** [October 22, 2026, 9:15am UTC](https://community.deeplearning.ai/t/ai-coding-workflows-using-coding-agents/895793/2 "2026-10-22T09:15:05Z")

</div>

Hi @Mukul_Agarwal,

The course you posted under, **Spec-Driven Development with Coding Agents** , addresses all three problems you describe:

- **Lost context between chats:** you write a project-level “constitution” and feature specs as Markdown files, committed alongside your code. Each new session works from those files instead of depending on chat history.
- **Hallucinations and buggy code:** each feature spec includes a plan, requirements, and validation criteria. These are your guardrails: the agent implements against them, and you check its output against them.
- **Token usage:** this may help too, since the agent works from a focused spec instead of re-exploring the whole codebase each time.

On your main question, building your own SDLC instead of adopting someone else’s: the course shows how to package your own workflow into an agent skill. It uses Claude Code, but the workflow is agent-agnostic and built on open standards like AGENTS.md, so it should carry over to Cursor. It also covers applying the approach to existing code, not just new projects.

If you’ve already taken it, the lessons on the constitution and on creating your own skill are the ones to revisit.

- Course: [Spec-Driven Development with Coding Agents](https://www.deeplearning.ai/short-courses/spec-driven-development-with-coding-agents/)
- A community summary of the course: [Course Summary / Additional walkthrough material](https://community.deeplearning.ai/t/course-summary-additional-walkthrough-material/891884)
- Optional, if you want to understand _why_ agents lose context: [Agent Memory: Building Memory-Aware Agents](https://www.deeplearning.ai/short-courses/agent-memory-building-memory-aware-agents/). Note that it’s aimed at building agents rather than using them.
