skills/write/SKILL.md
Create or replace a file with given content. Use whenever producing source code, configs, scaffolded projects, documents, HTML/markdown pages, or any artifact longer than a few lines — files belong on disk, not pasted into the chat. Wholesale write; overwrites if exists.
npx skillsauth add bishwashere/cowcode WriteInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Creates or replaces a file wholesale. New file: done. Existing file: overwritten. Surgical swap.
Call run_skill with skill: "write". Set command or arguments.action to write.
Use this whenever your output would be a file-worthy artifact — source code, a multi-file project, a config, a document, an HTML or markdown page, or any block longer than a few lines. Save it to disk, then reply with the path(s) and one short sentence on what was created and how to run/open it. Do not paste the artifact into the chat.
Also use when the user says things like:
One path, one content. No partial updates - use the edit skill for find-and-replace.
write_file
description: Create or overwrite a file with the given content.
parameters:
path: string
content: string
tools
Policy-gated command execution for package managers, project generators, build/test scripts, dev servers, and one-off CLIs. Disabled by default; add "exec" to skills.enabled to expose it. Prefer go-read/go-write for stable filesystem primitives.
data-ai
Plain HTTP fetch (GET/POST/etc.) for JSON or text endpoints, including localhost / LAN / Pasture's own dashboard. Use this instead of browse for non-rendered URLs.
testing
Bridge conversation to dashboard Projects and Missions — list configured projects, register new ones with setup details, health-check, propose tasks, create missions after user approval, log progress, and update task status. Use when the user wants to work on, track, or manage a project.
documentation
GitHub integration. Read repos, list/read issues and PRs, create branches, post comments, create PRs. Requires GitHub token in ~/.pasture/secrets.json or GITHUB_TOKEN env var.