# Agent instructions for SineFrame M3

M3 tests MCP servers and the agents that use them.

## Start here

- [Testing with M3 skill](https://raw.githubusercontent.com/sineframe/m3/main/skills/testing-with-m3/SKILL.md): the agent's task instructions.
- [M3 source and documentation](https://github.com/sineframe/m3).
- [Copyable task prompt](https://m3.sineframe.com/agent-skill-prompt.md).

## Prompt for a coding agent

Give this prompt to a coding agent from the MCP server project:

```text
Read the SineFrame M3 testing skill and its relevant references:
https://raw.githubusercontent.com/sineframe/m3/main/skills/testing-with-m3/SKILL.md

In this project, inspect the real MCP server contract and existing test conventions. Install the public M3 CLI if needed. Add and run the smallest deterministic direct tests for the behavior I care about. Add separate agent tool-selection tests when the claim involves an agent. Follow the skill's setup and test commands, replace any skipped starter with a real assertion, and inspect the run feedback before reporting success. Leave the specific test command ready for CI.
```

## Expected output

- Tests based on the real MCP server contract and existing test conventions.
- Direct server checks kept separate from agent tool-selection checks.
- A test run and inspected report, with a specific command ready for CI.
