Hyperion
Copilot instructions2 starsChanged 3 months agoMITView on GitHub
These instructions apply to all AI coding agents working in this repository (GitHub Copilot, Cursor, Claude Code, or any other). They are the project's coding constitution — do not violate them. Use Conventional Commits: - feat: — new feature - fix: — bug fix - refactor: — restructuring without behavior change - test: — adding or fixing tests - docs: — documentation only - chore: — tooling, config, dependencies
In this repository2 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- .cursor/rules/hyperion.mdcCursor rule
The file
Show its rules and text
We split this copilot-instructions.md into the rules it gives an agent
30 rules. About 0 are common, 18 are distinctive, and 12 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈18
Distinctive · estimate
This author's own choices. Worth a look.
12
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
- Very specific: line 9
Read .github/project.yml if it exists — it defines the project contract.
- Very specific: line 10
Read .github/memory/PROJECT.md — project context.
- Very specific: line 11
Read .github/memory/DOMAIN.md — domain model.
- Very specific: line 12
Read .github/memory/DECISIONS.md — existing decisions.
- Very specific: line 13
If project.yml is absent, run the project-discovery skill or ask the user.
- Distinctive: line 19
Write the simplest solution that satisfies the requirement.
- Distinctive: line 25
Do not implement without understanding what "done" means.
- Very specific: line 27
If neither exists, ask the user or suggest running card-refiner or acceptance-spec.
- Distinctive: line 31
Never commit secrets, tokens, or credentials.
- Distinctive: line 32
Never trust external input without validation.
- Distinctive: line 34
When in doubt, ask before exposing data.
- Distinctive: line 38
If you make or suggest an architectural choice, note it.
- Distinctive: line 56
Every feature must have tests.
- Distinctive: line 58
Do not skip tests to ship faster.
- Distinctive: line 62
Use consistent error patterns across the codebase.
- Distinctive: line 64
Never swallow errors silently.
- Distinctive: line 68
Follow existing conventions discovered from the codebase.
- Very specific: line 69
When creating new files, reference project.yml for paths and existing patterns.
- Distinctive: line 70
Never invent a new organizational pattern without checking what exists.
- Distinctive: line 83
Never execute code or make breaking changes without explicit permission.
- Distinctive: line 85
Ask when something is ambiguous or contradictory.
- Distinctive: line 90
Keep technical terms in English (controller, service, hook, middleware, etc.).
- Very specific: line 91
Read locale from project.yml for generated artifacts.
- Distinctive: line 95
Update documentation when behavior changes.
- Distinctive: line 96
Prefer diagrams (Mermaid) over long prose for flows.
- Very specific: line 97
Keep READMEs current — use readme-updater skill periodically.
- Very specific: line 109
When the user asks for any of these capabilities, read the corresponding SKILL.md and follow its instructions exactly.
- Very specific: line 127
When a task maps to an existing skill, suggest using it — or run npm yourself via hyperion-ops when the user wants sync/doctor without …
- Distinctive: line 170
If the user asks to move or update a card (e.g.
- Very specific: line 174
Run npm run hyperion:sync (or hyperion-ops skill)
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions 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.
Files
Project Instructions
These instructions apply to all AI coding agents working in this repository (GitHub Copilot, Cursor, Claude Code, or any other). They are the project's coding constitution — do not violate them.
Bootstrap (always first)
- Read
.github/project.ymlif it exists — it defines the project contract. - Read
.github/memory/PROJECT.md— project context. - Read
.github/memory/DOMAIN.md— domain model. - Read
.github/memory/DECISIONS.md— existing decisions. - If
project.ymlis absent, run theproject-discoveryskill or ask the user.
Principles
KISS first, SOLID on refactor, DRY on third occurrence
- Write the simplest solution that satisfies the requirement.
- Apply SOLID patterns during refactoring, not upfront.
- Extract shared code only when the pattern has repeated 3 times.
Spec before code
- Do not implement without understanding what "done" means.
- Acceptance criteria or a BDD spec must exist before writing logic.
- If neither exists, ask the user or suggest running
card-refineroracceptance-spec.
Security is not a phase
- Never commit secrets, tokens, or credentials.
- Never trust external input without validation.
- Apply the principle of least privilege in access control.
- When in doubt, ask before exposing data.
Decisions are recorded
- If you make or suggest an architectural choice, note it.
- Small decisions: add to
.github/memory/DECISIONS.md. - Significant decisions: suggest creating an ADR via
adr-generator.
Code Rules
Commits
Use Conventional Commits:
feat:— new featurefix:— bug fixrefactor:— restructuring without behavior changetest:— adding or fixing testsdocs:— documentation onlychore:— tooling, config, dependencies
Tests
- Every feature must have tests. Prefer unit tests for logic, integration for flows.
- TDD is encouraged: Red (failing test) → Green (minimal pass) → Refactor.
- Do not skip tests to ship faster.
Error handling
- Use consistent error patterns across the codebase.
- Errors should be informative (what went wrong, where, what to do).
- Never swallow errors silently.
File organization
- Follow existing conventions discovered from the codebase.
- When creating new files, reference
project.ymlfor paths and existing patterns. - Never invent a new organizational pattern without checking what exists.
- Hyperion outputs — every skill writes to a defined folder (see
.github/docs/meta/onde-ficam-os-outputs.md):- Cards (sync) →
.github/cards/ - Specs →
.github/plans/specs/ - Plans →
.github/plans/implementations/ - Audits →
.github/audits/results/<type>/ - ADRs →
.github/docs/adr/ - Discoveries →
.github/memory/discoveries/
- Cards (sync) →
Collaboration Rules
Human gates
- Never execute code or make breaking changes without explicit permission.
- Present plans before implementing.
- Ask when something is ambiguous or contradictory.
Language
- Match the user's language for communication.
- Keep technical terms in English (controller, service, hook, middleware, etc.).
- Read
localefromproject.ymlfor generated artifacts.
Documentation
- Update documentation when behavior changes.
- Prefer diagrams (Mermaid) over long prose for flows.
- Keep READMEs current — use
readme-updaterskill periodically.
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 -->When a task maps to an existing skill, suggest using it — or run npm yourself via hyperion-ops when the user wants sync/doctor without using the terminal.
| Need | Skill / command |
<!-- HYPERION:COMMANDS:START -->| Full Hyperion setup | project-startup — or user says /setup |
| Sync / doctor / validate cards | hyperion-ops — runs npm run hyperion:sync, hyperion:doctor |
| Map repo, create project.yml | project-discovery — or user says /discover |
| Adapt Hyperion to existing repo | migration agent |
| Refine idea into cards | card-refiner — or user says /refine |
| Problem exploration session | hypothesis-forge — or user says /explore |
| Given/When/Then spec | acceptance-spec — or user says /spec |
| Greenfield architecture | project-architect — or user says /architect |
| Architecture Decision Record | adr-generator — or user says /adr |
| Full audit (6 dimensions) | full-audit — or user says /audit |
| Security review | security-audit — or user says /security |
| Dependency audit + outdated | dependency-health — or user says /deps |
| Architecture review | architecture-audit — or user says /architecture |
| DevOps review | devops-audit — or user says /devops |
| Product alignment | po-audit — or user says /po |
| UX review | ux-audit — or user says /ux |
| Code review | code-review — or user says /review |
| Review open PR (diff + tests) | pr-reviewer agent |
| Phased implementation plan | implementation-plan agent |
| Execute approved plan phase | implementation-executor agent |
| Gate card/spec before coding | spec-review agent |
| Orchestrated 6-dimension audit | audit-runner agent |
| Changelog, version, tag | release agent |
| Socratic teaching | mentoring agent |
| Safe refactoring guide | refactor-guide — or user says /refactor |
| Sprint retrospective | sprint-retro — or user says /retro |
| Testing strategy | testing-strategy — or user says /test-plan |
| Tech debt inventory | tech-debt-tracker — or user says /tech-debt |
| Generate CHANGELOG | changelog-generator — or user says /changelog |
| Jira/Azure/Linear/GitLab bridge | integration-bridge — or user says /connect |
| Cards sync wizard | cards-sync-setup — or user says /cards-setup |
| Update README | readme-updater — or user says /readme |
| PlantUML/Mermaid diagrams | plantuml-generator — or user says /diagram |
| Adaptive CI/CD setup | pipeline-architect — or user says /pipeline |
<!-- HYPERION:COMMANDS:END -->Evolving cards in conversation
If the user asks to move or update a card (e.g. "mova o card X para Done"):
- Edit the existing file in
.github/cards/{epics|features|stories|tasks}/— updatestatusor other frontmatter fields - Keep
card_idunchanged - Run
npm run hyperion:sync(orhyperion-opsskill) - GitHub: Project Status column updates. Jira/other: status in issue metadata (native board not mapped yet)
- Allowed status values: Backlog, Functional Refinement, Technical Refinement, In Progress, In Tests, In Revision, Done
See card-refiner skill § Card evolution during conversation (status aliases) and § Prototype-first refinement (UX flow).
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
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.

