Agent skill

Repo Foundation

by sickn33 in sickn33/agentic-awesome-skills

Implement features, fixes, modules, contract migrations, and resumed work while preserving user edits and authorized public contracts.

MITAuto-check passed

Install Repo Foundation

skills CLI
$ npx skills add sickn33/agentic-awesome-skills --skill repo-foundation -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install sickn33/agentic-awesome-skills repo-foundation --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/repo-foundation .claude/skills/repo-foundation && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
repo-foundation
GitHub stars
47k
Used in
1 other repo
Token cost
~3.2k tokens
SKILL.md length
1,468 words
Files
9 (incl. references)
Skills in repo
1,497
Repo updated
First seen
Licence
MIT

At a glance

Implement features, fixes, modules, contract migrations, and resumed work while preserving user edits and authorized public contracts.

  • Works in 4 steps: Scope and baseline → Implement just enough → Verify proportionately → …
  • SKILL.md covers When to Use, Core principles, Mode selection and Continue workflow (Core), plus 7 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Repo Foundation is an agent skill from sickn33/agentic-awesome-skills. Implement features, fixes, modules, contract migrations, and resumed work while preserving user edits and authorized public contracts.

Its SKILL.md is about 3.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 9 other files, including reference files (for example `references/LICENSE.md`, `references/bootstrap.md` and `references/companion.md`).

The repository describes itself as: AAS Core is the local, agent-first control plane for complete catalog discovery, agent-owned selection, stack validation, and planning, backed by 2,400+ agentic skills. Includes… The licence is MIT.

Example prompts

  • “/repo-foundation”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Scope and baseline
  2. Implement just enough
  3. Verify proportionately
  4. Continuity and state

What it can do on your machine

Read from SKILL.md and the folder at commit b84d35a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Repo Foundation loads about 3.2k tokens when it runs, and up to ~8.9k if it reads all its reference files. Until then it costs about 38 tokens; SKILL.md has 1,468 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~38
When it runs · the whole SKILL.md, loaded when a task matches
~3.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~8.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from sickn33/agentic-awesome-skills at commit b84d35a, republished under its MIT licence (© sickn33). 1,468 words, ~3,216 tokens.

Download SKILL.mdSave it as .claude/skills/repo-foundation/SKILL.md (or your agent's skills folder). This skill also uses 8 other files; get the full folder from GitHub.
name
repo-foundation
description
Implement features, fixes, modules, contract migrations, and resumed work while preserving user edits and authorized public contracts.
category
development
risk
critical
source
https://github.com/Natchannnn/repository-engineering-skills
source_repo
Natchannnn/repository-engineering-skills
source_type
community
date_added
2026-09-30
author
Natchannnn
tags
repository-engineering, feature-development, contract-migration, continuity
tools
codex
license
MIT

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

ModeTriggerCore ActionsExit Criteria
BootstrapNew 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.
ContinueAdding a feature, bugfix, or improvement on an existing, fitting foundation.Determine owning domain and boundary, implement changes, run proportionate checks, and review diff. Executable directly from core.Task requirements are met; diff is reviewed; intentional contract changes are verified (or existing contracts preserved); remaining limitations are stated.
EvolveNew requirements alter core contracts, ownership, boundaries, or architecture; or adopting a repo with conflicting conventions.Assess blast radius, execute controlled migration, update evidence, tests, and documentation. Read evolution.Transition is verified; new contracts are operational; instructions and documentation align with code.

Adopting an existing repository begins with mode selection; do not default to re-bootstrapping. If the repository already has working instructions, tooling, and conventions, reuse them. If a specific subsystem lacks a foundation, establish only what that subsystem requires.


Continue workflow (Core)

Routine feature work runs straight from the mode above plus core principles, no extra reference needed:

1. Scope and baseline

Confirm the user's objective, observable consequences, affected boundaries, baseline revision/inventory, and any uncommitted user changes to preserve.

2. Implement just enough
  • Assumptions vs. product decisions: choose conventional, reversible defaults (directory layout, helper naming, standard library choices) on your own. Bundle product and architectural decisions (external dependencies, data schema changes, new auth schemes) into one question before breaking anything.
  • Intentional contract changes occur when a task explicitly requires changing a contract, so verify that callers and tests reflect the new contract rather than forcing deprecated behavior.
Show full SKILL.md (607 more words)Show less
3. Verify proportionately
  • Lightweight path (low risk): routine bug fixes and localized edits inside established boundaries. Keep scope tight and run relevant mechanical checks (syntax, linter, affected unit tests). Skip automatic secondary review passes unless concrete unresolved concerns warrant one; an explicit review request still applies.
  • High-risk changes: a single line touching authorization, permissions, data migrations, cryptography, persistence lifecycles, or concurrency can do serious damage. Read verification before designing checks.
4. Continuity and state
  • Implementation vs. requirements: existing code shows current behavior. That is not proof of meeting requirements, and passing tests don't guarantee completeness if acceptance was never tested.
  • Reconciliation: use the evidence hierarchy to guide investigation, not to settle contradictions for you. If requirements, docs, callers, and tests disagree, reconcile them before changing the contract. If notes and code disagree, check requirements and tests; don't edit the notes to match the code.
  • Tracking: reuse issue trackers and project notes. Don't create handoff files for routine features.

Companion Coordination (repo-native-refactor)

Use at most one companion pass when the user requests review, concrete unresolved concerns remain, or a substantial contract, ownership, or semantic change warrants a scoped audit. Lightweight fixes do not trigger an automatic pass. Read references/companion.md when a pass is warranted; finish normally if the companion is unavailable. Rerun affected checks after its edits; same-agent self-review is not independent review.


Reference routing

Read supporting references only when the corresponding trigger occurs:

  • references/bootstrap.md: Read in Bootstrap mode to establish a new repository, set up minimal tooling, and build the first representative slice.
  • references/evolution.md: Read in Evolve mode to assess blast radius, handle breaking contract changes, or reconcile conflicting conventions.
  • references/continuity.md: Read when resuming work across sessions, taking over a repository, or reconciling stale notes with code reality.
  • references/verification.md: Read when designing checks for greenfield code, high-risk boundaries (auth, data loss, concurrency), or weak test suites.
  • references/shared-contracts.md: Canonical contract + evidence hierarchy + final-state rule. Read when touching any public interface, reconciling conflicting requirements, or certifying completion.
  • references/migration-examples.md: Atomic vs transitional migration patterns. Read in Evolve mode before mutating persisted state.
  • references/companion.md: Full companion coordination (roles, handoff, loop limits). Read when planning a refactor pass with repo-native-refactor.

Examples

Add a feature on an existing foundation
text
Use repo-foundation to add pagination to this project's existing search endpoint.
Preserve the current default response and my uncommitted changes. Reuse the
project's conventions, add relevant regression coverage, and verify the final diff.

Select Continue mode, inspect the endpoint's callers and baseline checks, implement the smallest compatible change, and report the checks actually performed.

Migrate an authorized persisted contract
text
Use repo-foundation to migrate our local JSON store from schema v1 to v2.
Update the in-scope callers and tests. A failed migration must leave the existing
store intact; verify that failure boundary before reporting completion.

Select Evolve mode and read the migration and verification references before changing persisted state. Establish the authorized target schema and verify the transition, including failure-state preservation.

Limitations

  • Repository instructions and actual callers are required to establish local contracts; the skill cannot infer missing product requirements reliably.
  • Atomic replacement examples depend on the target filesystem and do not establish crash durability on every platform.
  • Relevant passing checks establish only their exercised scope; they do not prove that all requirements or failure modes are covered.
  • Companion review is optional when unavailable; same-agent self-review is not independent review.

Security & Safety Notes

This skill can edit source files and guide state migrations, so its declared risk is critical under this collection's state-modification classification. Work only within the user's authorized repository and task scope, preserve existing user changes, and establish failure invariants before changing persisted data. Routine implementation authority does not authorize pushing, publishing, deploying, changing branch protection, installing system hooks, or purchases.


When NOT to Use

  • Trivial edits: Skip this skill for typos, isolated script adjustments, or formatting-only changes: the overhead is not worth it.

Source & License

Adapted from Natchannnn/repository-engineering-skills. The original MIT copyright notice and license are retained in references/LICENSE.md. Collection adaptations add metadata, explicit triggers, interaction examples, limitations, and safety notes; the core workflow and supporting reference instructions are retained.

© sickn33, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 8 other files (references) in skills/repo-foundation of sickn33/agentic-awesome-skills.

  • SKILL.md
  • references/LICENSE.md
  • references/bootstrap.md
  • references/companion.md
  • references/continuity.md
  • references/evolution.md
  • references/migration-examples.md
  • references/shared-contracts.md
  • references/verification.md

Open the folder on GitHubat commit b84d35a

Used in 1 other repository

We found 5 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in sickn33/agentic-awesome-skills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Repo Foundation next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Repo Foundation compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Repo Foundation this skillsickn33/agentic-awesome-skills47k1 repos~3.2kAutomated safety check: PassMIT
Reversible MigrationJuliusBrussee/caveman111k1 repos~196Automated safety check: PassApache-2.0
Fix Module Not Found ErrorNuitka/Nuitka15k—~519Automated safety check: PassAGPL-3.0
Resume Tailorreactive-resume/reactive-resume44k—~8.3kAutomated safety check: PassMIT
Database Migrationsaffaan-m/ECC277k4 repos~3kAutomated safety check: PassMIT
Database Migrationsaffaan-m/ECC277k1 repos~2.4kAutomated safety check: PassMIT

Similar skills

  • Reversible Migration

    JuliusBrussee/caveman

    Implement reversible compatibility-safe transitions. Use for schema, data, API, protocol, configuration, or dependency migrations requiring rollback and…

    111k GitHub starsUsed in 1 repo~196 tokens
    DevelopmentAuto-check passed
  • Diagnose and fix ModuleNotFoundError in Nuitka standalone binaries caused by missing implicit imports.

    15k GitHub stars~519 tokensUpdated today
    Data & AnalyticsAuto-check passed
  • Resume Tailor

    reactive-resume/reactive-resume

    Tailors one resume to one specific job posting. An agent skill from reactive-resume/reactive-resume.

    44k GitHub stars~8.3k tokensUpdated yesterday
    Business, Finance & HRAuto-check passed
  • Safe, reversible database migration patterns: forward-only production changes, expand-contract zero-downtime renames, concurrent indexes, batched backfills, and per-tool workflows for PostgreSQL…

    277k GitHub starsUsed in 4 repos~3k tokens
    DatabasesAuto-check passed
  • Şema değişiklikleri, veri migration'ları, rollback'ler ve PostgreSQL, MySQL ve yaygın ORM'ler (Prisma, Drizzle, Django, TypeORM, golang-migrate) arasında sıfır kesinti deployment'ları için…

    277k GitHub starsUsed in 1 repo~2.4k tokens
    DatabasesAuto-check passed
  • Official

    Migrate an existing Apple/Swift Expo native module from the Expo Modules API 1.0 definition DSL to the 2.0 macro API (sometimes called v2) while preserving its JavaScript and TypeScript contract.

    2.7k GitHub stars~2.6k tokensUpdated 4 days ago
    MobileAuto-check passed

More from sickn33/agentic-awesome-skills

All 1,497 skills in this repo
  • Liuguang Banlan UI

    sickn33/agentic-awesome-skills

    Implements an interface in one of two named color modes, iridescent white or colorful black, from a parameterized starter that reports measured color intensity.

    47k GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed
  • User Thoughts Memory

    sickn33/agentic-awesome-skills

    Saves a user's project decisions, rules and preferences into a project-local mdbase so later sessions and other agents can recover the intent.

    47k GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed
  • Using LWC Memory and Graphs

    sickn33/agentic-awesome-skills

    Keeps project decisions, research and verified results available across coding-agent sessions through LWC memory, a document Wiki graph and a CodeGraph code index.

    47k GitHub starsUsed in 1 repo~2k tokens
    Auto-check passed
  • Find Complementary Founders

    sickn33/agentic-awesome-skills

    Guides an agent through assessing its own owner for cofounder fit, publishing an approved profile, and ranking complementary profiles other agents published for their owners.

    47k GitHub starsUsed in 1 repo~4.8k tokens
    Auto-check passed
  • Whatsapp Cloud API

    sickn33/agentic-awesome-skills

    Integracao com WhatsApp Business Cloud API (Meta). An agent skill from sickn33/agentic-awesome-skills.

    47k GitHub starsUsed in 2 repos~4.5k tokens
    Auto-check passed
  • Cline Pilot

    sickn33/agentic-awesome-skills

    Acts as a proxy for the Cline CLI, dispatching coding tasks one at a time, monitoring runs by hard evidence, relaying decisions to you and learning per-project preferences.

    47k GitHub starsUsed in 1 repo~4.6k tokens
    Auto-check passed

Questions about Repo Foundation

What does Repo Foundation do?

Implement features, fixes, modules, contract migrations, and resumed work while preserving user edits and authorized public contracts. Repo Foundation is an agent skill from sickn33/agentic-awesome-skills. Implement features, fixes, modules, contract migrations, and resumed work while preserving user edits and authorized public contracts.

How do I install Repo Foundation in Claude Code?

Run `npx skills add sickn33/agentic-awesome-skills --skill repo-foundation -a claude-code`. Or copy the skill folder (skills/repo-foundation in sickn33/agentic-awesome-skills) into .claude/skills/repo-foundation in your project. Claude Code loads it when a task matches its description.

How do I install Repo Foundation in Codex?

Run `npx skills add sickn33/agentic-awesome-skills --skill repo-foundation -a codex`. Or copy the skill folder (skills/repo-foundation in sickn33/agentic-awesome-skills) into .agents/skills/repo-foundation in your project. Codex loads it when a task matches its description.

Can I use Repo Foundation in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sickn33/agentic-awesome-skills --skill repo-foundation -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/repo-foundation, .gemini/skills/repo-foundation, .github/skills/repo-foundation and .opencode/skills/repo-foundation in your project.

What does Repo Foundation need to run?

SKILL.md names no scripts, command-line tools or credentials: Repo Foundation is instructions for the agent only.

Does Repo Foundation access the network?

SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.

Is Repo Foundation safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Repo Foundation use?

Repo Foundation is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Repo Foundation use?

About 3.2k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5.7k tokens, read only when the agent opens those files.

What are the alternatives to Repo Foundation?

Skills that share tags, products or a category with Repo Foundation: Reversible Migration (JuliusBrussee/caveman, 111k stars), Fix Module Not Found Error (Nuitka/Nuitka, 15k stars), Resume Tailor (reactive-resume/reactive-resume, 44k stars) and Database Migrations (affaan-m/ECC, 277k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Repo Foundation?

sickn33 (a GitHub user) maintains it in sickn33/agentic-awesome-skills, which has 47,405 GitHub stars. The repository holds 1,497 skills in this directory. The repository was last updated on October 9, 2026.

Source: sickn33/agentic-awesome-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.