Skip to content
Agentmart
Submit a tool

Cursor rules · Ikalus1988/MisakaNet

1 Cursor rule file from Ikalus1988/MisakaNet: misakanet-failure-memory.

Template by Ikalus1988

IndexedApache-2.0★ 543
Write a review

Install

Works with Cursor. Read the repository before you give any tool access to your data.

curl -fsSL https://raw.githubusercontent.com/Ikalus1988/MisakaNet/main/.cursor/rules -o rules

Read it and adapt it to your project before use.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

The .cursor/rules folder of Ikalus1988/MisakaNet (544 stars): 1 rule files, 76 lines in all (misakanet-failure-memory).

Use cases: debugging, prompt-engineering

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

What's in it

Cursor project rules (.cursor/rules/*.mdc): instructions Cursor applies when it edits matching files.

For
Cursor
File
.cursor/rules/misakanet-failure-memory.mdc

First lines (shown under the repo's Apache-2.0 license)

---
description: Search MisakaNet failure-memory before debugging common errors
globs:
  - "**/*.py"
  - "**/*.js"
  - "**/*.ts"
  - "**/*.yml"
  - "**/*.yaml"
  - "**/*.json"
  - "**/*.md"
---

# MisakaNet Failure Memory

When a command, test, CI, DCO, token, pip, MCP, or Windows encoding issue fails, search MisakaNet before attempting a fix from general knowledge.

## When to trigger

- Command exits with non-zero status
- Test fails with an error message
- CI/CD pipeline fails
- DCO sign-off check fails
- GitHub token / authentication errors
- pip install timeout or SSL errors
- MCP server connection issues
- Windows encoding (GBK/Unicode) errors
- Database locked / SQLite errors
- Docker build failures

## Steps

1. **Search MisakaNet** with the error message or key terms:
   ```
   misakanet_search(query="<error message or key terms>")
   ```

2. **Read the matching lesson** if results are returned:
   ```
   misakanet_get_lesson(path="<lesson path from search results>")
   ```

3. **Apply only the relevant fix** from the lesson. Do not invent fixes beyond what the lesson describes.

4. **If no match found**, submit a redacted intake via MCP (no GitHub account needed):
   ```
   curl -sS https://misakanet.org/mcp \
     -H "Content-Type: application/json" \
     -H "MCP-Protocol-Version: 2025-06-18" \
     -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"misakanet_submit_intake","arguments":{"problem":"<short error description>","source":"cursor"}}}'
   ```

## What NOT to do

- Do not skip MisakaNet search for known failure patterns (DCO, token, pip, MCP, encoding)
- Do not upload raw logs, prompts, or secrets to MisakaNet
- Do not auto-retry more than twice without searching MisakaNet
- Do not apply fixes from MisakaNet lessons to unrelated problems

## MCP Tools Available

| Tool | Auth | Purpose |
|---|---|---|
| `misakanet_search` | ≤5 free/day remote | Search lessons |
| `misakanet_get_lesson` | ≤5 free/day remote | Get lesson content |
| `misakanet_submit_intake` | No auth needed | Submit failure case |
| `misakanet_submit_usage` | No auth needed | Submit usage feedback |

## Example

**User:** "My pytest is failing with ImportError"

**Agent:**
1. Search: `misakanet_search(query="ImportError pytest")`
2. If lesson found → read and apply fix
3. If no lesson → submit intake via MCP

Signals

Stars
543
Forks
224
Open issues
372
Contributors
101
Last commit (this folder)
Aug 18, 2026 (2 months ago)
Last release
Oct 24, 2026 (5 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from Ikalus1988

Cite this page

Cursor rules · Ikalus1988/MisakaNet. Agent Mart. https://agentmart.dev/templates/ikalus1988-misakanet-cursor-rules (last updated 2026-10-24)