Read AGENTS.md.
This file is read by Claude Code on every run. Keep it up to date with your project's conventions.
Always suppress verbose output to keep token usage low.
Redirect stdout to /dev/null for noisy commands and capture only stderr,
or use tail to capture just the last few lines when you need a summary.
# Install dependencies (suppress all output – it's noise)
yarn > /dev/null 2>&1
# Run tests (keep output – failures matter, but cap at last 50 lines)
yarn test packages/{package-name} 2>&1 | tail -50
# Build all changed packages (capture last 30 lines to see result without full log)
yarn build 2>&1 | tail -30
# Build a single package (capture last 30 lines to see result without full log)
yarn build -p @webiny/api-core 2>&1 | tail -30Before each commit, run the following commands:
# Stage all changed files
git add .
# Ensure yarn.lock is up to date
yarn > /dev/null 2>&1
# Update all tsconfig files
node scripts/generateTsConfigsInPackages.js
# Make sure all package.json deps are configured correctly
yarn adio
# Format changed files
yarn format > /dev/null 2>&1
# Run oxlint
yarn lint
# Make sure dependencies are in sync
yarn webiny sync-dependencies
# Stage all changed files (again!)
git add .
If any of the steps fail, and you fix anything, you must rerun all scripts from the beginning.
- Formatting: oxfmt with project defaults (
.oxfmtrc.json) - Linting: Oxlint with project config (
.oxlintrc.json) - Commit style: Conventional Commits (
feat:,fix:,chore:, etc.) - Branch naming:
claude/issue-<number>for Claude-generated branches - PR titles: Mirror the commit style
This project uses the Webiny framework.
A webiny MCP server is available.
When helping with Webiny-related tasks:
- Call
list_webiny_skillsto see available skills. - Call
get_webiny_skillwith the relevant topic before writing code.