Hyperion
Copilot instructions2 starsChanged 24 days 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 Type and scope stay in English (tooling parses them); the subject…
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 58
Every feature must have tests.
- Distinctive: line 60
Do not skip tests to ship faster.
- Distinctive: line 64
Use consistent error patterns across the codebase.
- Distinctive: line 66
Never swallow errors silently.
- Distinctive: line 70
Follow existing conventions discovered from the codebase.
- Very specific: line 71
When creating new files, reference project.yml for paths and existing patterns.
- Distinctive: line 72
Never invent a new organizational pattern without checking what exists.
- Distinctive: line 85
Never execute code or make breaking changes without explicit permission.
- Distinctive: line 87
Ask when something is ambiguous or contradictory.
- Very specific: line 92
Read locale (primary language) and languages (primary first) from .github/project.yml.
- Distinctive: line 105
Keep technical terms in English (controller, service, hook, middleware, etc.).
- Distinctive: line 109
Update documentation when behavior changes.
- Distinctive: line 110
Prefer diagrams (Mermaid) over long prose for flows.
- Very specific: line 111
Keep READMEs current — use readme-updater skill periodically.
- Very specific: line 123
When the user asks for any of these capabilities, read the corresponding SKILL.md and follow its instructions exactly.
- Very specific: line 141
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 191
If the user asks to move or update a card (e.g.
- Very specific: line 195
Run npm run hyperion:sync (or hyperion-ops skill)
≈ “Common” is an estimate: at least 1 in 5 of the 3,894 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
Type and scope stay in English (tooling parses them); the subject is written in the primary language (locale), e.g. fix(cards): corrige status duplicado no board.
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
<!-- HYPERION:LANGUAGE:START -->Read locale (primary language) and languages (primary first) from .github/project.yml. No locale → ask the team language(s) via /setup before writing artifacts; until then use en.
| What | Language |
| Chat replies | The person's language |
| Cards, specs, plans, ADRs, memory, audits, reports | Primary (locale) |
| PR title/body, PR/review comments, release notes | Primary; when languages has more than one and the surface is in i18n.multilingual (default pr, comments, release), add one <details><summary>Language name</summary> block per extra language |
| Commit messages | Conventional type/scope in English + subject in the primary language (feat(auth): adiciona login com Google) |
| Code, identifiers, branches, CARD_ID, paths, CLI flags, CI job/step names | Always English |
Fixed script messages (CI comments, board guard, coverage) come from scripts/hyperion/i18n/<tag>.json (+ .github/i18n/<tag>.json override) — never hand-translate them. Policy: .github/docs/meta/language-policy-en.md.
<!-- HYPERION:LANGUAGE:END -->Keep technical terms in English (controller, service, hook, middleware, etc.).
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, api-contract-guide, card-refiner, feature-flag-manager, 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/ — ai-fluency, architecture-audit, code-review, compliance-audit, dependency-health, devops-audit, eng-metrics, full-audit, po-audit, pr-review, security-audit, smoke, tech-debt-tracker, testing-strategy, ux-audit
- docs/ — adr-generator, changelog-generator, plantuml-generator, pr-writer, 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 |
| AI fluency and harness scan (two scores out of 15) | ai-fluency — or user says /fluency |
| 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 |
| Boot the app and exercise the spec; report only | smoke — or user says /smoke |
| Open a PR in the repo language (multilingual when configured) | pr-writer — or user says /pr |
| 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 |
| Flag lifecycle: rollout, kill switch, removal date | feature-flag-manager — or user says /feature-flags |
| API versioning, breaking changes, deprecation | api-contract-guide — or user says /api-contract |
| 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 |
| DORA metrics snapshot | eng-metrics — or user says /eng-metrics |
| LGPD/GDPR technical signals | compliance-audit — or user says /compliance |
| 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.

