agentleFS
jorekaijorekai/skills/skills/stack/setup/SKILL.md

setup

Skill0 starsChanged 3 months agoMITView on GitHub

Take a repository into the stack workspace: create its folder, record where the checkout lives and whether the repository exists yet, choose the profile the declaration starts from, and write the pointer so a later session finds the workspace.

193 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use add-slack, add-parallel and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • MicrosoftSkill

    add-slack

    Add Slack channel integration via Chat SDK.

    Also in 6 projects that use this

  • MicrosoftSkill

    add-parallel

    Also in 5 projects that use this

  • sskarzSkill

    add-telegram-swarm

    Add Agent Swarm (Teams) support to Telegram. Each subagent gets its own bot identity in the group. Requires Telegram channel to be set up first (use /add-telegram). Triggers on "agent swarm", "agent teams telegram", "telegram swarm", "bot pool".

    Also in 5 projects that use this

  • +9 more from microsoft

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 171 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Write the pointer: Add a block to the agent file the project already keeps, or will keep once the generator ran, so a later session does …

    line 40

“Common” is measured: kept by at least 6 in 10 of the 171 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Stack setup

One repository, once. The workspace is where findings go; the declaration goes into the repository itself, and this skill records where that repository is so every later pass reads the same checkout.

Nothing in this skill changes the repository it describes. It reads, and it writes into the workspace.

Steps

  1. Find or create the workspace. A private repository, separate from every project. Ask for its path, then scaffold this repository into it:

    python3 scripts/scaffold.py --root <workspace path> <slug>
    python3 scripts/scaffold.py --root <workspace path> --check

    The script paths are relative to this skill's directory. --check names a file, a directory or a section that is missing. Add what it names; do not rewrite a file that holds values. Done when --check prints ok and the repository folder holds config.md, audits/, log/stack/, reports/stack/, and proposals/.

  2. Record the repository. In repos/<slug>/config.md: path naming the checkout, origin_kind saying who can read the history, default_branch, and state: new when the generator has not run yet, existing when a tree with its own history is being adopted.

    state decides the hand-over at the end. A wrong value there sends an existing repository through the generator, which overwrites nothing but proposes files that already have an owner. Done when path names a directory that exists, or a directory that will be created, and state is one of the two words.

  3. Choose the profile. Offer three and name what each costs, then write the chosen name into standards.md beside verify_window_days and audit_max_age_days:

    • strict: the highest coverage bars and the tightest complexity limits; every function short, every branch tested.
    • standard: the defaults of the declaration template; the bar a new team keeps without a fight.
    • lenient: room for a tree that grows fast, at the price of larger functions and thinner tests.

    The numbers behind each name stand in the declaration the next skill writes, not here. allow_safe stays no unless this repository is worked on alone. Done when profile names one of the three and both windows carry a number of days.

  4. Write the pointer. Add a block to the agent file the project already keeps, or will keep once the generator ran, so a later session does not have to be told again:

    Stack workspace: `<workspace path>/README.md`. Read `standards.md` and `repos/<slug>/config.md`
    before running any `jorekai-stack:*` skill; every change gets a row in that repository's
    `log/stack/`, and a commit that carries one out ends with the trailer `Stack-Log: <row id>`.

    Done when the block names a path that exists.

  5. Hand over. A state: new repository goes to jorekai-stack:choose, which writes the declaration. A state: existing one goes to jorekai-stack:new with --adopt --plan, which names what it would write and what it leaves alone before anything is written. After either, scaffold.py --snapshot copies the declaration into this folder. Done when the next command is named and scaffold.py --flags prints a repository path.

Rules

  • The workspace is its own private repository, one folder per repository (decisions/0035). Nothing this theme measures is committed to the repository it measures; the declaration is the one file that lives there, because the project's own tooling reads it.
  • This skill changes nothing in the target repository. The first change is jorekai-stack:new, and every later one is an action of the loop with a class and a log row.
  • The declaration lives in the repository and its snapshot in the workspace. The passes note when the two differ; the repository's file is the truth, the snapshot is the record of what was measured against.
  • An accepted risk is written once under accepted in config.md, with the reason and the date, and it stops being a finding.
  • scaffold.py --flags prints the arguments the measuring scripts take, built from these files. A step that retypes those values gets them wrong.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.