agentleFS
JQ-WCodingJQ-WCoding/devkit/skills/run-app/SKILL.md

run-app

Skill1 starsChanged 11 days agoMITView on GitHub

Starts, checks and stops a repo's app servers (API, web) without an IDE from the repo's .devkit/runtime.json. Use for "서버 띄워줘", "start the API and web", "check it on a running server", "stop the servers", and before screen or API checks. Without the config it offers to write one; never opens tunnels or VPNs.

16 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use release.

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

    release

    Use ONLY when the user explicitly asks to cut/publish a Huabu desktop release or tag a version. Performs an outward action — bumps the version in apps/desktop/package.json, commits + annotated-tags vX.Y.Z, and pushes the branch + tag. That tag push auto-builds the macOS/Windows installers and publishes a GitHub Release. Provides `status`, `bump`, `tag-push`, and a one-command `run` (bump → tag-push).

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 15 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Only the central session or devkit:develop starts servers.

    line 28
  2. Distinctive:

    Never open, close or restart tunnels, VPNs or IDE runs.

    line 29
  3. Very specific:

    Run up in the background when the first build is slow (a Gradle bootRun can take minutes), and wait for its completion notice.

    line 32
  4. Very specific:

    Stop what you started when the check is done (down), unless the user wants it left running.

    line 34

“Common” is measured: kept by at least 6 in 10 of the 15 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

Run the app

The harness script does the work; this skill says when to call it and what to do with the result.

python3 -I "${CLAUDE_PLUGIN_ROOT}/skills/run-app/scripts/runtime.py" --repo <checkout> <command> [args]
CommandUse
preflightCheck prerequisites only (tunnel ports and so on). Starts nothing
up [svc...] [--task <ID>]Preflight, start the services (plus their depends), wait for health, write a runtime run record
status [--json]What this harness started for this checkout: pid, port, health, commit
down [svc...]Stop what the harness started for this checkout and wait for the ports to free
logs <svc> [-n N]Tail a service log

The config format and the per-instance state are in config.md.

Rules

  • Only when <main repo>/.devkit/runtime.json exists. Without it the script refuses: say the repo has not opted in and, unless the repo rules say the developer starts servers, offer to write the config (config.md) from the repo's run docs and build files — no service without evidence for its command and port, secrets only through env_file. Show it, write it after approval, then run status (it reads the config and starts nothing). If the user declines, they start servers themselves.
  • Only the central session or devkit:develop starts servers. Parallel workers never do (their brief forbids it); the central session starts one for a worktree with --repo <worktree> when a screen check needs it (an env_file missing from the worktree is read from the main checkout).
  • Never open, close or restart tunnels, VPNs or IDE runs. A failed preflight is reported with its hint; the user fixes it.
  • A port already in use is never taken over. Report the listener the script names (often the user's IDE run) and ask whether they will stop it or whether to check against that server instead.
  • Pass --task <ID> when working from an analysis doc, so the record lands in that work folder.
  • Run up in the background when the first build is slow (a Gradle bootRun can take minutes), and wait for its completion notice.
  • A running server writes to whatever DB its profile points to. Save and delete checks still need the target and scope approved first.
  • Stop what you started when the check is done (down), unless the user wants it left running; say which ones are still up in the report.

Results

  • Report from the script's output: each service's result line, the URLs, and the last line RUNTIME: PASS / RUNTIME: FAIL (<reason>). Never call a service up unless its line says PASS.
  • On FAIL, quote the reason and the log tail the script printed, and read more with logs <svc> if needed. Do not retry the same up more than once without a change (config, freed port, opened tunnel).
  • The record path printed as record … is the evidence for the run; mention it.

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.