agentleFS
MatheusFelipeCorreaMatheusFelipeCorrea/Hyperion/.cursor/rules/hyperion.mdc

Hyperion / rules

Cursor rule2 starsChanged 3 months agoMITView on GitHub

You have access to a full AI development kit in .github/. Use it. Before any task, read: - .github/project.yml — project config (stack, apps, conventions) - .github/memory/PROJECT.md — what this project is - .github/memory/DOMAIN.md — business domain - .github/memory/DECISIONS.md — decisions already made When the user asks for any of these capabilities, read the corresponding SKILL.md and follow its instructions exactly. <!-- HYPERION:SKILLS:END --> See .github/agents/README.md for catalog and recommended flow. <!-- HYPERION:AGENTS:END --> You should run terminal commands via…

  • Where files are headingNew Cursor rule files have more rules about planning and tracking tasks, and fewer about code style.

    Of the Cursor rule files we read, the 1,533 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repository2 other files it gives its agents.

The file

We split this hyperion.mdc into the rules it gives an agent

9 rules. About 0 are common, 4 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before any task, read:

    line 12
  2. Very specific:

    When the user asks for any of these capabilities, read the corresponding SKILL.md and follow its instructions exactly.

    line 28
  3. Very specific:

    Always check project.yml before making assumptions about stack or conventions

    line 93
  4. Distinctive:

    Use memory files as persistent context across sessions

    line 94
  5. Distinctive:

    When generating cards, follow YAML frontmatter format from card-refiner

    line 96
  6. Very specific:

    Read project.yml → outputs when paths are customized

    line 105
  7. Distinctive:

    When the user asks to change a card in conversation (e.g.

    line 109
  8. Very specific:

    Run npm run hyperion:sync (via hyperion-ops — do not ask user to run npm)

    line 113
  9. Very specific:

    Read .github/skills/planning/card-refiner/SKILL.md section "Card evolution during conversation" for status aliases and full workflow.

    line 116

≈ “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
hyperion.mdc
---
description: Hyperion integration rules for Cursor
globs: "**/*"
---

# 🌟 Hyperion — Cursor Rules

You have access to a full AI development kit in `.github/`. Use it.

## Context Loading

Before any task, read:
- `.github/project.yml` — project config (stack, apps, conventions)
- `.github/memory/PROJECT.md` — what this project is
- `.github/memory/DOMAIN.md` — business domain
- `.github/memory/DECISIONS.md` — decisions already made

## Available Skills

<!-- HYPERION:SKILLS:START -->
Skills live in `.github/skills/` organized by category:

- **planning/** — acceptance-spec, card-refiner, hypothesis-forge, project-architect, refactor-guide, sprint-retro
- **setup/** — cards-sync-setup, hyperion-ops, integration-bridge, memory-capture, pipeline-architect, project-discovery, project-startup, repo-migration
- **quality/** — architecture-audit, code-review, dependency-health, devops-audit, full-audit, po-audit, pr-review, security-audit, tech-debt-tracker, testing-strategy, ux-audit
- **docs/** — adr-generator, changelog-generator, plantuml-generator, readme-updater, release-manager

When the user asks for any of these capabilities, read the corresponding `SKILL.md` and follow its instructions exactly.
<!-- HYPERION:SKILLS:END -->

## Agents

<!-- HYPERION:AGENTS:START -->
- `.github/agents/audit-runner.agent.md` — orchestrated 6-dimension audit (`/audit-run`)
- `.github/agents/implementation-executor.agent.md` — execute approved plan phases (`/execute`)
- `.github/agents/implementation-plan.agent.md` — phased implementation plan (`/implement`)
- `.github/agents/mentoring.agent.md` — for teaching/explaining (`/mentor`)
- `.github/agents/migration.agent.md` — adapt Hyperion to existing repo (`/migrate`)
- `.github/agents/pr-reviewer.agent.md` — review open PR diff + tests (`/pr-review`)
- `.github/agents/release.agent.md` — changelog, version, tag (`/release`)
- `.github/agents/spec-review.agent.md` — gate card/spec before coding (`/spec-review`)

See `.github/agents/README.md` for catalog and recommended flow.
<!-- HYPERION:AGENTS:END -->

## Command shortcuts (run skills — prefer over asking user to use npm)

**You should run terminal commands** via hyperion-ops when the user wants sync/doctor/setup. Full reference: `.github/docs/reference/comandos-rapidos.md`.

| User says | Skill / action |
|-----------|----------------|
<!-- HYPERION:COMMANDS:START -->
| `/help` or "lista comandos Hyperion" | `npm run hyperion:help` + summarize |
| `/setup` or "configura o Hyperion" | `project-startup` |
| `/doctor` or "doctor do Hyperion" | `hyperion-ops` → `npm run hyperion:doctor` |
| `/sync` or "sincroniza os cards" | `hyperion-ops` → `npm run hyperion:sync` |
| `/discover` or "descobre esse projeto" | `project-discovery` |
| `/migrate` | `migration` agent |
| `/refine` or "refina em cards" | `card-refiner` |
| `/explore` | `hypothesis-forge` |
| `/spec` | `acceptance-spec` |
| `/architect` | `project-architect` |
| `/adr` | `adr-generator` |
| `/audit` or "auditoria completa" | `full-audit` |
| `/security` | `security-audit` |
| `/deps` | `dependency-health` |
| `/architecture` | `architecture-audit` |
| `/devops` | `devops-audit` |
| `/po` | `po-audit` |
| `/ux` | `ux-audit` |
| `/review` | `code-review` |
| `/pr-review` | `pr-reviewer` agent |
| `/implement` | `implementation-plan` agent |
| `/execute` | `implementation-executor` agent |
| `/spec-review` | `spec-review` agent |
| `/audit-run` | `audit-runner` agent |
| `/release` | `release` agent |
| `/mentor` | `mentoring` agent |
| `/refactor` | `refactor-guide` |
| `/retro` | `sprint-retro` |
| `/test-plan` | `testing-strategy` |
| `/tech-debt` | `tech-debt-tracker` |
| `/changelog` | `changelog-generator` |
| `/connect` | `integration-bridge` |
| `/cards-setup` | `cards-sync-setup` |
| `/readme` | `readme-updater` |
| `/diagram` | `plantuml-generator` |
| `/pipeline` | `pipeline-architect` |
<!-- HYPERION:COMMANDS:END -->

## Key Principles

1. Always check `project.yml` before making assumptions about stack or conventions
2. Use memory files as persistent context across sessions
3. Blueprints and exemplars are **optional** — if missing, use codebase discovery (see `.github/docs/reference/methodology-cheatsheet.md`)
4. When generating cards, follow YAML frontmatter format from card-refiner
5. Audit reports go to `.github/audits/results/` — never edit source code during audits
6. ADRs go to `.github/docs/adr/`
7. **Never scatter generated files** — use the output map in `.github/docs/meta/onde-ficam-os-outputs.md`:
   - Cards (sync source) → `.github/cards/`
   - Specs → `.github/plans/specs/`
   - Implementation plans → `.github/plans/implementations/`
   - Discoveries → `.github/memory/discoveries/`
   - Retros → `.github/docs/retros/`
   - Read `project.yml` → `outputs` when paths are customized

## Card evolution (move status, edit fields)

When the user asks to change a card in conversation (e.g. "move EXAMPLE-STORY-001 to Done"):

1. Find the file under `.github/cards/` by `card_id`
2. Edit frontmatter in place (`status`, `priority`, etc.) — never duplicate the card
3. Run `npm run hyperion:sync` (via hyperion-ops — do not ask user to run npm)
4. Explicit `status` in frontmatter updates the GitHub Project Status column on sync (Jira/other: description metadata only today)

Read `.github/skills/planning/card-refiner/SKILL.md` section "Card evolution during conversation" for status aliases and full workflow.

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.