pitchfork-dev-servers
Skill1 starsChanged 56 days agoApache-2.0View on GitHub
Manage long-running local dev servers by precedence - the project's own AGENTS.md workflow first, framework-native background mode next, then pitchfork as the fallback. Use when starting, stopping, restarting, checking, or tailing development servers, background servers, `pitchfork.toml`, pitchfork MCP tools, or local AGENTS/mise tasks that mention pitchfork.
In this repository51 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agentic-workflowsSkill
- asking-questionsSkill
- branch-context-consumerSkill
- broSkill
- browser-accessSkill
- browser-controlSkill
- changeset-scopeSkill
- check-skill-updatesSkill
- chillSkill
- cleanup-unnecessary-variablesSkill
- code-reviewSkill
- decision-modelsSkill
- diagnoseSkill
- effect-principlesSkill
- evidence-firstSkill
- gh-stackSkill
- git-contextSkill
- github-development-rulesetsSkill
- github-repository-setupSkill
- grillingSkill
- handoffSkill
- herdr-workflowsSkill
- home-assistant-frontendSkill
- home-assistant-lazy-contextSkill
- home-assistant-list-componentsSkill
- home-assistant-lit-renderingSkill
- human-step-guideSkill
- import-external-skillSkill
- lit-renderingSkill
- maintain-docsSkill
- opencode-effectSkill
- pkexec-rootSkill
- planSkill
- release-oxlint-rulesSkill
- remove-single-use-functionsSkill
- researchSkill
- retroSkill
- safe-process-signalsSkill
- session-coordinationSkill
- shared-workflowsSkill
- show-meSkill
- skill-prefixesSkill
- staged-implementationSkill
- task-focusSkill
- testingSkill
- to-questionnaireSkill
- types-enforce-tsSkill
- wranglerSkill
- writing-dot-skillsSkill
- writing-styleSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. About 0 are common, 3 are distinctive, and 14 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
14
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
Use this skill when a task involves starting or managing a long-running local server and the repo provides pitchfork.toml, local tasks, MCP …
- Very specific: line 16
Read local AGENTS.md first, especially a ## Background Dev Servers section.
- Very specific: line 17
Check whether the project relies on a framework-native background mode (for example Astro 7+, which self-detaches astro dev under an agent).
- Very specific: line 18
Check for repo-provided pitchfork wrappers: mise tasks, pitchfork.toml, or project-specific task names such as serve:*, dev:*, …
- Very specific: line 19
Check whether pitchfork MCP tools are available for observation and control: pitchfork_status, pitchfork_logs, pitchfork_stop, …
- Very specific: line 20
Check whether the pitchfork CLI is installed before falling back to raw foreground server commands.
- Very specific: line 24
Follow the project's declared workflow first.
- Very specific: line 25
Use framework-native background mode when the project relies on one.
- Very specific: line 26
Use pitchfork as the fallback when the repo ships pitchfork.toml or pitchfork-backed tasks but declares nothing more specific.
- Distinctive: line 27
Use foreground commands only for explicit foreground debugging, one-shot checks, or when the declared workflow is unavailable.
- Very specific: line 28
Do not assume MCP pitchfork_start can start per-repo daemons from any cwd.
- Distinctive: line 29
Use pitchfork MCP status, logs, restart, and stop tools when available once a daemon exists.
- Very specific: line 30
When wrappers stop production resource owners, avoid replacing them with broad process kills.
- Distinctive: line 35
Read local AGENTS.md first for the repo's preferred dev-server commands.
- Very specific: line 36
Use mise tasks when the command name is not obvious.
- Very specific: line 37
If there is no wrapper task but pitchfork.toml exists, run pitchfork directly from the repo directory.
- Very specific: line 39
Treat serve:* as a common local convention, not a requirement.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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.
Files
Pitchfork Dev Servers
Use this skill when a task involves starting or managing a long-running local server and the repo provides pitchfork.toml, local tasks, MCP tooling, or AGENTS guidance mentioning pitchfork.
Pitchfork is the fallback tier, not the default. Follow the project's own declared workflow first, then framework-native background mode, then pitchfork, then foreground for explicit debugging.
Preflight
- Read local
AGENTS.mdfirst, especially a## Background Dev Serverssection. Local repo guidance wins over this global skill. - Check whether the project relies on a framework-native background mode (for example Astro 7+, which self-detaches
astro devunder an agent). If so, that is the declared workflow, not pitchfork. - Check for repo-provided pitchfork wrappers:
mise tasks,pitchfork.toml, or project-specific task names such asserve:*,dev:*,background:*, or aliases documented locally. - Check whether pitchfork MCP tools are available for observation and control:
pitchfork_status,pitchfork_logs,pitchfork_stop,pitchfork_restart,pitchfork_start. - Check whether the
pitchforkCLI is installed before falling back to raw foreground server commands.
Rules
- Follow the project's declared workflow first. Read local
AGENTS.md, project skills, and repo tasks; local guidance wins. Do not invent a naming convention when the repo has one. - Use framework-native background mode when the project relies on one. Astro 7+ self-detaches
astro devunder an agent (.astro/dev.jsonlock;astro dev status|logs|stop;/_astro/status); use that instead of pitchfork. - Use pitchfork as the fallback when the repo ships
pitchfork.tomlor pitchfork-backed tasks but declares nothing more specific. Preferserve:*tasks over foregroundrun:*,dev, or raw server commands. - Use foreground commands only for explicit foreground debugging, one-shot checks, or when the declared workflow is unavailable.
- Do not assume MCP
pitchfork_startcan start per-repo daemons from any cwd. If start fails with no matching daemon, run the repo's local pitchfork-backed task from that repo directory. - Use pitchfork MCP status, logs, restart, and stop tools when available once a daemon exists. Otherwise use the matching CLI commands.
- When wrappers stop production resource owners, avoid replacing them with broad process kills. Prefer resource-targeted commands like
fuser <port>/tcporfuser <socket>. - OpenCode's
pitchfork-dev-server-guardplugin enforces the pitchfork tier only: in repos that declarepitchfork.tomlit redirects known foreground dev-server commands toserve:*orpitchfork startand notes the change. It deliberately ignoresastro dev.
Command Discovery
- Read local
AGENTS.mdfirst for the repo's preferred dev-server commands. - Use
mise taskswhen the command name is not obvious. - If there is no wrapper task but
pitchfork.tomlexists, run pitchfork directly from the repo directory. - Typical operations are
pitchfork start <daemon>,pitchfork status,pitchfork logs -t <daemon>,pitchfork restart <daemon>, andpitchfork stop <daemon>. - Treat
serve:*as a common local convention, not a requirement.
Notes
- Some repos use pitchfork wrappers to stop production services or resource owners before starting dev servers, then restore production when dev exits. Preserve that behaviour.
- Pitchfork is intended to keep agents from blocking on foreground servers. Prefer background start plus logs and status checks over running a server in the agent shell.
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
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.

