repo-foundation
Was er macht
Dieses Tool hilft dir, neue Funktionen hinzuzufügen, Fehler zu beheben oder Teile eines bestehenden Programmierprojekts zu starten. Es kann außerdem die Grundlage für ein neues Projekt legen oder unterbrochene Arbeit fortsetzen.
Wann du ihn nutzt
- ✓Wenn du einem Projekt ein neues Feature hinzufügen willst.
- ✓Wenn du einen Fehler im Code beheben musst.
- ✓Wenn du ein neues Projekt oder einen neuen Teil davon beginnst.
Link zum Skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/repo-foundation/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Füge eine neue Funktion hinzu, die das Login von Nutzern in diesem Projekt protokolliert.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Das Tool analysiert das aktuelle Projekt, schützt deine bestehenden Änderungen und setzt neue Anweisungen strukturiert um. So wird die Arbeit effizient erledigt, ohne unnötige Nacharbeit.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von GitHub.
Repo foundation
When to Use
- Use when the user asks to add a feature, fix a bug, or start a module in an existing project.
- Use when establishing the minimum foundation for a new repository or subsystem.
- Use when requirements authorize a schema, public-contract, ownership, or architecture migration.
- Use when resuming unfinished work or reconciling stale notes with repository evidence.
Build on a foundation that's just big enough, add features on top of it, and change the architecture only when requirements force it. Aim for the least total rework.
Core principles
- No universal dogma: don't impose a layout, error pattern, or framework the project doesn't need. Plain standard library is fine.
- Scope, baseline, and user work:
- Establish a clean baseline before mutating code: use the pre-existing revision/commit when Git exists; use a file inventory or snapshot when uninitialized or greenfield.
- In a dirty workspace, protect pre-existing uncommitted user modifications. You may edit distinct parts of the same file as long as user work is preserved. Stop and ask only if there is an actual collision or ambiguous intent.
- Never create commits or force Git initialization solely for handoff or tracking.
- Reuse conventions only with healthy repository precedent. Don't treat accidental patterns or temporary workarounds as precedent, and don't expand into out-of-scope cleanup.
- Don't push, publish, deploy, change branch protection, install system hooks, or buy anything unless the user asks.
- Prose, naming, and restraint:
- Names reflect business domain concepts and ownership.
- Add comments only for information code cannot express: grounded rationale, non-obvious invariants, units, rounding, ordering, protocol quirks, or compatibility.
- Do not narrate syntax; do not invent tickets, incidents, owners, or production histories.
- Treat error and CLI text as contract surface: check callers and parsers before rewording.
- Never invent ticket, PR, or incident references. An inaccessible or unverified reference is not evidence of fabrication. Preserve existing references unless repository evidence establishes that they are incorrect or obsolete; report material uncertainty instead of deleting them.
- Do not strip valuable comments merely for cosmetic brevity; do not enforce arbitrary comment ratios.
- Do not add abstractions, wrappers, or factory layers without concrete ownership, contract, or test seam needs.
- Preserve consumed public contracts as defined in
references/shared-contracts.md§1: keep documented types, values, errors, and serialization. Change a contract only when the task clearly authorizes it, then update callers, tests, and docs in scope. - Verification rigor & proportionate testing:
- Record baseline failures and distinguish: (1) pre-existing failures outside scope, (2) in-scope failures to fix, (3) regressions from current changes, and (4) environment errors.
- Verify the final code state; never use pre-cleanup test results to certify modified code.
- Add or update persistent tests when a change introduces behavior, fixes a defect, alters a contract, or exposes a meaningful coverage gap. Prefer the repository's existing test framework and structure. Do not add tests solely for file-count or coverage optics. For documentation-only or mechanically verified changes, use the relevant lightweight checks and explain any material verification gap.
- Check every requirement before you say you're done. Say what you verified, what you only read, and what you assumed. A command that exits 0 doesn't count if the file it should make isn't there.
- Failure invariants & state preservation: if an operation can fail halfway, decide what must stay untouched. Validate inputs and ownership first, build the replacement on the side, keep the old state until the new one is ready, and test the failure boundary.
Mode selection
| Mode | Trigger | Core Actions | Exit Criteria |
|---|---|---|---|
| Bootstrap | New repository from scratch or an area lacking minimal foundation (no build/test/run commands, conventions, or boundaries). | Elicit critical constraints, choose just-enough design, set up minimal tooling/checks, implement and verify the first representative slice. Read bootstrap. | Representative slice works and is verified; run/build commands are documented; repo is stable for subsequent work. |
…
Häufige Fragen
Was bedeutet „Erhalt deiner eigenen Änderungen“?
Es bedeutet, dass das Tool deine Arbeit nicht löscht, wenn du schon Änderungen am Code vorgenommen hast. Es versucht, die neuen Anweisungen mit dem zu verbinden, was du bereits gemacht hast.
Was ist ein „Public Contract“?
Ein Public Contract ist eine Vereinbarung darüber, wie verschiedene Teile des Codes miteinander kommunizieren. Das Tool sorgt dafür, dass diese Vereinbarungen eingehalten oder bei Bedarf korrekt angepasst werden.
Ändert das Tool die Architektur meines Projekts?
Nur, wenn es für die neuen Anforderungen unbedingt nötig ist. Ziel ist es, möglichst wenige Änderungen vorzunehmen, um Nacharbeit zu vermeiden.
Details
Originalbeschreibung des Autors
Implement features, fixes, modules, contract migrations, and resumed work while preserving user edits and authorized public contracts.
Beliebtheit
- GitHub-Sterne
- 48k
- Platz im Ranking
- #5615
- Lizenz
- MIT
- Aktualisiert
- 15.10.2026
Kommentare
- …
Weitere Skills aus diesem Repository
00-andruia-consultant
48kHilft deinem Agenten, KI-Projekte zu starten oder zu verbessern. Er analysiert Code, schlägt Tools vor und erstellt Aktionspläne auf Spanisch.
007
48kLässt deinen Agenten Sicherheitsaudits und Bedrohungsmodellierung durchführen. Nützlich, um Projekte vor Angriffen und Schwachstellen zu schützen.
10-andruia-skill-smith
48kHilft deinem Agenten, KI-Tools zu erstellen oder zu verbessern. Er legt fest, wie Tools funktionieren, schreibt die Dokumentation und prüft die Struktur.
20-andruia-niche-intelligence
48kLässt deinen Agenten eine Branchenzusammenfassung erstellen. Nützlich, um Kontext, Regeln, Nutzungsmuster und Risiken anhand verlässlicher Quellen zu verstehen.
Ähnliche Skills
api-connector-builder
280kLässt deinen Agenten neue API-Anbindungen nach dem bestehenden Muster bauen. Nutze es, wenn du eine weitere Integration ergänzen willst, ohne neue Wege einzuführen.
api-design
280kHilft deinem Agenten, REST-APIs nach Best Practices zu entwerfen. Nützlich für die Kommunikation, die Fehlerausgabe und die Organisation von Daten.
backend-patterns
280kHilft deinem Agenten bei Architekturmustern für die Serverseite und bei der Datenbankoptimierung. Nützlich zum Bauen und Prüfen von Server-Code.