agentleFS
Obedience-CorpObedience-Corp/fresh/skills/fresh-configure/SKILL.md

fresh-configure

Skill4 starsChanged 32 days agoApache-2.0View on GitHub

Configure camp fresh follow-up commands and branch settings for a project. Use when someone wants builds, dependency installation, a dev server, or other commands to run after cleanup, or wants to inspect, edit, reorder, remove, or skip those steps.

  • In this repositoryOne other file it gives its agents.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    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:

    Only run either when the user also requested a cleanup/preview.

    line 68

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill 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.

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

Configure camp fresh

Save the user's requested workflow with camp fresh configure subcommands. Configuring does not run cleanup or execute the saved commands.

  1. Locate camp and read camp fresh configure --help. If missing, use the companion fresh skill's installer when available (only its setup step), or explain that Festival must be installed. Check subcommand help before using a feature absent from the installed version; do not replace a developer build.
  2. Resolve the registered project name using camp project list --format json and the repository path. Do not guess from its basename. For an unlinked repo, select the user's intended camp, then use camp project link <repo-path> --campaign <camp> --yes --no-commit; disclose the link and camp project unlink undo. Ask only if the target camp is unclear. Do not run cleanup to link it.
  3. Inspect camp fresh show-workflow <project-name> --json and the project's existing runner/scripts. Use the requested commands, directories, and order; ask only about choices the repo and request do not resolve. Default to this project with --project <project-name>. Global changes require global intent.
  4. Apply the commands below, then read back show-workflow <project-name> --json. Report the saved scope, order, commands, directories, and failure policy.

CLI operations

camp fresh configure add install --run 'npm ci' --project <project-name>
camp fresh configure add build --run 'npm run build' --project <project-name>
camp fresh configure edit build --run 'just build' --project <project-name>
camp fresh configure move build --up --project <project-name>
camp fresh configure remove build --project <project-name>
camp fresh configure set branch --action branch --value feat/next --project <project-name>
camp fresh configure set branch --action inherit --project <project-name>
camp fresh configure set push_upstream --action off --project <project-name>

These are examples, not defaults. Prefer the repo's existing commands. Use --dir for a directory relative to the project root. edit replaces the whole entry: resupply its directory and --continue-on-error if they should be preserved. A failure normally stops later steps; set --continue-on-error only when wanted.

Project follow-ups replace the global list. The first project add does not copy inherited steps; explicitly add any the user wants to retain. Project edit and move copy the effective inherited list before changing it. remove addresses only the stored list; removing its last entry restores inheritance. Always check the readback. Do not drop inherited steps as a side effect of adding one.

Commands run sequentially through sh -c, after a successful cleanup/branch cycle, in the project root (or --dir). A foreground dev server such as npm run dev keeps Fresh running until it exits. Clarify foreground versus managed startup if needed; use the project's existing service manager for background services. Do not invent a process supervisor or add & silently. Agent runs have no interactive stdin. Commands must suit that environment.

Omitting --project on mutations changes camp-wide defaults. Omitting the project name from show-workflow displays global defaults, even inside a project. prune and prune_remote settings are camp-wide; do not change them incidentally. camp fresh configure --project <project-name> is the interactive editor for humans. camp fresh --no-follow-up skips all follow-ups for one run without changing config; camp fresh --dry-run previews the cycle and commands without executing them. Only run either when the user also requested a cleanup/preview.

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.