Skip to content

About

A cross-platform frontend kit for Codex, Claude Code, Cursor, OpenCode, etc. It helps AI coding agents work predictably and safely with existing frontend projects.

Topics

Resources

Security policy

Stars

7 stars

Watchers

0 watching

Forks

Latest commit

 

History

605 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebDev Agent Kit

WebDev Agent Kit

Rules and skills for frontend work in Codex, Claude Code, and Cursor.

Skills: 23 License: Apache-2.0

WebDev Agent Kit gives your coding agent instructions for working with an existing project: where to look, how to plan a change, what to preserve, and what to check. You keep using your usual client and model. The Kit is a collection of instructions and helper scripts, not a separate coding app.

Contents

What it does

The Kit tells the agent to:

  • follow the project's existing architecture, components and styles;
  • keep a small fix small;
  • check source code and configuration before making assumptions;
  • ask before installing dependencies or doing work outside your request;
  • run checks relevant to the change and report failures or checks it could not run.

Its stack-specific rules cover React, Next.js, TypeScript and CSS Modules, plus Redux, TanStack and Axios when the project already uses them. Planning, code review and screenshot analysis can also apply to other stacks.

These instructions help define expected behavior. They cannot guarantee that a model will follow every rule or produce correct code.

Install

Choose the guide for your client. Download links in the guides point to the latest published release; an open release PR may contain newer changes.

Client How it is installed Guide
Codex Files in the project's .agents/ directory Codex
Claude Code Plugin installed through a local marketplace Claude Code
Cursor .agents/ directory and a Cursor rule Cursor
VS Code — Codex Same package layout as Codex VS Code Codex
VS Code — Claude Same plugin as Claude Code VS Code Claude
OpenCode on Windows Installer using the Codex bundle and a recorder plugin OpenCode

Each release provides SHA256SUMS so you can check downloaded files. For an existing installation, follow upgrade and rollback to preserve project context, settings and local changes.

Installation recordings are available in the Cursor and VS Code Codex guides.

Choose models and tools

The model and capability guide compares starting choices from OpenAI, Anthropic and Google. It explains what you need for MCP, hooks, browser control, Computer Use, search, image analysis and subagents.

A model and its tools are separate choices. A model that understands screenshots still needs a client that can take screenshots and perform actions. Installing the Kit does not install or enable those tools.

For common integrations, see the MCP setup guide. MCP (Model Context Protocol) lets an agent use tools provided by another service. You do not need an MCP server when your client already provides the required tool.

Adapt it to your project

For Codex or Cursor, open the project root and send:

Adapt this .agents kit to my project and create AGENTS.md in the root.
Preserve existing project instructions, settings, caches and saved experience.

For Claude Code, use the plugin adaptation guide.

During adaptation, the agent checks the stack, project paths, styles, commands and available tools. It saves those facts in .agents/project/ for future tasks. If existing project instructions need to be merged, it shows the proposed change. Adaptation does not create application code or install libraries and MCP servers.

You can also select a frontend or designer role for the conversation. This changes the task focus; it does not select a model.

Full Codex adaptation includes setup of missing local subagent roles when the client supports them. To exclude that step, say:

Update project facts only. Do not change model configuration.

Experience recording is a separate choice. Adaptation preserves an existing opt-in or opt-out and asks if the choice is unknown. Adding a sync repository does not, by itself, enable recording. See project context and memory.

Check the setup

Ask:

Verify the WebDev Agent Kit installation without changing it.
Report the client, Kit version, project stack, loaded skills and available tools.
For hooks and subagents, distinguish configured settings from an observed run.
List anything you could not verify.

A file on disk or a green connection indicator does not prove that a tool works. The agent should say which checks it actually ran. For example, without a browser it can review source code, but cannot confirm how the page renders.

Project context and memory

The Kit stores two kinds of information locally:

  • Project context: paths, conventions, commands and tool settings in .agents/project/. This helps the agent find relevant files in later tasks.
  • Experience records: optional saved task context, findings, corrections and proposed lessons. Records belong to a project and do not change model weights.

To refresh project context after changes, ask:

Update the project context after these changes.

Cached facts must be checked against current code when they become outdated. They can reduce repeated searches; the Kit does not promise a fixed token saving.

Experience capture is off by default. Hooks are client event handlers that record prompts, tool results and responses when capture is enabled. Installing them, enabling recording and approving them in the client are separate steps. Actual events are needed to confirm that recording works.

During adaptation, you can provide a private GitHub repository for manual exchange of structured records. Full conversations and attachments are not uploaded by that exchange. Sync happens only when requested. See the recording setup and project memory reference for details.

Subagents

Subagents handle a specific part of a task, such as a file lookup or code review. Small tasks can stay with the main agent.

Claude Code includes nine roles for lookup, implementation, debugging, architecture and review. They inherit your selected model unless you configure supported overrides. See Claude roles.

Codex adaptation selects role models from those available in your client and preserves existing working settings. Writing a role file is only setup; a real invocation confirms whether the client loads it and uses the expected model. See Codex model routing.

Example requests

Small edit: “Center the Retry button below the error text.” The agent should make the local change and check the affected files.

Bugfix: “The dashboard is blank on mobile. Reproduce the problem and fix it.” See bugfix, refactor and review examples.

Build from a screenshot: “Implement this pricing page in the existing app. Match the supplied desktop and mobile screenshots.” See the screenshot example.

Report a Kit problem: “Create an issue in the WebDev repository for this bug.” The agent checks for duplicates and prepares a report with relevant context and verification results. It needs an authenticated GitHub tool to publish the issue.

Skills

The release candidate contains 23 skills. These are the main groups:

Task Skills
Set up or update the Kit project-onboarding-adapter, webdev-kit-updater
Keep project context current project-context-adapter, pattern-library-manager
Plan work goal-planner, execution-plan-manager, loop-workflow-planner
Understand and explore a design design-screenshot-spec, frontend-design-intelligence, frontend-design-director, frontend-prototype-explorer
Build an interface frontend-architecture-planner, greenfield-project-builder, frontend-layout-implementer
Fix or refactor code frontend-bugfix-debugger, frontend-refactor-surgeon
Check code and UI frontend-linter-manager, frontend-visual-qa, frontend-quality-reviewer
Configure tools mcp-toolchain-manager
Maintain Kit instructions agent-rules-skill-author
Save experience or report feedback agent-self-improvement, webdev-feedback

The design-system pilot is an optional experiment for comparing components and tokens in a real project. It does not automatically synchronize Figma and code.

Repository layout

Path Contents
AGENTS.md, common/ Shared agent instructions
profiles/, adapters/ Stack and client differences
skills/ Task instructions and helper scripts
agents/claude-code/ Claude subagent definitions
templates/ Reusable plans and project records
schemas/, evals/ Data formats and evaluation cases
scripts/ Validation, build and release tools
docs/ User and maintainer guides

bundle-manifest.json defines package contents. Build output goes to dist/. Project-specific facts stay in the installed project's .agents/project/ and are not included in shared release packages.

Checks for maintainers

python scripts/validate_skill_pack.py

This runs the source, package and archive checks. CI also runs Markdown, YAML and Python lint. See Maintenance for checks by change type.

Support and license

Start with the documentation index or support guide. The project owner manages development and releases. Plans are in the roadmap; private vulnerability reporting is in Security.

Licensed under Apache-2.0.

About

A cross-platform frontend kit for Codex, Claude Code, Cursor, OpenCode, etc. It helps AI coding agents work predictably and safely with existing frontend projects.

Topics

Resources

Security policy

Stars

7 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages