Alas... you've watched YT videos until your eyes hurt, and you've made it to fully automated luxury agentic software development (just mind your API U$$$AGE!! 😬)
This repo gives you a ready-to-roll project structure for building apps with AI assistance. It's like pair programming, but your partner is an AI that actually knows what it's doing.
.ai_docs/
= Professor Pelican's Library 📚 - Documentation the AI can understand (API details, architecture, technical details).ai_docs/construction_log.md
= The Project Journal 📓 - Running log of development history, key decisions, and implementation details
specs/
= Captain Clipboard's Plans 📋 - Feature specifications (what you're building and how).windsurf/
= Windsurf Bro's Board Rack 🏄♂️ - Templates and rules for working with Windsurfsrc/
= Source code for your project (not yet created - you'll add this as you build)
- Clone this repo to your machine (or just copy these folders)
- Rename everything from "my_windsurf_project" to whatever your actual project is called
- Set up your global rules to include commands that will automatically set up these agentic folders (
.ai_docs/
,specs/
,.windsurf/
) in any repo- Recommended: Add template commands to
~/.codeium/windsurf/memories/global_rules.md
- You can edit these via Cascade menu: Customizations > Rules > +Global
- Include commands like
setup-agent-workspace
to copy template folders to any workspace - For detailed instructions, see the Setup Guide
- NOTE: You can use the Setup Script to automatically configure your
~/.codeium/windsurf/memories/global_rules.md
with these agentic repo setup commands
- NOTE: You can use the Setup Script to automatically configure your
- Recommended: Add template commands to
- Set up your Windsurf config to use those MCP servers (if you haven't already)
- Make sure your mcp_config.json is good to go (see MCP Configuration section below)
- Double-check your API keys aren't expired
- Configure repo-based rules according to your project's specific needs
- Create
.windsurf/rules/*.md
file in your project - See Windsurf Rules Documentation for detailed instructions and examples of global and repo-based rules.
- Create
MCP (Model Context Protocol) is what gives your AI assistant superpowers - it lets the AI interact with tools and services outside its normal sandbox. No cap, it's a game-changer!
- MCP servers are like plugins that let your AI do things it normally can't (search the web, access your git repo, remember stuff long-term)
- Each server has a specific job (like
tavily
for web search orgit
for repo access) - The AI triggers these tools with specific phrases like "search the web for React hooks (use tavily)" or "git.log -n 5"
- Check out the
example_mcp_config.jsonc
file in this repo - Copy it to your Windsurf config location (usually
~/.codeium/windsurf/mcp_config.json
) - Replace the placeholder API keys with your actual keys
- For memory storage, set the paths to where you want data stored
// Example for the tavily search MCP
"tavily": {
"command": "npx",
"args": ["-y", "tavily-mcp@latest"],
"env": { "TAVILY_API_KEY": "<YOUR_TAVILY_API_KEY>" }
}
Most MCP servers work right out of the box with npx, but some (like memory) need a bit more setup.
git
: Helps the AI understand your codebase and commit historymemory
: Lets the AI remember important project details between sessionstavily
: Searches the web for docs and solutionsfetch
: Grabs content from URLs and formats it nicelyfigma
: Connects to your design files for implementing UI/UXpostgres
: Understands your database schema (when working with PostgreSQL)browser
: Controls a headless browser for testing and automationpuppeteer
: Controls a headless browser for testing and automation
Check the comments in example_mcp_config.jsonc
for how to trigger each MCP!
-
Prime your AI with project context
- Mention the template from
.windsurf/workflows/prime_project_context_with_mcp.md
in Cascade. (e.g. 'refer to @prime_project_context_with_mcp to get context about this project') - The AI will use
git
MCP to list files and understand commit history - It will use
memory
MCP to store project understanding for future sessions
- Mention the template from
-
Plan new features before you build
- Use
.windsurf/workflows/draft_feature_spec_with_mcp.md
- Explain what you want to build
- The AI will use
tavily
to research,fetch
to get docs, and help write a detailed plan - Add the possibility of using
postgres
MCP for database schema understanding - Leverage
figma
MCP for design information when relevant
- Use
-
Build your app with the AI as your coding buddy
- The AI now has context about your project and a plan
- It can help write code, debug issues, and explain concepts
- Follow the plans created in previous steps
-
Document as you go
- Update documentation in
.ai_docs/
to capture key decisions and implementation details - Maintain the construction log (
.ai_docs/construction_log.md
) before commits to document development history - This ensures both you and the AI have up-to-date context in future sessions
- Use
memory
MCP to store particularly important insights
- Update documentation in
- Your actual code! This is just a skeleton - you'll add a
src/
folder when you start coding - Your creativity and domain knowledge (AI can't replace that... yet 👀)
- Possibly some domain-specific templates you might want to add
- Always give your AI clear instructions - it's smart but not psychic
- Update docs as you go - future you will thank you
- Use
memory
MCP to store key decisions so the AI remembers them - Be specific about API details when asking for implementation help
Happy hacking fren ^__^
Don't get haxd!
-The Rubber Ducktor