Prerequisites
- Windsurf IDE installed (download here)
- Active Codeium account (free or Pro)
Setup
Install WindsurfDownload and install Windsurf IDE from the official Codeium website. Open Your Documentation Project
Launch Windsurf and open your OS:B documentation repository. Configure AI Assistant
Windsurf’s AI assistant (Cascade) is enabled by default. Access it via:
- Chat panel (right sidebar)
- Inline completions (as you type)
- Command palette (
Cmd/Ctrl + K
)
Create a
.windsurfrules
file at the root of your documentation repository to train Windsurf on your OS:B documentation standards.
Create .windsurfrules
Create a.windsurfrules
file at the root of your documentation repository to establish OS:B-specific guidelines:
Using Windsurf with OS:B
Code GenerationUse Cascade to generate Python poem templates following OS:B standards. Reference
.windsurfrules
for consistent formatting.
Documentation EditingWindsurf provides AI-assisted editing for markdown content. Request changes like
update this section to match technical documentation voice
or add bash code example for this installation step
Multi-file ContextWindsurf maintains awareness across your entire documentation repository, helping ensure consistency in terminology, structure, and formatting. Inline Assistance
As you write, Windsurf suggests completions that follow your established patterns and project conventions.
Workflow Integration
Creating New Observations- Open new file with naming convention
- Request:
Create OS:B poem template for [observation type]
- Windsurf generates structured Python template
- Fill in metadata and poem content
- Windsurf suggests line breaks and formatting improvements
- Navigate to page requiring updates
- Use Cascade chat to request specific changes
- Review and accept AI-suggested modifications
- Windsurf maintains consistency with existing style
Troubleshooting Ask Windsurf about Mintlify-specific syntax, navigation structure, or formatting issues. The AI can reference your entire project context to provide relevant solutions.
Best Practices
Context LoadingOpen related files when working on connected documentation sections so Windsurf understands full context. Specific Prompts
Instead of “improve this,” specify “rewrite in technical documentation voice maintaining 60-character line limit.” Iterative Refinement
Use chat history to build on previous suggestions rather than starting fresh each time. Consistency Checks
Ask Windsurf to verify formatting consistency: “Check if all poem files follow the metadata order: location, timestamp, coordinates.”
Resources
- Windsurf Documentation
- Cascade AI Features
- OS:B Technical Standards (see Knowledge Transfer document)
Note: While Windsurf can assist with code generation and documentation editing, it cannot observe Belgrade for you. The AI helps structure and format documentation - actual protocol discovery requires direct engagement with the city’s operating system.