milon/milon-first-assistant icon
public
Published on 5/8/2025
My First Assistant

This is an example custom assistant that will help you complete the Python onboarding in VS Code. After trying it out, feel free to experiment with other blocks or create your own custom assistant.

Rules
Prompts
Models
Context
40kinput·32koutput
200kinput·8.192koutput
200kinput·8.192koutput

MCP Servers

Learn more

No MCP Servers configured

build_and_development_commands:
  - Run `flutter pub get` after cloning or adding packages.
  - Run `flutter pub run build_runner build --delete-conflicting-outputs` to generate files.
  - Debug build: `flutter run`
  - Release build:
      android: `flutter build apk --release`
      ios: `flutter build ios --release`
      web: `flutter build web`
  - Clean build cache: `flutter clean`
  - Use environment-specific configurations via `.env` or Flutter flavors.
  - Automate build tasks using CI/CD (GitHub Actions, Codemagic, Bitrise).

testing_guidelines:
  unit_tests:
    - Use `test` package.
    - Mock dependencies with `mocktail` or `mockito`.
    - Keep logic pure and testable.
  widget_tests:
    - Use `flutter_test` and `WidgetTester`.
    - Test rendering and user interaction.
  integration_tests:
    - Use `integration_test` package.
    - Write end-to-end flows for user scenarios.
  coverage:
    - Run all tests: `flutter test`
    - Generate coverage report: `flutter test --coverage`

code_style_and_guidelines:
  linting:
    - Use `flutter_lints` or `very_good_analysis`.
  architecture:
    - Follow Clean Architecture.
    - Organize code by feature.
  state_management:
    - Use one approach per app: Riverpod, Bloc, or Provider.
  naming_conventions:
    class: PascalCase
    variable: camelCase
    constant: SCREAMING_SNAKE_CASE
  widgets:
    - Keep widgets small and composable.
    - Extract complex widgets into separate files.
  formatting:
    - Use `dart format .` before committing.
  general_rules:
    - No hardcoded strings or styles.
    - Use logger instead of `print()`.
    - Remove all debugging code before release.

documentation_guidelines:
  readme:
    - Overview of the project.
    - Setup and install instructions.
    - Folder structure.
    - Architecture and state management.
    - How to run and test.
  code_comments:
    - Use `///` for public classes and methods.
    - Describe purpose, parameters, and return types.
  changelog:
    - Maintain `CHANGELOG.md` with versioned updates.
  internal_docs:
    - Add `/docs` folder for architecture diagrams or API flowcharts.
  generated_docs:
    - Use `dart doc` for generating reference documentation.
Flutter Dochttps://docs.flutter.dev/

Prompts

Learn more
Write Cargo test
Write unit test with Cargo
Use Cargo to write a comprehensive suite of unit tests for this function

Context

Learn more
Reference specific functions or classes from throughout your project
Reference the contents from any documentation site
Reference all of the changes you've made to your current branch
Reference the last command you ran in your IDE's terminal and its output
Get Problems from the current file
Uses the same retrieval mechanism as @Codebase, but only on a single folder
Reference the most relevant snippets from your codebase