Logo de Testing Strategy

Testing Strategy

Organisation
addxai
testing-strategy

Universal layered testing strategy — generate a complete test plan, layered architecture, and execution plan based on project type (Backend+APP / Backend+WEB / Backend+APP+Embedded)

Présentation

Éditeuraddxai
Dépôtenterprise-harness-engineering
Nom de la compétencetesting-strategy
Étoiles
47
Forks
8
Fichiers inclus
2
LicenceApache-2.0
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont en simple Markdown, et non en code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • 2 fichiers inclus

    Des scripts, des modèles de documents et des références que le modèle peut consulter pendant son travail. Les fichiers sont en lecture seule et ne sont jamais exécutés.

  • Open source

    Publiée par addxai sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Testing Strategy dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Collez l’URL du dossier de la compétence indiquée ci-dessous, puis confirmez.
    https://github.com/addxai/enterprise-harness-engineering/tree/main/skills/testing-strategy
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter → Via URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/addxai/enterprise-harness-engineering.git /tmp/enterprise-harness-engineering
mkdir -p .claude/skills
cp -r /tmp/enterprise-harness-engineering/skills/testing-strategy .claude/skills/testing-strategy
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Testing Strategy dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Testing Strategy dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, Testing Strategy n’est pas lié au modèle pour lequel cette compétence a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

Universal Layered Testing Strategy

Description

This Skill generates a complete layered testing strategy based on project type (Backend+APP / Backend+WEB / Backend+APP+Embedded), including test layer architecture, scenario adaptation matrices, code templates, and CI/CD configuration.

Core philosophy: "Quality is built in, not tested in."

Two Key Principles

  1. Shift Left: Developers write L1/L2 tests during coding — the earlier bugs are found, the lower the fix cost
  2. Push Down: If it can be tested at L1, don't leave it for L2; if it can be tested at L2, don't leave it for L3

Ideal Test Pyramid Proportions

  • L1 (Unit): ~70% — Millisecond feedback (includes interface contract / schema contract)
  • L2 (Integration): ~20% — Minute-level feedback (single service + real middleware)
  • L3 (E2E): ~10% — Hour-level feedback (cross-service full chain, including third-party APIs)
    • L3-k8s: L3 sub-layer, requires K8s/minikube environment
  • L4 (UAT): <1% — Staging acceptance

Rules

  1. Layering must be complete: Every project must define the test scope and tools for each L1-L4 layer
  2. Coverage gates: L1 coverage ≥ 80%, core logic libraries ≥ 90%
  3. Mock isolation: L1 tests must mock all external dependencies (DB/network/HAL/filesystem)
  4. Test case ID convention: All cases follow the L{layer}-<MODULE>-NNN format
  5. TDD debugging: Bug fixes must start with a reproduction test case — manual browser debugging is prohibited
  6. CI quality gates: L1 + L2-1 must pass 100% on every commit
  7. Requirements traceability: A User Story → Test Case traceability matrix must be established
  8. L3/L4 black-box testing: L3 and L4 must be end-to-end black-box tests — the test client (Playwright/Appium/real device) interacts directly with the user interface. Intercepting, mocking, or bypassing any internal component at intermediate layers is prohibited. The only exception is uncontrollable external third-party services, which may use stub replacements
  9. Test scenario data management: Each test scenario must be loadable via make mock-scenario or equivalent commands for controlled, repeatable input

Step 1: Identify Project Type

Ask or auto-detect which scenario the project belongs to and determine the tech stack:

ScenarioTypical Tech StackSpecial Focus
Backend+APPGo/Java + Flutter/RNApp UI testing, API contracts, push notifications
Backend+WEBGo/Java + React/VueBrowser compatibility, SEO, SSR
Backend+APP+EmbeddedGo/Java + Flutter + C/C++ (Bazel)HAL abstraction, Wasm simulation, Digital Twin, Software Update

Step 2: Generate Layered Test Architecture

2.1 Universal Four-Layer Architecture (L1-L4)

2.2 L1 — Unit Test

Goal: Verify the logical correctness of the smallest code unit (function/class/state machine). Includes interface contract and schema contract (validation without I/O dependencies).

Project TypeTest TargetToolsFocus
BackendService/Repository/Domain logic + API SchemaGo Test / JUnit / pytestBusiness rules, boundary conditions, interface contracts
APP (Flutter)Widget/BLoC/Provider logicflutter_testState management, data transformation
APP (RN)Component/Hook logicJestState management, data transformation
WEBComponents/Hooks/StoreVitest / JestRendering logic, state management
EmbeddedCluster logic, FSM, algorithmsGTest + Mock HALState transitions, HAL interactions, memory safety

L1 Writing Standards:

  • Mock all external dependencies (DB/network/HAL/filesystem)
  • Cover: normal path / boundary conditions / error handling / state transitions
  • Target coverage ≥ 80% (core logic libraries ≥ 90%)
  • Millisecond execution as real-time development feedback
  • L1 does not need to be listed case-by-case in the test plan document (co-located with code, pytest auto-discovers)

2.3 L2 — Single-Service Integration Test

Goal: Verify module collaboration within a single service boundary, using real middleware (DB/Redis/MQ/Vault, etc.) but without crossing service boundaries.

Project TypeTest TargetTools
BackendService <-> DB/Redis/KafkaDocker Compose / Testcontainers
APPApp <-> Mock ServerIntegration Test + Mock Server
WEBFrontend <-> Mock APIMSW / Vitest
EmbeddedDevice + HAL (Wasm)Vitest Browser (Digital Twin)

2.4 L3 — Cross-Service E2E (End-to-End)

Goal: Verify the complete chain across multiple independent services, including real third-party APIs.

Project TypeTest TargetTools
Backend+APPApp → API → DB → PushAppium / Flutter Integration Test
Backend+WEBBrowser → API → DB → SSEPlaywright / Cypress
Backend+APP+EmbeddedApp → Cloud → Hub(Wasm) → HALSimulator + Vitest Browser + Playwright

Black-box principle: L3 tests are from the user's perspective — the test client (browser/App) → frontend → backend → database full-chain connectivity. Intercepting or mocking at any intermediate layer is prohibited. The only exception is uncontrollable real third-party services (e.g., payment gateways), which may use stub services, but internal components must not be mocked.

L3-k8s sub-layer (optional): When test scenarios depend on the K8s environment (e.g., Pod scheduling, Spot Recovery), mark as L3-k8s. Use L3 (no K8s) for daily development; use L3-k8s for Nightly/Pre-release.

2.5 L4 — User Acceptance Test (UAT)

L4 is not entirely manual: Automation is primary; only scenarios requiring real third-party client interaction retain manual testing.

TypeDesign PrincipleExecution MethodScenario Example
L4-AutoAcceptance criteria are quantifiable: has input and expected outputmake test-l4-uat (automated, Staging environment)API Roundtrip, Memory persistence, approval workflows
L4-ManualRequires real third-party client visual verificationQA manual testing in real environmentFeishu Card UI rendering, message delivery visual check
  • Owner: QA team / PM
  • Environment: Real Staging (real DB/Letta/external services, not Mock)
  • Focus: User experience, extreme network conditions, real third-party service interaction
  • LLM path: Assert structure and side effects; do not assert specific LLM output text

2.6 Cross-Layer Test Suites: Smoke / Regression / UAT

These three suites are not new test layers — they are run suites formed by tagging (markers) existing L1-L4 test cases.

SuiteMeaningCase SourceRun CommandTiming
SmokeQuick validation of the most critical paths (system is alive)A few key L3 cases tagged with @smokemake smokeRun immediately after deployment
RegressionFull regression verifying historical features are not brokenAll L1+L2+L3 casesmake regressionBefore PR merge / CI quality gate
UAT-AutoBusiness acceptance automation (Staging real environment)Quantifiable portion of L4 casesmake test-l4-uatBefore release / Release Tag

Key principles:

  • Smoke cases = Add @pytest.mark.smoke to existing L3 critical-path cases — do not create new test files
  • A single case can have multiple markers, e.g., @pytest.mark.smoke + @pytest.mark.l3
  • Criteria for selecting smoke cases: The user's most common critical paths, the system's only irreplaceable entry points
  • Smoke cases must be fast (all pass in < 5 min); otherwise, move them to regular test-l3
python
# Example: A case belonging to both l3 and smoke
@pytest.mark.l3
@pytest.mark.smoke
async def test_completions_roundtrip(...):
    """L3-COMP-001: The most critical E2E case."""
    ...

# Example: L4 Auto case — Staging environment, does not assert specific text
@pytest.mark.l4
async def test_agent_memory_persists(letta_client):
    """L4-MS-001: Agent remembers user preferences across conversations."""
    archival = await letta_client.archival_memory_search(agent_id, keyword)
    assert len(archival.items) > 0   # Having content is sufficient

Step 3: Scenario Adaptation Matrix

Based on project type, determine required / recommended / optional for each layer:

Scenario A: Backend + APP

LayerStatusFocus
L1 (Unit)RequiredBackend business logic + App state management
L2-1 (Interface)RequiredAPI contracts (OpenAPI/Protobuf)
L2-2 (Integration)RequiredBackend service + DB/MQ integration
L2-3 (E2E)RequiredApp → API full chain
L2-4 (Playground)RecommendedSwagger UI + Mock environment
L3-1 (Contract)RecommendedFrontend-backend API contracts
L3-2 (Cross-System)OptionalMulti-subsystem coordination
L4 (UAT)RequiredReal device testing + App Store review process

Special focus areas:

  • End-to-end push notification verification (APNs/FCM)
  • Multi-device login / token refresh race conditions
  • App cold start / warm start performance
  • Offline mode & data sync

Scenario B: Backend + WEB

LayerStatusFocus
L1 (Unit)RequiredBackend business logic + Frontend components/Store
L2-1 (Interface)RequiredAPI contracts + Component Props interface
L2-2 (Integration)RequiredBackend service integration + Frontend API layer
L2-3 (E2E)RequiredBrowser → API full chain (Playwright)
L2-4 (Playground)RecommendedStorybook + Staging environment
L3-1 (Contract)RecommendedFrontend-backend API change compatibility
L3-2 (Cross-System)OptionalMulti-subsystem coordination
L4 (UAT)RecommendedReal browser testing

Special focus areas:

  • Browser compatibility (Chrome/Firefox/Safari)
  • Responsive layout (Mobile/Tablet/Desktop)
  • SSR/SSG hydration consistency
  • Accessibility (a11y)
  • SEO verification

Scenario C: Backend + APP + Embedded

LayerStatusFocus
L1 (Unit)RequiredBackend + App + Cluster/FSM/algorithms
L2-1 (Interface)RequiredAPI contracts + C ABI + AxData protocol
L2-2 (Integration)RequiredBackend integration + Device Wasm integration (Digital Twin)
L2-3 (E2E)RequiredApp → Cloud → Hub(Wasm) → HAL full chain
L2-4 (Playground)RequiredWeb Simulator
L3-1 (Contract)RequiredDevice/cloud/edge protocol contracts
L3-2 (Cross-System)RecommendedMulti-subsystem coordination (Security <-> AI <-> Push)
L4 (UAT)RequiredReal hardware + Real App + Real cloud

Special focus areas:

  • HAL abstraction: All hardware operations through HAL interfaces, Bazel select switches at build time
  • Wasm simulation fidelity: Digital Twin behavioral consistency with real hardware
  • Memory safety: ASan/TSan/Valgrind verification (resource-constrained platforms)
  • Software Update: Version upgrade/downgrade/interrupted recovery verification
  • Network disruption resilience: Local autonomy capability when nodes are offline
  • D2D communication: Device-to-device direct interaction verification

Step 4: Generate Test Plan Documentation

Document Directory Structure

docs/testing/
├── strategy.md                   # Test plan overview (SSOT, ≤400 lines)
└── scenarios/                    # Scenario matrices (split when strategy.md is too long)
    ├── ep1-<epic-name>.md        # By Epic (product perspective): User Story → AC scenario traceability
    ├── ep2-<epic-name>.md
    ├── tech-<module>.md          # By technical module (developer perspective): service/component traceability
    └── tech-nfr.md               # NFR degradation/fault tolerance

Epic files are for product/QA audiences (organized by User Story); technical files are for developers (organized by module). Both file types share the same set of case IDs for bidirectional traceability.

strategy.md Template

markdown
# <Project Name> Test Plan

## 1. Test Layer Overview

| Layer | Case Count | Test Goal | Real Dependencies | Mock Dependencies | Real Infra | Mock Infra | Execution Timing | Duration | Code Location |
|------|-------|---------|---------|----------|-----------|-----------|---------|------|---------|

> 10-column standard table — real dependencies vs mock dependencies is the core decision basis for layering.

### 1.1 Layering Logic

| Layer | Core Problem Solved | Why the Layer Above Is Insufficient |
|------|-------------|--------------|

> L2 vs L3 boundary: L2 = single application, no external dependencies (all mocked); L3 = real dependency integration.

### 1.2 Shift-Left Principle

| Verification Point | First Appearing Layer | Notes |
|--------|-------------|------|

Prohibited anti-patterns:
- No verifying logic at L3 that should be covered at L1
- No omitting L3 User Story AC cases just because "L1/L2 already tested it"

## 2. Mock Infrastructure (SSOT)

Mock infrastructure is managed by the `mock-engine` skill (start/stop mock services, load test data, create test scenarios).

[mock directory structure + WireMock per-layer switching strategy table]

| External System | L2 Handling | L3 Handling |
|---------|-----------|-----------|

## 3. L2 Integration Tests

> L1 unit tests co-exist with code and are not listed case-by-case in this plan.

Detailed cases in [scenarios/tech-<module>.md].

## 4. L3 E2E Tests (Black-Box)

> Test client interacts through the user interface — **no intermediate layer interception**.

Detailed cases in [scenarios/ep*.md] (by User Story) and [scenarios/tech-*.md] (by module).

## 5. L4 Acceptance Criteria

| Acceptance Item | User Story | Execution Method | Pass Criteria |
|--------|----|---------|----|

## 6. Requirements Traceability Matrix

| User Story | L1 | L2-1 | L2-2 | L3-1 | L3-2 | L4 |
|------------|----|------|------|------|------|-----|

> Each column is filled with specific case IDs. L1 lists covered logic points (co-exists with code, no case IDs).

## 7. Test Scenario Data

| Scenario Name | Purpose | DB Initial State | Covered Cases |
|--------------|------|-----------|---------|

> Each Scenario = DB seed data + Mock stub configuration. Switch with `make mock-scenario SCENARIO=<name>`.

## 8. CI/CD Automation Pipeline + Quality Gates

| Gate | Checkpoint | Criteria |
|------|-------|------|

Scenario File Template (scenarios/*.md)

Epic files and technical files share the AC-level traceability table:

markdown
## US-TP-01 Device Card Badge

| AC Scenario | Smoke | L1 | L2-1 | L2-2 | L3-1 | L3-2 | L4 |
|---------|-------|----|------|------|------|------|-----|
| Show locked badge when unsubscribed | fire | TestClass | CONTRACT-001 | EVAL-001 | FG01-001 | TP01-001 | pass |

Fixed 8 columns. Each cell is filled with a specific case ID; use - when not covered. fire = smoke case. Complete real-world example: See references/engagement-example.md (includes directory structure, table format, mock architecture, semantics annotation conventions, etc.).


Step 5: Write Test Code

5.1 Test Case ID Convention

  • L1: L1-<MODULE>-NNN (e.g., L1-AUTH-001)
  • L2: L2-<MODULE>-NNN (e.g., L2-CRED-001)
  • L3: L3-<FLOW>-NNN (e.g., L3-COMP-001)
  • L3-k8s: L3k8s-<FLOW>-NNN
  • L4: L4-<FLOW>-NNN

5.2 Universal Test Templates

Code templates for each tech stack are in references/code-templates.md (Go / Java / Flutter / React / C++ / Playwright / Flutter Web+Playwright / Wasm Digital Twin).

5.3 Key Test Patterns

Promise Resolver Pattern (Async Verification)
typescript
// Correct: event-driven
await waitFor(() => shadowUpdates.get("panel_status") === "armed_away");

// Wrong: never use setTimeout
await new Promise((resolve) => setTimeout(resolve, 3000));

Embedded-specific patterns (State-Wait, Forced Cycle) are in references/code-templates.md.

Test Scenario Data Management

Switch preset test data states via make mock-scenario for controlled, repeatable test input:

bash
make mock-scenario SCENARIO=new-user        # No history
make mock-scenario SCENARIO=returning-user   # Has past interaction history
make mock-scenario SCENARIO=converted-user   # Has completed conversion

Each Scenario = a set of DB seed data + Mock stub configuration. Playwright tests specify the scenario via URL parameter (?scenario=new-user) or environment variable, integrating seamlessly with CI.

WireMock Fault Injection

Inject fault scenarios via WireMock to verify service degradation behavior:

json
// Inject 5s delay → Expected: service degrades and returns HTTP 200 with empty list
{ "request": { "method": "POST", "urlPattern": "/api/eval" },
  "response": { "fixedDelayMilliseconds": 5000, "status": 200 } }

{ "request": { "method": "GET", "urlPattern": "/v1/features/.*" },
  "response": { "status": 500 } }

Step 6: CI/CD Automation Configuration

The CI pipeline is organized by test layer into stages: test-l1 (every commit) → test-l2 (Nightly/Merge) → test-e2e (Release) → quality (coverage). The complete .gitlab-ci.yml template is in references/code-templates.md.

Quality Gates

GateCheckpointCriteria
CI GateL1100% pass, coverage ≥ 80%
NightlyL2 + L3100% pass
ReleaseL1 + L2 + L3 + L4100% pass
Memory SafetyASan/TSan (Embedded)0 errors
Code QualitySonarQubeQuality Gate pass

Step 7: TDD Debugging Workflow

Manual browser debugging is prohibited — bugs must be reproduced and verified through test cases

1. Reproduce (Red)

Select the test tool based on bug layer:

Bug TypeTest LayerTools
Backend business logicL1Go Test / JUnit / GTest
API interfaceL2-1Interface test + Mock
Frontend componentL1Vitest / Jest / flutter_test
Frontend-backend integrationL2-2Docker Compose + Integration
Full chainL2-3Playwright / Simulator
Embedded logicL1GTest + Mock HAL
Wasm/BrowserL2-2Vitest Browser (Digital Twin)

Write a reproduction test → run to confirm it fails

2. Fix (Green)

Analyze test logs → fix code → run to confirm it passes

3. Verify (Refactor)

Run the full test suite to confirm no regressions; retain the test case as regression protection.


Examples

Bad — Test strategy missing layering

yaml
stages: [build, test]
test:
  script: [go test ./..., flutter test, npm run test]
# Problem: no layering, no gates, L1 failures cannot be quickly pinpointed

Good — Layered pipeline (complete template in references/code-templates.md)

yaml
stages: [build, test-l1, test-l2, test-e2e, quality]
# Each layer has its own stage, trigger rules, and gates

Bad — Non-standard debugging approach

typescript
// Manual setTimeout wait — unreliable and fragile
await new Promise((resolve) => setTimeout(resolve, 3000));
console.log("manually check the browser to see if it's working"); // Manual browser debugging prohibited

Good Example — Event-driven async verification

typescript
// Using Promise Resolver Pattern for precise state change waiting
await waitFor(() => shadowUpdates.get("panel_status") === "armed_away");
expect(shadowUpdates.get("panel_status")).toBe("armed_away");

Checklist

  • Project type identified
  • Test layer architecture defined
  • Test plan document generated (docs/<project>_test_plan.md)
  • Test case IDs at each layer consistent with the plan
  • L1 covers core logic + boundary conditions
  • L2-1 covers API contracts / ABI interfaces
  • L2-2 covers critical integration paths
  • L2-3 covers core User Story end-to-end paths
  • Requirements traceability matrix established (User Story → Test Case)
  • CI/CD pipeline configured with quality gates
  • All bug fixes have reproduction test cases

References

Fichiers inclus

Le modèle lit ces fichiers à la demande lorsque la compétence est chargée. Ils sont accessibles en lecture et ne sont jamais exécutés.

Foire aux questions

À quoi sert la compétence IA Testing Strategy ?

Universal layered testing strategy — generate a complete test plan, layered architecture, and execution plan based on project type (Backend+APP / Backend+WEB / Backend+APP+Embedded)

Pourquoi utiliser Testing Strategy sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Testing Strategy se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Testing Strategy dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/addxai/enterprise-harness-engineering/tree/main/skills/testing-strategy. TypingMind lit le fichier SKILL.md, regroupe les fichiers associés et installe le tout sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Testing Strategy ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Testing Strategy ?

Autant que vous le souhaitez. Tant qu’un modèle prend en charge les compétences, vous pouvez utiliser Testing Strategy avec lui : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Testing Strategy est-elle gratuite ?

Oui. Cette compétence est publiée sur GitHub par addxai sous licence Apache-2.0. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, modèles de documents ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇