netlify
Use the Netlify CLI (netlify) to create/link Netlify sites and set up CI/CD (continuous deployment) from GitHub, especially for monorepos (multiple sites in one repo like Hugo sites under sites/<domain>). Use when Avery asks to deploy a new site, connect a repo to Netlify, configure build/publish settings, set environment variables, enable deploy previews, or automate Netlify site creation.
- License 许可
- MIT
- 最近更新
- 2026-06-07
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- netlify
- description
- Use the Netlify CLI (netlify) to create/link Netlify sites and set up CI/CD (continuous deployment) from GitHub, especially for monorepos (multiple sites in one repo like Hugo sites under sites/<domain>). Use when Avery asks to deploy a new site, connect a repo to Netlify, configure build/publish settings, set environment variables, enable deploy previews, or automate Netlify site creation.
03 SKILL.md 正文
netlify
Use the netlify CLI to create projects (“sites”), link local folders, and configure CI/CD from GitHub.
Pre-reqs
netlify --version- Logged in (
netlify login) or provide--auth $NETLIFY_AUTH_TOKEN. - Know the Netlify team/account slug you want to create sites under (optional but recommended).
Helpful checks:
netlify status
netlify sites:list
Monorepo pattern (recommended)
For one repo with multiple sites (e.g. sites/seattlecustomboatparts.com, sites/floridacustomerboatparts.com):
- Create one Netlify site per domain.
- Set the site’s Base directory to that subfolder.
- Put a
netlify.tomlinside that subfolder.
This keeps each domain’s build config self-contained.
Hugo subfolder netlify.toml
Create sites/<domain>/netlify.toml:
[build]
command = "hugo --minify"
publish = "public"
[build.environment]
HUGO_VERSION = "0.155.1"
(Adjust HUGO_VERSION as needed.)
Fast workflow: create + link + init CI/CD
1) Create a Netlify site (project)
Run inside the site folder you want to deploy (base dir):
cd sites/<domain>
netlify sites:create --name <netlify-site-name> --account-slug <team> --with-ci
Notes:
--with-cistarts CI hooks setup.- If you need manual control, add
--manual.
2) Link local folder to the created site
If not linked already:
netlify link
3) Connect to GitHub for continuous deployment
netlify init
This is usually interactive (select Git remote/repo + build settings). For automation we can pre-create netlify.toml and then accept defaults.
Environment variables
Set per-site vars:
netlify env:set VAR_NAME value
netlify env:list
Useful for monorepos:
CONTACT_EMAIL(or other shared config)
Deploy
Manual deploys (handy for quick preview):
netlify deploy # draft deploy
netlify deploy --prod # production deploy
Included scripts
scripts/hugo_netlify_toml.sh: create anetlify.tomlin a Hugo subfolderscripts/netlify_monorepo_site.sh: helper to create/link/init a site for a subfolder
When using scripts, prefer passing NETLIFY_AUTH_TOKEN via env for non-interactive runs.
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
ceaser
Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir/UltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).
ceaser-send
Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir/UltraHonk zero-knowledge proofs.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
moldium
Post and manage content on the Moldium blog platform. Triggered by "post to Moldium", "write a blog post", "publish an article", etc.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http://weakaccept.top:8000/.