agent-browser
Browser automation CLI for AI agents. Use when needs to interact with websites, including navigating pages, filling forms,…
Use this when setting up a fresh new project.
$ npx -y skills add archibate/dotfiles-opencode --skill setup-fresh-project --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/setup-fresh-projectContext preview
The summary Claude sees to decide when to auto-load this skill.
Use this when setting up a fresh new project.
name: setup-fresh-project
description: |
Use this when setting up a fresh new project.Use this skill when you are starting to write code in a fresh project.
1. Check if already initialized with git -> not yet? run `git init`. 2. Create a `.gitignore` suitable for tech stack of choices (e.g. `__pycache__` for Python, `node_modules` for Node). 3. Create style and formatting configurations (e.g. `.stylua.toml` for Lua, `pyproject.toml` + Ruff for Python). Default to 4 spaces for tab. 4. Make sure basic tools required are available in system (e.g. `stylua`, `npm`, `uv`). If not, explicitly ask the user to install. 5. Set up LSP configurations for OpenCode.
Ask user for tech stack choices. Offer default choices:
Prefer `uv` (with `venv`) and `ruff`.
If you are using `venv`, to prevent LSP errors about 'package not found', create `pyrightconfig.json` with content:
{
"venvPath": ".",
"venv": ".venv"
}Prefer `biome` and `npm` (or `bun`).
Prefer `stylua`.
If the Lua project is used as a NeoVim configuration or plugin:
Create a `.luarc.json` with content:
{
"runtime.version": "LuaJIT",
"runtime.path": [
"lua/?.lua",
"lua/?/init.lua"
],
"diagnostics.globals": ["vim"],
"workspace.checkThirdParty": false,
"workspace.library": [
"$VIMRUNTIME"
]
}Prefer `clang`, `cmake` and `clang-format`.
Make sure to use `cmake -B build -DCMAKE_EXPORT_COMPILE_COMMANDS=ON` when build (or add `set(CMAKE_EXPORT_COMPILE_COMMANDS ON)` to `CMakeLists.txt`). This will create `build/compile_commands.json`, for `clangd` to not reporting false positive errors about include header missing.
Follow industry best pratice of project folder structure most suitable the tech stack.
e.g.:
A `.gitignore` and `README.md` is always required for all projects.
Main documentation resides in `README.md`. With a simple and clear introduction on how to use this project, including but not limited to the following perspectives:
`README.md` must be presented in a clear, structured markdown format. No placeholders.
`README.md` focus on big-picture. Optionally create `.md` under `docs/` for more detailed documentation and refer them in `README.md`.
If this is to be a public project (potentially upload to github), not for personal use:
小彭老师现在改用claude code的开源替代opencode,满足了开源人士旺盛的定制需求x(其实opencode中也可以继续用claude的闭源模型,只是换成了开源的opencode客户端) 安装方法:SETUP.md
Browser automation CLI for AI agents. Use when needs to interact with websites, including navigating pages, filling forms,…
Review common AI slops of defensive programming patterns, avoid silent errors. TRIGGER when reviewing code for defensive…
Guide for writing ast-grep rules to perform structural code search and analysis. This skill should be used when users need to…
Best practices for AI-driven English-to-Chinese translation. This skill should be used when the user asks to "translate to…
This skill should be used when the user asks to "use bilibili API", "download bilibili video", "get bilibili user info", "list…
Interact with local Chrome browser session (only on explicit user approval after being asked to inspect, debug, or interact with…