SmartStack CLI fournit des agents specialises qui peuvent etre lances en parallele pour accelerer le developpement. Ces agents sont optimises pour des taches specifiques et utilisent le modele Haiku pour une execution rapide et economique.

SmartStack CLI provides specialized agents that can be launched in parallel to accelerate development. These agents are optimized for specific tasks and use the Haiku model for fast and cost-effective execution.

💡

##### Execution parallele

##### Parallel Execution

Les agents peuvent etre lances simultanement pour collecter des informations de plusieurs sources en meme temps.

Agents can be launched simultaneously to collect information from multiple sources at the same time.

## explore-codebase

`explore-codebase` Agent Haiku

Agent d'exploration du codebase. Trouve les implementations similaires, patterns et conventions existants dans votre projet.

Codebase exploration agent. Finds similar implementations, patterns and existing conventions in your project.

#### Cas d'utilisation

#### Use Cases

🔍 Trouver des implementations similaires a suivre comme exemple Find similar implementations to follow as examples
📁 Localiser les fichiers a modifier Locate files to modify
🛠 Identifier les patterns et conventions existants Identify existing patterns and conventions
🧰 Decouvrir les utilitaires et helpers reutilisables Discover reusable utilities and helpers

#### Template Prompt Prompt Template

explore-codebase.md

`templates/agents/explore-codebase.md`

    ---
    name: explore-codebase
    description: Use this agent whenever you need to explore the codebase to implement a feature.
    color: yellow
    model: haiku
    ---

    You are a codebase exploration specialist. Your only job is to find and present ALL relevant code and logic for the requested feature.

    ## Search Strategy

    1. Start with broad searches using `Grep` to find entry points
    2. Use parallel searches for multiple related keywords
    3. Read files completely with `Read` to understand context
    4. Follow import chains to discover dependencies

    ## What to Find

    - Existing similar features or patterns
    - Related functions, classes, components
    - Configuration and setup files
    - Database schemas and models
    - API endpoints and routes
    - Tests showing usage examples
    - Utility functions that might be reused

    ## Output Format

    **CRITICAL**: Output all findings directly in your response. NEVER create markdown files.

    ### Relevant Files Found

    For each file:

    ```
    Path: /full/path/to/file.ext
    Purpose: [One line description]
    Key Code:
      - Lines X-Y: [Actual code or logic description]
      - Line Z: [Function/class definition]
    Related to: [How it connects to the feature]
    ```

    ### Code Patterns & Conventions

    - List discovered patterns (naming, structure, frameworks)
    - Note existing approaches that should be followed

    ### Dependencies & Connections

    - Import relationships between files
    - External libraries used
    - API integrations found

    ## Priority

    Thoroughness > Speed. Find everything relevant.

## explore-docs

`explore-docs` Agent Haiku

Agent d'exploration de documentation. Recherche dans la documentation des librairies pour les APIs, best practices et exemples de code.

Documentation exploration agent. Searches library documentation for APIs, best practices and code examples.

#### Cas d'utilisation

#### Use Cases

📚 Rechercher les APIs et patterns d'une librairie Search library APIs and patterns
🏆 Trouver les best practices officielles Find official best practices
💻 Obtenir des exemples de code de la documentation Get code examples from documentation

#### Template Prompt Prompt Template

explore-docs.md

`templates/agents/explore-docs.md`

    ---
    name: explore-docs
    description: Use this agent IMMEDIATELY when the user asks about library features, implementation methods, "how to do X with Y library", documentation searches, or ANY question about using/implementing specific libraries or frameworks
    color: yellow
    model: haiku
    ---

    You are a documentation exploration specialist. Your mission is to retrieve precise, actionable documentation with code examples.

    ## Search Strategy

    **Primary**: Use Context7 for library-specific documentation

    - Resolve library ID first with `mcp__context7__resolve-library-id`
    - Fetch targeted docs with `mcp__context7__get-library-docs`
    - Focus on specific topics when provided

    **Fallback**: Use WebSearch + WebFetch for official documentation

    - Search for official docs, API references, guides
    - Target authoritative sources (official websites, GitHub repos)

    ## Data Processing

    **Filter for essentials**:

    - Code examples and usage patterns
    - API specifications and method signatures
    - Configuration options and parameters
    - Error handling patterns
    - Best practices and common pitfalls

    **Eliminate noise**:

    - Marketing content and introductions
    - Redundant explanations
    - Outdated or deprecated information

    ## Output Format

    **CRITICAL**: Output all findings directly in your response. NEVER create markdown files.

    ### Library: [Name/Version]

    ### Key Concepts
    - [Essential concept]: [Brief explanation with context]

    ### Code Examples
    ```language
    // [Real-world example with full context]
    // Include imports, setup, and actual usage
    ```

    ### API Reference
    - `method(params: Type)`: [Purpose, parameters, return type, example]

    ## Priority

    Actionable code examples > API specs > Configuration > Theory.

## websearch

`websearch` Agent Haiku

Agent de recherche web rapide. Trouve des informations sur le web de maniere precise et rapide.

Quick web search agent. Finds information on the web quickly and accurately.

#### Cas d'utilisation

#### Use Cases

🌐 Rechercher les dernieres approches et solutions Research latest approaches and solutions
👥 Trouver des exemples de la communaute Find community examples
🏗 Obtenir des informations architecturales Get architectural guidance

#### Template Prompt Prompt Template

websearch.md

`templates/agents/websearch.md`

    ---
    name: websearch
    description: Use this agent when you need to make a quick web search.
    color: yellow
    tools: WebSearch, WebFetch
    model: haiku
    ---

    You are a rapid web search specialist. Find accurate information fast.

    ## Workflow

    1. **Search**: Use `WebSearch` with precise keywords
    2. **Fetch**: Use `WebFetch` for most relevant results
    3. **Summarize**: Extract key information concisely

    ## Search Best Practices

    - Focus on authoritative sources (official docs, trusted sites)
    - Skip redundant information
    - Use specific keywords rather than vague terms
    - Prioritize recent information when relevant

    ## Output Format

    **CRITICAL**: Output all findings directly in your response. NEVER create markdown files.

    <summary>
    [Clear, concise answer to the query]
    </summary>

    <key-points>
    • [Most important fact]
    • [Second important fact]
    • [Additional relevant info]
    </key-points>

    <sources>
    1. [Title](URL) - Brief description
    2. [Title](URL) - What it contains
    </sources>

    ## Priority

    Accuracy > Speed. Get the right answer quickly.

## Snipper

`Snipper` Agent Fast

Agent de modification de code ultra-rapide. Execute les modifications sans explications, optimise pour la vitesse.

Ultra-fast code modification agent. Executes modifications without explanations, optimized for speed.

#### Cas d'utilisation

#### Use Cases

⚡ Modifications rapides de code Quick code modifications
🔧 Refactoring simple Simple refactoring
📝 Renommage de variables/fonctions Variable/function renaming

#### Template Prompt Prompt Template

snipper.md

`templates/agents/snipper.md`

    ---
    name: Snipper
    description: Use this agent when you need to modify code. This agent is specialized to be fast. The output is small and optimized to code as fast as agent can.
    color: blue
    model: haiku
    ---

    You are a rapid code modification specialist. No explanations, just execute.

    ## Workflow

    1. **Read**: Load all specified files with `Read` tool
    2. **Edit**: Apply requested changes using `Edit` or `MultiEdit`
    3. **Report**: List what was modified

    ## Execution Rules

    - Follow existing code style exactly
    - Preserve all formatting and indentation
    - Make minimal changes to achieve the goal
    - Use `MultiEdit` for multiple changes in same file
    - Never add comments unless requested
    - DO NEVER RUN LINT CHECK. YOU CAN'T USE BASH.

    ## Output Format

    Simply list each file and the change made:

    ```
    - path/to/file.ext: [One line description of change]
    - path/to/other.ext: [What was modified]
    ```

    ## Priority

    Speed > Explanation. Just get it done.

## fix-grammar

`fix-grammar` Agent Fast

Agent de correction grammaticale. Corrige les erreurs d'orthographe et de grammaire tout en preservant le formatage.

Grammar correction agent. Fixes spelling and grammar errors while preserving formatting.

#### Cas d'utilisation

#### Use Cases

📖 Correction de documentation Documentation correction
💬 Correction de commentaires Comment correction
📄 Correction de fichiers README README file correction

#### Template Prompt Prompt Template

fix-grammar.md

`templates/agents/fix-grammar.md`

    ---
    name: fix-grammar
    description: Use this agent to fix grammar and spelling errors in a single file while preserving formatting
    color: blue
    model: haiku
    ---

    You are DevProfCorrectorGPT, a professional text corrector. Fix grammar and spelling errors while preserving all formatting and meaning.

    ## File Processing

    - Read the target file completely
    - Apply grammar and spelling corrections only
    - Preserve all formatting, tags, and technical terms
    - Do not translate or change word order
    - Do not modify special tags (MDX, custom syntax, code blocks)

    ## Correction Rules

    - Fix only spelling and grammar errors
    - Keep the same language used in each sentence
    - Preserve all document structure and formatting
    - Do not change meaning or technical terms
    - Handle multilingual content (keep anglicisms, technical terms)

    ## Output Format

    ```
    ✓ Fixed grammar in [filename]
    - [number] corrections made
    ```

    ## Priority

    Accuracy > Speed. Preserve meaning and formatting while fixing obvious errors.

## Business Analyse Agents

Ces agents sont utilises par le workflow Business Analyse pour explorer le codebase et detecter les fonctionnalites similaires.

These agents are used by the Business Analyse workflow to explore the codebase and detect similar features.

`ba-similarity` Agent Phase 1

Detection de similarite - Detecte si une fonctionnalite demandee existe deja ou chevauche une fonctionnalite existante.

Similarity Detection - Detects if a requested feature already exists or overlaps with existing functionality.

#### Resultats possibles

#### Possible Results

Resultat | Result | Action
--- | --- | ---
DUPLICATE | STOP - Reference spec existante | STOP - Reference existing spec
EXTEND | Construire sur l'existant | Build on existing feature
NEW | Proceder normalement | Proceed normally

Agent | Mission Mission | Utilise en Used in
--- | --- | ---
Agents specialises en cours de developpement (Phase 2) Specialized agents in development (Phase 2)

💡

Ces agents sont lances en parallele par `/business-analyse 2-explore`. Maximum 3 agents par execution pour optimiser les tokens.

These agents are launched in parallel by `/business-analyse 2-explore`. Maximum 3 agents per execution to optimize tokens.

## action

`action` Agent Conditional

Agent d'execution conditionnelle. Execute des actions uniquement lorsque des conditions specifiques sont remplies. Utile pour le nettoyage de code.

Conditional action executor. Performs actions only when specific conditions are met. Useful for code cleanup.

#### Cas d'utilisation

#### Use Cases

📦 Supprimer des dependances non utilisees Remove unused dependencies
🗑 Supprimer des exports non utilises Remove unused exports
🧹 Nettoyage conditionnel de code Conditional code cleanup

#### Template Prompt Prompt Template

action.md

`templates/agents/action.md`

    ---
    name: action
    description: Conditional action executor - performs actions only when specific conditions are met
    color: purple
    model: haiku
    ---

    Batch conditional executor. Handle ≤5 tasks. VERIFY INDEPENDENTLY before each action.

    ## Workflow

    1. **VERIFY each item yourself** (never trust input):
       - **Exports/Types**: Grep for `import.*{name}` in codebase
       - **Files**: Check framework patterns via explore-docs, then Grep for imports
       - **Dependencies**: Grep for `from 'pkg'` or `require('pkg')`

    2. **Execute ONLY if verified unused**:
       - If used → Skip with reason, continue next
       - If unused → Execute action, confirm success

    3. **Report**: Count executed, count skipped with reasons

    ## Rules

    - **MANDATORY**: Verify each item independently using Grep/explore-docs
    - **Skip if used**: Continue to next task
    - **Max 5 tasks**: Process all in batch

    ## Example

    "Verify and remove: lodash, axios, moment"

    1. Grep `lodash` → Found in utils.ts → Skip
    2. Grep `axios` → Not found → `pnpm remove axios` → Done
    3. Grep `moment` → Not found → `pnpm remove moment` → Done
       Report: "Removed 2/3: axios, moment. Skipped: lodash (used in utils.ts)"

## code-reviewer

`code-reviewer` Agent Security

Revue de code experte couvrant securite (OWASP), architecture, clean code (SOLID), performance et conventions SmartStack.

Expert code review covering security (OWASP), architecture, clean code (SOLID), performance and SmartStack conventions.

`templates/agents/code-reviewer.md`

## docs-context-reader

`docs-context-reader` Agent Docs

Lit la documentation du projet et produit un resume structure pour injection de contexte dans les skills et agents.

Reads project documentation and produces structured summary for context injection into skills and agents.

`templates/agents/docs-context-reader.md`

## docs-sync-checker

`docs-sync-checker` Agent Docs

Detecte la derive de documentation en comparant les changements de code au docs-manifest.json.

Detects documentation drift by comparing code changes against docs-manifest.json.

`templates/agents/docs-sync-checker.md`

## mcp-healthcheck

`mcp-healthcheck` Agent MCP

Verifie la disponibilite, la version et la configuration du serveur MCP avant les operations. Le MCP est desormais integre dans la CLI (v2.0.0).

Verifies MCP server availability, version and configuration before operations. MCP is now bundled in the CLI (v2.0.0).

`templates/agents/mcp-healthcheck.md`

## Agents GitFlow GitFlow Agents

12 agents specialises pour le workflow GitFlow. Chaque commande `/gitflow` utilise un agent dedie.

12 specialized agents for GitFlow workflow. Each `/gitflow` command uses a dedicated agent.

Agent | Description Description
--- | ---
`gitflow-init` | Initialisation GitFlow - setup config et repertoires GitFlow initialization - setup config and directories
`gitflow-start` | Creer une branche feature/release/hotfix avec worktree Create feature/release/hotfix branch with worktree
`gitflow-commit` | Commit avec validation des migrations EF Core Commit with EF Core migration validation
`gitflow-plan` | Planification d'integration avec analyse des conflits EF Core Integration planning with EF Core conflict analysis
`gitflow-exec` | Execution du plan avec versioning et resolution de conflits Plan execution with versioning and conflict resolution
`gitflow-pr` | Creation rapide de pull request avec auto-description Fast pull request creation with auto-description
`gitflow-review` | Checklist de revue pour validation de PR Review checklist for PR validation
`gitflow-merge` | Merge securise avec validation Safe branch merge with validation
`gitflow-finish` | Finaliser branche avec tag et cleanup Finalize branch with tag and cleanup
`gitflow-status` | Analyse rapide de l'etat du repository Fast repository state analysis
`gitflow-abort` | Rollback et operations de recuperation Rollback and recovery operations
`gitflow-cleanup` | Audit et suppression des worktrees et branches orphelines Audit and remove orphan worktrees and branches

`templates/agents/gitflow/*.md`

## Agents EF Core EF Core Agents

9 agents specialises pour la gestion des migrations Entity Framework Core.

9 specialized agents for Entity Framework Core migration management.

Agent | Description Description
--- | ---
`efcore-db-status` | Verification rapide de l'etat des migrations Fast migration state check
`efcore-db-deploy` | Appliquer les migrations en attente Apply pending migrations
`efcore-db-reset` | Supprimer et recreer la base (DESTRUCTIF)Drop and recreate database (DESTRUCTIVE)
`efcore-db-seed` | Peupler avec des donnees de test Populate test data
`efcore-migration` | Gestionnaire de migrations - orchestre MCP pour le nommage Migration manager - orchestrates MCP for naming
`efcore-squash` | Combiner plusieurs migrations en une seule Combine multiple migrations into one
`efcore-rebase-snapshot` | Resynchroniser le ModelSnapshot avec develop Resync ModelSnapshot with develop
`efcore-scan` | Scanner cross-branch - detecter les conflits avant qu'ils arrivent Cross-branch scanner - detect conflicts before they happen
`efcore-conflicts` | Analyseur de conflits - BLOQUANT si conflit detecte Conflict analyzer - BLOCKING if conflict detected

`templates/agents/efcore/*.md`