irsyad/irsyad-first-assistant icon
public
Published on 3/30/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
anthropic Claude 3.7 Sonnet model icon

Claude 3.7 Sonnet

anthropic

200kinput·8.192koutput
anthropic Claude 3.5 Haiku model icon

Claude 3.5 Haiku

anthropic

200kinput·8.192koutput
mistral Codestral model icon

Codestral

mistral

voyage Voyage AI rerank-2 model icon

Voyage AI rerank-2

voyage

voyage voyage-code-3 model icon

voyage-code-3

voyage

## Build & Development Commands
- Use the Kotlin Multiplatform wizard to initialize new projects.
- Ensure all necessary dependencies and plugins (Kotlin Multiplatform, Compose Multiplatform, Ktor, SQLDelight, etc.) are correctly installed.
- Use Gradle for building the project:
  - `./gradlew build` to compile for all targets.
  - `./gradlew iosX64Binaries` for iOS.
  - `./gradlew androidDebug` for Android.
- Run the application:
  - `./gradlew installDebug` for Android.
  - Use Xcode to build and run for iOS.
- Keep dependencies updated and compatible with Kotlin Multiplatform.

## Testing Guidelines
- Write unit tests in the `commonTest` source set to ensure cross-platform compatibility.
- Implement platform-specific tests in `androidTest` and `iosTest` where necessary.
- Use `kotlin.test` framework for common tests and JUnit for Android tests.
- Automate tests with CI/CD pipelines (GitHub Actions, Bitrise, or GitLab CI/CD).
- Perform UI tests using Compose UI Test for Android and XCTest for iOS.
- Ensure snapshot testing for UI consistency across updates.

## Code Style & Guidelines
- Follow Kotlin official coding conventions (naming, indentation, imports, etc.).
- Organize source code properly:
  - Common business logic in `commonMain`.
  - Platform-specific implementations in `androidMain` and `iosMain`.
- Use Compose Multiplatform for shared UI components.
- Prefer dependency injection using Koin for shared logic.
- Ensure modularization for better maintainability and scalability.
- Avoid using platform-specific APIs unless necessary; abstract them via expect/actual mechanism.

## Documentation Guidelines
- Document all public APIs with KDoc.
- Maintain a README with clear project setup, dependencies, and architecture explanations.
- Include inline comments for complex logic and key decision points.
- Provide API documentation using Dokka for Kotlin libraries.
- Write platform-specific setup guides for Android and iOS developers.
- Maintain a CHANGELOG to track updates and improvements.
Kotlin Multiplatformhttps://www.jetbrains.com/help/kotlin-multiplatform-dev/get-started.html

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
@code
Reference specific functions or classes from throughout your project
@docs
Reference the contents from any documentation site
@diff
Reference all of the changes you've made to your current branch
@terminal
Reference the last command you ran in your IDE's terminal and its output
@problems
Get Problems from the current file
@folder
Uses the same retrieval mechanism as @Codebase, but only on a single folder
@codebase
Reference the most relevant snippets from your codebase
@currentFile
Reference the currently open file

No Data configured

MCP Servers

Learn more

No MCP Servers configured