agentleFS
Tamircohen28Tamircohen28/tamirs-superpowers/.cursor/rules/plugin-structure.mdc

tamirs-superpowers / rules

Cursor rule2 starsChanged 4 months agoMITView on GitHub

Core facts about this repo — what it is, what NOT to do, and how it is distributed

The file

We split this plugin-structure.mdc into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Very specific:

    No secrets or tokens committed — .mcp.json uses ${ENV_VAR} syntax only

    line 29
  2. Distinctive:

    No employer-internal references anywhere

    line 30

≈ “Common” is an estimate: at least 1 in 5 of the 3,030 Cursor rule files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
plugin-structure.mdc
---
description: "Core facts about this repo — what it is, what NOT to do, and how it is distributed"
alwaysApply: true
---

# tamirs-superpowers — plugin structure

A **multi-platform agent plugin** (Markdown + JSON + Bash only) for five platforms and six runtime surfaces: Claude (Claude Code, Claude Desktop), Codex CLI, Cursor IDE, Gemini CLI, and OpenCode CLI. No build step, no `package.json`, no compiled output.

Policy is canonical and lives once: `AGENTS.md` is the shared entrypoint, `core/` holds the portable framework (policies, roles, workflow schemas, capabilities), `rules/` holds contributor rules. These `.mdc` files are thin Cursor adapters — when one disagrees with a canonical rule, the canonical rule wins.

## What lives where

| Path | Purpose |
|------|---------|
| `AGENTS.md` | Shared entrypoint — read first |
| `core/` | Portable policies, roles, workflow schemas, capability facts |
| `rules/` | Canonical contributor rules (index: `rules/README.md`) |
| `plugin-version.json` | Single source of truth for the version |
| `.cursor-plugin/plugin.json` | Cursor manifest (skills + MCP; no hooks) |
| `skills/<domain>/<name>/SKILL.md` | One skill per folder; directory name = slash command |
| `hooks/` | Hook wiring + scripts (Claude Code and Codex load these; Cursor does not) |
| `scripts/` | User-facing scripts and validators — **no** `.sh` at repo root |
| `.mcp.json` | MCP server stubs (env var placeholders only — no real tokens) |

## Hard constraints

- No `runs-on: [self-hosted]` in any CI workflow — use `ubuntu-latest`
- No secrets or tokens committed — `.mcp.json` uses `${ENV_VAR}` syntax only
- No employer-internal references anywhere
- No `marketplace.json` in this repo — published through `Tamircohen28/tamirs-marketplace`
- `SKILL.md` frontmatter validates against `core/schemas/skill-frontmatter.json`

## Validate after every change

```bash
make validate
```

## Version bump after shipped changes

Edit `plugin-version.json`, then `bash scripts/check-version-truth.sh --sync`. Canonical rule: `rules/dev/plugin-version-bump.md`.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.