mcp-state-machine-test-framework 1.1.0 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.mcp_agent_rules +20 -0
- package/README.md +4 -0
- package/package.json +1 -1
package/.mcp_agent_rules
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# 🤖 Rules for AI Agents (Copilot, Cursor, etc.)
|
|
2
|
+
|
|
3
|
+
## 🚀 Environment & Tools
|
|
4
|
+
- This is a **Node.js** project using **npm**.
|
|
5
|
+
- You have **FULL PERMISSION** to execute terminal commands and create/modify files.
|
|
6
|
+
- The primary framework is `mcp-state-machine-test-framework`.
|
|
7
|
+
|
|
8
|
+
## 🛠️ Mandatory Workflow
|
|
9
|
+
1. **Never ask for language or setup details**: Read `package.json` and `README.md` first.
|
|
10
|
+
2. **Initialization**: If folders are missing, run the `init_project` tool immediately.
|
|
11
|
+
3. **Structured Design**: DO NOT edit JSON files in `/maps`, `/suites`, or `/test_cases` directly. ALWAYS use the provided MCP tools (`upsert_node`, `save_test_case`, `save_suite`).
|
|
12
|
+
4. **Validation**: Use `inspect_framework` to verify integrity before finalizing any task.
|
|
13
|
+
|
|
14
|
+
## 🏁 How to Start
|
|
15
|
+
- Run `npm install mcp-state-machine-test-framework` if not present.
|
|
16
|
+
- Configure `mcp_config.json` in the root.
|
|
17
|
+
- Use `npx mcp-cli --help` to understand CLI usage if needed.
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
*Follow these rules to ensure high-fidelity automation.*
|
package/README.md
CHANGED
|
@@ -48,5 +48,9 @@ If you are an AI agent helping with this project, follow these rules:
|
|
|
48
48
|
4. **Initialization**: Your very first action after installation **MUST** be calling the `init_project` tool to create the directory structure and templates.
|
|
49
49
|
5. **Workflow**: Use `inspect_framework` to understand the current state before proposing changes.
|
|
50
50
|
|
|
51
|
+
## 🚀 Mission Bootstrap (Copy & Paste to any AI Agent)
|
|
52
|
+
Copy this prompt to start a project instantly:
|
|
53
|
+
> "Initialize a new Node.js project here. Install `mcp-state-machine-test-framework` using npm. Configure it in `mcp_config.json` using `npx mcp-sms`. Read `.mcp_agent_rules` from the package and immediately run the `init_project` tool to setup the environment. You have full permission to execute commands and create files."
|
|
54
|
+
|
|
51
55
|
---
|
|
52
56
|
*Developed with ❤️ for maximum automation efficiency.*
|