Skip to content

DafnckStudio/Agentic-Coding-Framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

27 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ DafnckMachine - Agentic Coding Framework

Automate Your Vision into Realit - Build anything ! Transforming software / app / saas / game development with spec-driven, AI-powered agentic workflows.

↳ Just start with let's get started with '01_AI-RUN/00_Getting_Started.md' with '🎩 Head Orchestrator'

Build Status License Version Contributions Welcome

↳ Just start with let's get started with '01_AI-RUN/00_Getting_Started.md'


🌟 Overview: What is Agentic Coding Framework?

Welcome to Agentic Coding Framework – a revolutionary framework designed to orchestrate fully automated, specification-driven software development using advanced AI agents. This project isn't just about generating code; it's about establishing a robust, repeatable, and high-quality process that takes your initial idea and transforms it into a functional product with minimal manual intervention.

Imagine defining your project's requirements and then watching as AI agents meticulously research, plan, document, and build it, adhering strictly to your specifications. That's the power of Agentic Coding Framework. It leverages a structured, phase-by-phase approach, guiding AI through market analysis, concept definition, Product Requirements Document (PRD) generation, technical specification creation, task breakdown, and finally, agentic code generation.

The result? Unprecedented consistency, adherence to detailed specs, and the automation of complex development workflows, freeing human developers to focus on innovation and high-level strategy.

πŸ€” Why Use Agentic Coding Framework?

This framework is built to solve key challenges in modern software development, especially when leveraging AI:

  • Consistency & Quality: Ensures that development adheres to predefined standards and specifications, reducing variability and improving the quality of outputs.
  • Full-Cycle Automation: Automates the entire pre-development lifecycle, from idea refinement and market research to PRD and technical spec generation.
  • Enhanced Agentic Coding: Provides a structured environment for AI coding agents (like Cline, Cursor, Windsurf) to perform "Agentic Coding" – where the AI takes on significant responsibility for the development lifecycle based on clear logic and instructions.
  • Reduced Tedium: Automates the creation of comprehensive documentation and detailed task lists, which are often time-consuming but critical for project success.
  • Scalable Planning: The structured approach allows for complex projects to be broken down methodically, making them manageable for AI-driven development.
  • Clear Human Oversight: While highly automated, the workflow includes defined points for human review and validation, ensuring the project stays aligned with the vision.
  • Rapid Prototyping & Iteration: The detailed planning and documentation enable faster transitions into development and provide a solid foundation for quick iterations.

✨ Core Features

  • 🧠 AI-Driven Idea to PRD: Guides AI agents through a comprehensive process from initial idea capture, market research, and core concept definition to a detailed Product Requirements Document (PRD).
  • πŸ“„ Automated Specification Generation: AI agents update and populate technical documentation and feature specifications based on the PRD and project context.
  • πŸ“Š Systematic Task Breakdown: Leverages an AI orchestrator (Roo) to decompose the PRD and technical specs into a structured hierarchy of epics, tasks, and sub-tasks, ready for implementation.
  • πŸ€– Agentic Code Generation Support: Designed to feed detailed, validated specifications directly to AI coding agents for implementation, ensuring code aligns with requirements.
  • πŸ”— MCP Integration: Built to utilize Model Context Protocol (MCP) servers, allowing AI agents to access external tools, APIs, and real-time data for research, coding, and more.
  • πŸ”„ Iterative Workflow with Validation: Incorporates human validation points at critical stages to ensure alignment and quality.
  • πŸ› οΈ Customizable Framework: Easily adaptable prompts and documentation templates to suit specific project needs and coding standards.

βš™οΈ How It Works: The Agentic Flow

Agentic Coding Framework operates on the principle of "Agentic Coding Logic," a structured methodology that guides AI agents through distinct development phases. The process is typically orchestrated by an AutoPilot script (01_AI-RUN/01_AutoPilot.md) which invokes a series of detailed prompts.

  1. Initialization & Idea Capture: The user provides an initial idea, which the AI refines through targeted questions.
  2. Market Research: The AI, acting as a market analyst, researches the idea's viability using integrated tools.
  3. Core Concept Definition: The idea is further refined into a solid concept based on market insights.
  4. PRD Generation: A comprehensive Product Requirements Document is created.
  5. Technical Documentation & Specs: Existing documentation templates within the project (in 02_AI-DOCS/ and 03_SPECS/) are updated by the AI with project-specific details derived from the PRD. This includes architecture, coding conventions, feature specs, etc. The AI is guided by 02_AI-DOCS/Documentation/AI_Coding_Agent_Optimization.md.
  6. Task Management: The PRD and specs are broken down into a detailed task list (tasks/tasks.json) by an AI orchestrator, following the workflow defined in 02_AI-DOCS/TaskManagement/Roo_Task_Workflow.md.
  7. Implementation: AI coding agents take the structured tasks and specifications to build the project.
  8. Testing: The implemented features are thoroughly tested against specifications (using logic from 01_AI-RUN/08_Testing.md).
  9. Deployment: The validated application is deployed to the production environment (using logic from 01_AI-RUN/09_Deployment.md).

For a deeper dive into the underlying logic and phase-by-phase execution, please refer to logic.md and the detailed roadmap below.

πŸš€ Getting Started

  1. Fork this Repository: This creates your project's dedicated workspace.
  2. Configure MCP Servers & API Keys:
    • The file 01_AI-RUN/Template/MCP-Server.json lists the MCP servers used.
    • CRITICAL: Replace placeholder API keys (e.g., YOUR_OPENAI_API_KEY_HERE) with your actual keys.
    • SECURITY BEST PRACTICE: Do NOT commit actual API keys directly. Copy 01_AI-RUN/Template/MCP-Server.json to a local, gitignored file (e.g., mcp_config.json) and configure your AI agent (Cursor, Cline, Windsurf) to use this local file.
  3. Customize Core Guidelines (Highly Recommended):
  4. Initiate the Workflow:
    • Open your AI agent (Cursor, Cline, Windsurf).
    • Run the following prompt:
      Read the full codebase and let's get started with `01_AI-RUN/00_Getting_Started.md`
      
    • Alternatively, for a fully automated run, start with 01_AI-RUN/01_AutoPilot.md.

For detailed step-by-step instructions, see 01_AI-RUN/00_Getting_Started.md.

πŸ“š Key Documentation

πŸ› οΈ Technology Assumptions

This workflow suggests a default stack of:

  • Frontend: Next.js (TypeScript)
  • Backend/DB: Supabase
  • Styling: Tailwind CSS (with Shadcn/ui inspiration)

These are recommendations and can be adapted. The workflow heavily relies on Model Context Protocol (MCP) servers (see 01_AI-RUN/Template/MCP-Context.md) for extended AI capabilities.

🀝 Contributing / Future Vision (Optional Placeholder)

We envision Agentic Coding Framework evolving into an even more powerful and adaptable platform for AI-driven development. Contributions, ideas, and feedback are welcome!

  • Expanding MCP integrations.
  • More sophisticated AI agent personas and capabilities.
  • Enhanced automated testing and validation frameworks.

πŸ—ΊοΈ Roadmap: From 0 to 1 with Full Agentic AI Coding Assistance

This workflow is designed for comprehensive AI assistance, orchestrated by the 01_AI-RUN/01_AutoPilot.md file, with human intervention points for validation and strategic direction. Here’s a conceptual step-by-step journey:

Phase 0: Initialization & User Idea

  1. User: Forks the template repository for a new project.
  2. User: Opens 01_AI-RUN/01_AutoPilot.md in their AI agent (e.g., Cline).
  3. User: Shares the 01_AutoPilot.md content with the AI agent.
  4. AI Agent (as ProjectArchitect): Understands "Core Operational Rules." Prompts the user for a brief project idea (1-3 sentences).
  5. User: Provides the initial idea.
  6. AI Agent: Asks 5-7 targeted questions (from 01_AutoPilot.md) to clarify the idea (target users, main problem, key MVP features, business model, tech/design preferences).
  7. User: Answers clarification questions.

Phase 1: Initial Idea Expansion (Logic from 01_AI-RUN/01_Idea.md)

  1. AI Agent: Based on the initial idea and clarifications, uses the 01_Idea.md logical prompt structure to generate a structured idea document.
  2. AI Agent: Saves this document as idea_document.md in the project root.
  3. AI Agent: Presents the completed idea_document.md to the user for quick validation.
  4. User: Validates or requests minor adjustments.

Phase 2: Automated Market Research (Logic from 01_AI-RUN/02_Market_Research.md)

  1. AI Agent: Announces it's conducting market research.
  2. AI Agent (as MarketMaster Pro): Internally uses the 02_Market_Research.md logical prompt, taking idea_document.md as input.
  3. AI Agent: Leverages MCPs (e.g., context7, firecrawl) as needed to simulate data gathering.
  4. AI Agent: Generates a comprehensive market analysis.
  5. AI Agent: Saves this analysis as market_research.md in the root.
  6. AI Agent: Presents a summary of main findings to the user.
  7. User: Decides whether to review the full analysis or proceed.

Phase 3: Core Concept Development (Logic from 01_AI-RUN/03_Core_Concept.md)

  1. AI Agent: Announces it's developing the core concept.
  2. AI Agent (as ConceptForge): Internally uses the 03_Core_Concept.md logical prompt, taking idea_document.md and market_research.md as inputs.
  3. AI Agent: Synthesizes the idea and market research into a refined concept.
  4. AI Agent: Saves this concept as core_concept.md in the root.
  5. AI Agent: Presents the value proposition and key feature matrix to the user.
  6. User: Validates the core concept before proceeding.

Phase 4: PRD Generation (Logic from 01_AI-RUN/04_PRD_Generation.md)

  1. AI Agent: Announces it's creating the Product Requirements Document (PRD).
  2. AI Agent (as PRDarchitect): Internally uses the 04_PRD_Generation.md logical prompt, taking core_concept.md as main input and referencing the 01_AI-RUN/Template/PRD_template.md.
  3. AI Agent: Generates a complete PRD.
  4. AI Agent: Saves the PRD as project_prd.md in the root.
  5. AI Agent: Presents an executive summary with links to full sections.
  6. User: Decides whether to review specific sections or proceed.

Phase 5: Technical Documentation (Logic from 01_AI-RUN/05_Specs_Docs.md)

  1. AI Agent: Announces it's updating technical documentation.
  2. AI Agent (as TechDocNavigator): Internally uses the 05_Specs_Docs.md logical prompt, taking project_prd.md as input.
  3. AI Agent: Updates existing files in 02_AI-DOCS/ and 03_SPECS/ using their structure as templates, integrating information from the PRD and technical research (via MCPs if needed). Also references 02_AI-DOCS/Documentation/AI_Coding_Agent_Optimization.md.
  4. AI Agent: Creates or updates 03_SPECS/documentation_index.md.
  5. AI Agent: Presents a summary of the tech stack and key integrations. (01_AI-RUN/01_AutoPilot.md instructs to proceed automatically).

Phase 6: Task Management (Workflow: 02_AI-DOCS/TaskManagement/Roo_Task_Workflow.md, Structure: 02_AI-DOCS/TaskManagement/Tasks_JSON_Structure.md)

  1. AI Agent: Announces it's breaking down the project into tasks.
  2. AI Agent: Follows the workflow in 02_AI-DOCS/TaskManagement/Roo_Task_Workflow.md, taking project_prd.md and updated technical documents as inputs.
  3. AI Agent: Interacts with Roo Orchestrator (potentially engaging Roo Code mode) to initialize the project, create epics from PRD features, and decompose each epic into tasks and sub-tasks, as detailed in 02_AI-DOCS/TaskManagement/Roo_Task_Workflow.md.
  4. AI Agent: Saves the task hierarchy in tasks/tasks.json, adhering to the structure defined in 02_AI-DOCS/TaskManagement/Tasks_JSON_Structure.md.
  5. AI Agent: Presents high-level epics and priority tasks.
  6. User: May request to modify task priorities.

Phase 7: Implementation (Logic from 01_AI-RUN/07_Start_Building.md)

  1. AI Agent: Announces it's starting implementation.
  2. AI Agent (as ImplementationArchitect): Internally uses the 07_Start_Building.md logical prompt.
  3. AI Agent: If not done in Phase 5, creates/updates detailed specifications for each feature in 03_SPECS/features/.
  4. AI Agent: Requests the next task to implement from Roo Orchestrator.
  5. AI Agent: Implements priority tasks first, using relevant MCPs (e.g., @21st-dev/magic for UI, github for versioning, supabase for DB).
  6. AI Agent: Writes code, tests, and associated documentation, adhering to 02_AI-DOCS/Documentation/AI_Coding_Agent_Optimization.md and PRD guidelines.
  7. AI Agent: Provides regular progress updates.
  8. AI Agent: Presents completed features for validation.
  9. User: Validates implemented features.
  10. AI Agent: Marks tasks as complete by informing Roo Orchestrator.
  11. Repeat (steps 45-51): The task implementation cycle continues until all MVP tasks are completed.

Phase 8: Testing (Logic from 01_AI-RUN/08_Testing.md)

  1. AI Agent: Announces it's initiating the testing phase.
  2. AI Agent (as QualityGuardian): Internally uses the 08_Testing.md logical prompt. Systematically tests each implemented feature based on the PRD, technical specifications, and defined test cases. This includes unit, integration, and end-to-end tests.
  3. AI Agent: Verifies features operate as expected, system calls are correct, and UI adheres to design conventions.
  4. AI Agent: Sets up a preview environment.
  5. User & AI Agent: Review the preview, conduct final user acceptance testing (UAT).
  6. AI Agent: Addresses any issues identified during testing and UAT, iterating with the user until satisfaction.
  7. AI Agent: Confirms all features are stable and ready for deployment.

Phase 9: Deployment (Logic from 01_AI-RUN/09_Deployment.md)

  1. AI Agent: Announces it's initiating the deployment phase.
  2. AI Agent (as DeployMaster): Internally uses the 09_Deployment.md logical prompt.
  3. AI Agent: Follows the deployment plan in project_prd.md and the detailed steps in the project-specific ../02_AI-DOCS/Deployment/deployment_guide.md.
  4. AI Agent: Executes deployment to the production environment, monitors the process, and performs post-deployment verification (smoke tests).
  5. AI Agent: Confirms successful deployment and stability in production.

Phase 10: Iteration (End of 0->1 Cycle)

  1. User & AI Agent: Collect user feedback on the deployed product.
  2. User: Decides on next steps/iterations.
  3. If New Iteration: The cycle can restart at Phase 0 or Phase 1, using learnings and feedback to refine idea_document.md or directly core_concept.md. Existing documents (project_prd.md, tasks/tasks.json, etc.) are updated.

This roadmap outlines the ideal flow. The AI agent is designed to be proactive, but the "Core Operational Rules" in 01_AI-RUN/01_AutoPilot.md require it to seek clarification for ambiguities and report errors, ensuring the user remains the ultimate supervisor.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published