repo-foundation
Что он делает
Этот инструмент помогает добавлять новые функции, исправлять ошибки или начинать работу над частями существующего программного проекта. Его также можно использовать, чтобы заложить основу нового проекта или продолжить прерванную работу.
Когда использовать
- ✓Когда вы хотите добавить новую функцию в проект.
- ✓Когда нужно исправить ошибку в коде.
- ✓Когда вы начинаете новый проект или новую его часть.
Ссылка на скилл
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/repo-foundation/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Добавь в этот проект функцию логирования входа пользователей.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Инструмент анализирует текущий проект, сохраняет ваши уже внесённые изменения и аккуратно реализует новые инструкции. Так работа выполняется эффективно, без лишней переделки.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с 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. |
…
Частые вопросы
Что означает «сохранение правок пользователя»?
Это значит, что если вы уже начали вносить изменения в код, инструмент не сотрёт вашу работу. Он постарается совместить новые инструкции с тем, что вы уже сделали.
Что такое «публичный контракт»?
Это договорённость о том, как части кода должны взаимодействовать друг с другом. Инструмент следит за тем, чтобы эти договорённости соблюдались, и при необходимости корректно их обновляет.
Будет ли инструмент менять архитектуру моего проекта?
Только если это действительно необходимо для выполнения новых требований. Цель состоит в том, чтобы вносить минимум изменений и избегать переделок.
Подробности
Оригинальное описание автора
Implement features, fixes, modules, contract migrations, and resumed work while preserving user edits and authorized public contracts.
Популярность
- Звёзды на GitHub
- 48k
- Место в рейтинге
- #5615
- Лицензия
- MIT
- Обновлён
- 15.10.2026
Комментарии
- …
Другие скиллы из этого репозитория
00-andruia-consultant
48kПомогает агенту начинать или улучшать ИИ-проекты: анализирует код, подбирает инструменты и составляет план на испанском.
007
48kАгент проводит аудит безопасности и моделирование угроз для защиты проектов.
10-andruia-skill-smith
48kПомогает агенту создавать и улучшать ИИ-инструменты: описание работы, документация и проверка структуры.
20-andruia-niche-intelligence
48kАгент составляет обзор отрасли: контекст, правила, паттерны использования и риски по надёжным источникам.
Похожие скиллы
api-connector-builder
280kАгент создаёт новые подключения к API по существующему шаблону. Используйте, когда нужна ещё одна интеграция без нового способа делать то же самое.
api-design
280kПомогает агенту проектировать REST API по лучшим практикам: как API общаются, как показываются ошибки и как организовать данные.
backend-patterns
280kПомогает агенту с архитектурными паттернами серверной части и оптимизацией баз данных. Полезен при создании и проверке серверного кода.