setup-development
Prepare an Agentty checkout for development, install the toolchain and check runner, configure the shared build cache and parallelism, and reproduce CI tooling.
by agentty-xyz★ 46 GitHub stars
Install setup-development in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
Set Up Development
Use this skill when preparing a fresh checkout or worktree, when a hook fails because a
tool is missing, or when reproducing CI tooling. README.md documents public runtime
prerequisites and backend authentication; this skill covers contributor tooling only.
Install the Toolchain
Install Rust through Rustup with the toolchain pinned in
rust-toolchain.toml, plus the formatter, linter, and coverage components:rustup toolchain install --profile minimal --no-self-update rustup component add clippy rustfmt llvm-tools-previewInstall
uvusing its official installation guide, then the check runner and Rust test tools:uv tool install prek prek install -f cargo install cargo-llvm-cov cargo install cargo-nextest --lockedUse
cargo-nextest0.9.115 or newer, enforced by.config/nextest.toml, so the local profile inherits CI's resource limits and timeouts.prek install -finstalls the fastpre-commitchecks; CI runs the full validation gates.Install Bun, the repository's JavaScript runtime for hooks and scripts, at the version
.github/actions/setup-rust-prek/action.ymlpins, using its official installation guide.Launch the application from the workspace with
cargo run -p agentty --bin agentty.
Tooling for Specific Hooks
Coverage: the coverage hook needs both Cargo subcommands. It also runs the native
ag-harnesssandbox qualification, which fails closed without enforcement: Linux hosts need Bubblewrap at/usr/bin/bwrapwith unprivileged user namespaces, as CI provisions in.github/actions/setup-native-sandbox/action.yml. Consult.github/actions/setup-rust-prek/action.ymlwhen reproducing CI tooling.Published-crate checks: the
cargo-semver-checkshook needscargo-semver-checksat the version.github/actions/setup-rust-prek/action.ymlpins, for examplecargo install cargo-semver-checks --version <pinned version> --locked; a newer nightly can require a newer release to read its rustdoc JSON.Public API snapshots: the
public-apihook needscargo-public-apiat the version.github/actions/setup-rust-prek/action.ymlpins, installed the same way.ag-releasetests: its npm package tests install and run the package with Node.js 18 or newer andnpm, which GitHub-hosted runners provide.Timing collector: changes under
.github/actions/test-timing/or to the hook catalog also runtest-timing-actionon Bun. In CI, the JavaScript action itself runs on the runner's Node.js 24, also inside E2E jobs. This is a repository tooling requirement, not an application runtime dependency.Website: install Zola before running the
zola-checkhook or previewingdocs/site/:zola --root docs/site serveThe local preview uses the production PostHog project from
docs/site/config.toml, so local visits send real events; exclude them in PostHog by filtering on$host. Session replay starts only after allowing analytics and requires Session Replay to be enabled in the PostHog project's settings.Design gallery: changes to
design/or the docs site's styles, templates, or scripts run thedesign-galleryhook, which needs Zola, Bun, and a Chromium-based browser: Google Chrome or Chromium in its usual install path, a headless shell that Playwright installed, or any of them named byCHROME_PATH. Changes to the gallery check itself rundesign-gallery-check-teston Bun. GitHub-hosted runners provide Chrome, the workflow installs Zola, and the setup action installs Bun.Feature recording: intentional recording also needs a running Podman environment; follow
skills/refresh-feature-recordings/references/recording.mdfor the canonical container workflow.
Build Cache and Parallelism
Install sccache 0.20.1 or newer to share compiled crates across worktrees:
cargo install sccache --locked
The Cargo wrapper, .cargo/rustc-wrapper.sh, uses sccache when its server is
available and otherwise invokes the compiler directly. It also retries directly when
sccache returns status 254, such as when its server retains a deleted temporary
directory, and preserves other exit statuses. Keep the wrapper enabled for routine and
agent sessions; set RUSTC_WRAPPER= only to diagnose the cache itself.
Worktrees keep separate target/ directories and share compilations through the cache.
A fresh worktree takes its dependencies and unchanged workspace crates from it and
compiles only what sccache never stores: procedural macros, build scripts, and linked
binaries. Three parts make a result reusable from another checkout root:
- Registered roots: the
sccacheserver shares results between the checkout roots it listed as base directories when it started. The
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the setup-development skill do?
Prepare an Agentty checkout for development, install the toolchain and check runner, configure the shared build cache and parallelism, and reproduce CI tooling.
How do I install the setup-development skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the setup-development skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
ci-review
AnthropicThe scan that the plugin's GitHub Action runs.
azure-static-web-apps
GitHubHelps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
ai-ready
GitHubMake any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
aws-cdk-python-setup
GitHubSetup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…