A collection of production-tested AI prompts and Cursor rules, shared as part of the Prompt of the Week program.
This repository accompanies the Algorütm podcast episode on AI in Development, where Soldera shared practical approaches to using AI in software development after nearly 2 years of hands-on experience.
Following listener requests, we're releasing our internal prompts and Cursor rules one per week to help the Estonian tech community leverage AI more effectively in their development workflows.
Contribution by Soldera
Comprehensive Flask/SQLAlchemy 2.0 guidelines with component-based architecture, Pydantic validation, RESTful API patterns, and service layer design. Includes migration strategies from legacy structures and testing best practices.
Contribution by Soldera
Vue 3.5 Composition API standards with TypeScript, Bootstrap 5, Pinia state management, and UI-based architecture. Covers component organization, Vuelidate validation, error handling, and declarative programming patterns for maintainable SPAs.
Contribution by Soldera
Comprehensive backend testing strategies using unittest and BaseDBTestCase. Covers test organization, test data management, mocking external dependencies, and maintaining test isolation. Includes patterns for creating reusable test factories and fixtures.
Contribution by Soldera
Testing standards for Vue 3 applications using spec files. Focuses on testing business logic over implementation details, organizing tests with describe blocks, and maintaining proper test isolation between test suites.
Contribution by Soldera
Language-agnostic documentation standards emphasizing meaningful comments that explain "why" rather than "what". Includes guidelines for security, performance, and workaround annotations, plus principles for avoiding redundant documentation.
Contribution by Soldera
TypeScript and Vue-specific documentation patterns using JSDoc. Covers function documentation with throws tags, complex type and interface documentation, Vue component annotations, and API integration documentation strategies.
Contribution by Soldera
Comprehensive specification-driven development workflow for managing features from planning to implementation. Includes spec templates, file organization patterns, AI-assisted implementation workflows, and domain-specific context for renewable energy GO trading platforms. Covers architecture patterns, implementation standards, and progress tracking.
For teams using Claude Code or preferring markdown-based conventions, we've mirrored our Cursor rules in the .claude/ directory. Same battle-tested standards, different format.
Contribution by Soldera
Python/Flask backend patterns with SQLAlchemy 2.0, component-based architecture, service layers, Pydantic validation, RESTful API design, and migration strategies. Includes type hints, error handling patterns, and testing standards.
Contribution by Soldera
Vue 3 Composition API conventions with TypeScript, UI-based architecture, declarative programming patterns, Bootstrap 5, Pinia state management, component organization, form validation, and i18n best practices.
Contribution by Soldera
Comprehensive testing strategies for both backend (unittest, BaseDBTestCase) and frontend (Vitest, Vue Test Utils). Covers test organization, mocking patterns, factory functions, and testing business logic over implementation details.
Contribution by Soldera
Documentation philosophy emphasizing meaningful comments that explain "why" not "what". Includes SECURITY/PERF/WORKAROUND annotations, JSDoc patterns for TypeScript, Vue component documentation, and maintenance guidelines.
Contribution by Soldera
Unified error handling approach for full-stack applications. Covers logging best practices, global error handlers, structured error responses, monitoring strategies, and user-friendly error messaging patterns.
Contribution by Soldera
Business context for renewable energy GO (Guarantees of Origin) trading platform. Essential terminology in multiple languages, market participants, regulatory framework, and common misconceptions to avoid. Helps AI understand domain-specific requirements.
- Copy the rule file from
.cursor/.rules/to your project's.cursor/rules/directory - Configure the glob pattern in the frontmatter (e.g.,
globs: **/*.py) - Set
alwaysApplytotrue(for global rules) orfalse(for file-specific rules) - Cursor will automatically apply these rules when working on matching files
- Copy the convention files from
.claude/to your project's.claude/directory - Claude Code will automatically discover and apply these conventions
- Files are in standard markdown format for easy customization
These prompts can be adapted for:
- Other AI coding assistants (GitHub Copilot, ChatGPT, etc.)
- Team coding guidelines documentation
- Code review checklists
- Onboarding materials
Every week, we'll release a new prompt covering different aspects of AI-assisted development:
- Backend Development ✅ (Cursor + Claude Code)
- Frontend Development ✅ (Cursor + Claude Code)
- Backend Testing ✅ (Cursor + Claude Code)
- Frontend Testing ✅ (Cursor + Claude Code)
- Documentation Standards ✅ (Cursor + Claude Code)
- Spec-Driven Development ✅
- Error Handling ✅ (Claude Code)
- Domain Knowledge ✅ (Claude Code)
- DevOps & infrastructure (coming soon)
- Code review prompts (coming soon)
- And more...
Follow along on the Algorütm Facebook Group for weekly releases!
These prompts reflect real-world usage at Soldera. If you have suggestions or want to share your own battle-tested prompts, feel free to:
- Open an issue with your suggestion
- Submit a pull request with your prompt (include attribution)
- Share feedback on the Algorütm Discord
- Podcast Episode: Praktilisi võtteid AI rakendamisest arenduses
- Soldera: https://www.soldera.org
- Algorütm Podcast: https://algorytm.captivate.fm
These prompts are shared freely for the benefit of the developer community. Attribution to Soldera is appreciated when sharing or adapting these materials.
Brought to you by the Algorütm podcast and Soldera team. Making AI practical for Estonian developers, one prompt at a time. 🇪🇪