/windsurf-pack:windsurf-architecture-variants [scope or requirements]from windsurf-pack
Guides selection of Windsurf workspace architectures for single projects, monorepos, multi-service systems, and polyglot codebases. Helps structure workspaces to optimize Cascade context and indexing.
Ships in windsurf-pack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Workspace structure directly affects Cascade context and indexing behavior. Select and verify an architecture for single projects, monorepos, multi-service systems, polyglot codebases, or large organizations.
Confirm the target repository size, ownership boundaries, and developer workflow before selecting a workspace layout.
Public documentation checks require no authentication. Any editor, organization, remote-indexing, or MCP operation uses the operator's existing Devin Desktop session and the target provider's approved credentials; never copy those credentials into repository files.
Read to inspect only the repository files and configuration needed for the request.Grep to locate relevant settings, rules, logs, or code without broad collection.Best for: 1-3 developers, single service, <10K files.
my-project/
├── .devin/rules/project.md # Full project context
├── .codeiumignore # Exclude build artifacts
├── src/
├── tests/
├── package.json
└── README.md
Configuration:
.devin/rules/project.md contains complete stack and architecture detailsBest for: 3-15 developers, monorepo with 2-10 packages.
monorepo/
├── .devin/rules/project.md # Brief shared conventions
├── .codeiumignore # Aggressive exclusions at root
├── packages/
│ ├── api/
│ │ ├── .devin/rules/project.md # API-specific rules
│ │ └── .codeiumignore
│ ├── web/
│ │ ├── .devin/rules/project.md # Frontend-specific rules
│ │ └── .codeiumignore
│ └── shared/
│ ├── .devin/rules/project.md # Library conventions
│ └── .codeiumignore
└── .windsurf/
└── workflows/ # Shared workflows
Strategy:
# Each developer opens their package directory:
windsurf packages/api/ # Backend dev
windsurf packages/web/ # Frontend dev
windsurf packages/shared/ # Library maintainer
# NOT: windsurf monorepo/ # Too broad!
Best for: 15+ developers, microservices, 50K+ total files.
Developer A: Windsurf → services/auth/ (auth service)
Developer B: Windsurf → services/payments/ (payments)
Developer C: Windsurf → services/notifications/ (notifications)
Developer D: Windsurf → shared/libs/ (shared libraries)
Each developer gets focused Cascade context per workspace window.
Team conventions:
1. One Windsurf window per service/package
2. Every service has its own .devin/rules/project.md and .codeiumignore
3. Cascade tasks scoped to current workspace only
4. Cross-service changes: open both workspaces side by side
5. Tag cascade commits: git commit -m "[cascade] description"
6. Use shared workflows from central config repo
Best for: Projects with multiple languages (TypeScript + Python + Go).
# Each language has different .devin/rules/project.md
services/
├── ts-api/
│ └── .devin/rules/project.md # TypeScript patterns, Fastify, Vitest
├── python-ml/
│ └── .devin/rules/project.md # Python patterns, FastAPI, pytest
└── go-gateway/
└── .devin/rules/project.md # Go patterns, chi router, go test
<!-- .devin/rules/project.md for Python service -->
# Project: ML Pipeline
## Stack
- Language: Python 3.11
- Framework: FastAPI
- ML: scikit-learn, pandas
- Testing: pytest with fixtures
- Type checking: mypy (strict)
## Conventions
- Use pydantic for all data models
- Async endpoints with asyncio
- Type hints on all functions
- No print() — use logging module
Best for: UI-heavy projects with design system, Storybook, component library.
<!-- .devin/rules/project.md for design system -->
# Project: Design System
## Stack
- Framework: React 18 + Next.js 14
- Styling: Tailwind CSS + custom tokens
- Components: Radix UI primitives
- Docs: Storybook 8
- Testing: Vitest + Testing Library
## Component Conventions
- One component per file (ComponentName.tsx)
- Co-located tests: ComponentName.test.tsx
- Co-located stories: ComponentName.stories.tsx
- Props interface exported: ComponentNameProps
- Use forwardRef for all components
- Use CVA (class-variance-authority) for variants
## Design Tokens
- Colors: use design-system/tokens, never raw Tailwind colors
- Spacing: use space-* scale (4px base)
- Typography: use text-* presets
Cascade integration: Use Previews to iterate on UI components:
"Preview the Button component with all variants"
Click elements in Preview → send to Cascade for refinement
| Factor | Solo | Focused Mono | Multi-Window | Polyglot |
|---|---|---|---|---|
| Team Size | 1-3 | 3-15 | 15+ | Any |
| Codebase | <10K files | 10K-50K | 50K+ | Mixed |
| Cascade Speed | Fast | Fast (per window) | Fast (per window) | Fast (per window) |
| Setup Effort | Minimal | .codeiumignore + rules | Per-service config | Per-language rules |
| Context Quality | Excellent | Good | Good | Good (per lang) |
Deliver a workspace topology recommendation naming the selected variant, indexing boundaries, rule and AGENTS.md locations, ignore strategy, tradeoffs, and a staged migration plan. Include explicit assumptions for repository size, languages, ownership, and team concurrency.
| Issue | Cause | Solution |
|---|---|---|
| Cascade is slow | Too many files indexed | Open smaller workspace, add .codeiumignore |
| Wrong file context | Monorepo root open | Open specific service directory |
| Conflicting edits | Multiple devs, same files | Feature branches per Cascade session |
| Wrong language patterns | Multi-language workspace | Separate .devin/rules/project.md per language directory |
| Stale suggestions | Index out of date | Preserve diagnostics, then use the current indexing reset control |
node_modules/
dist/
build/
.next/
coverage/
*.min.js
*.map
__pycache__/
.venv/
target/
vendor/
*.log
*.sqlite
set -euo pipefail
FILE_COUNT=$(find . -type f -not -path '*/node_modules/*' -not -path '*/.git/*' | wc -l)
echo "Indexed files: ~$FILE_COUNT"
[ "$FILE_COUNT" -gt 10000 ] && echo "WARNING: Consider opening a subdirectory"
[ -f .devin/rules/project.md ] && echo "Rules: $(wc -c < .devin/rules/project.md) chars" || echo "Rules: MISSING"
[ -f .codeiumignore ] && echo "Ignore: $(wc -l < .codeiumignore) patterns" || echo "Ignore: MISSING"
Continue with windsurf-known-pitfalls to test the selected architecture against indexing, context, configuration, and team-workflow failure modes.
What SKILL.md sets; muted values are Claude Code's defaults
30 skills in this plugin
/windsurf-advanced-troubleshootingAdvanced Devin Desktop (formerly Windsurf) debugging for hard-to-diagnose IDE, Cascade, and indexing issues.
Use when standard troubleshooting fails, Cascade produces consistently wrong output,
or investigating deep configuration problems.
Trigger with phrases like "windsurf deep debug", "windsurf mystery error",
"windsurf impossible to fix", "cascade keeps failing", "windsurf advanced debug".
/windsurf-ci-integrationAnalyze and integrate Devin Desktop (formerly Windsurf) Cascade workflows into CI/CD pipelines and team automation.
Use when automating Cascade tasks in GitHub Actions, enforcing AI code quality gates,
or setting up Windsurf config validation in CI.
Trigger with phrases like "windsurf CI", "windsurf GitHub Actions",
"windsurf automation", "cascade CI", "windsurf pipeline".
/windsurf-common-errorsDiagnose and fix common Devin Desktop (formerly Windsurf) IDE and Cascade errors.
Use when Cascade stops working, Supercomplete fails, indexing hangs,
or encountering Windsurf-specific issues.
Trigger with phrases like "windsurf error", "fix windsurf",
"windsurf not working", "cascade broken", "windsurf slow".
/windsurf-core-workflow-aExecute Devin Desktop's primary workflow: Cascade Code mode for multi-file agentic coding.
Use when building features, refactoring across files, or performing complex code tasks.
Trigger with phrases like "windsurf cascade write", "windsurf agentic coding",
"windsurf multi-file edit", "cascade code mode", "windsurf build feature".
/windsurf-core-workflow-bChoose and create Devin Desktop customizations: Rules, AGENTS.md, Workflows, Skills, and Memories. Use when making Cascade behavior reusable or deciding how a procedure should activate. Trigger with "windsurf workflow", "Cascade skill", "windsurf rule", "AGENTS.md", or "Cascade memory"./windsurf-cost-tuningOptimize Devin Desktop (formerly Windsurf) licensing through current plan, seat, quota, and extra-usage analysis. Use when right-sizing a team, forecasting usage, or reducing spend. Trigger with "windsurf cost", "windsurf billing", "seat audit", "extra usage", or "windsurf budget".npx claudepluginhub jeremylongshore/tons-of-skills-marketplace --plugin windsurf-packOther plugins' skills for the same job