agent-rules-skill-auth…
Maintain WebDev Agent Kit source rules, skills, metadata, and validators. Excludes upgrading installed copies.
Run scoped frontend lint verification, repair related lint failures, or plan explicitly requested lint setup. Prefer existing commands; dependencies, scripts, and config changes require approval.
Claude Code
$ npx -y skills add ytvee-dev/webdev-agent-kit --skill frontend-linter-manager --agent claude-code
Codex
$ npx skills add ytvee-dev/webdev-agent-kit --skill frontend-linter-manager -a codex -y
Cursor
$ npx skills add ytvee-dev/webdev-agent-kit --skill frontend-linter-manager -a cursor -y
Gemini CLI
$ npx skills add ytvee-dev/webdev-agent-kit --skill frontend-linter-manager -a gemini-cli -y
GitHub Copilot
$ npx skills add ytvee-dev/webdev-agent-kit --skill frontend-linter-manager -a github-copilot -y
OpenCode
$ npx skills add ytvee-dev/webdev-agent-kit --skill frontend-linter-manager -a opencode -y
Windsurf
$ npx skills add ytvee-dev/webdev-agent-kit --skill frontend-linter-manager -a windsurf -y
name: frontend-linter-manager
description: 'Run scoped frontend lint verification, repair related lint failures, or plan explicitly requested lint setup. Prefer existing commands; dependencies, scripts, and config changes require approval.'
id: 'agents.skills.frontend-linter-manager.skill'
title: 'Frontend Linter Manager'
doc_type: 'skill'
layer: 'skill'
status: 'active'
publishable: true
local_only: false
skill: 'frontend-linter-manager'
tags:
- 'agents/skill-package'
- 'agents/quality'
- 'workflow/lint'
parent:
- '[[AGENTS|Canonical Agent Policy]]'
related:
- '[[common/prompt-intent-routing-rules|Prompt Intent Routing Rules]]'
- '[[common/agent-loop-policy|Agent Loop Policy]]'
- '[[common/bounded-retry-rules|Bounded Retry Rules]]'
- '[[common/verification-loop-rules|Verification Loop Rules]]'
- '[[common/lint-verification-rules|Lint Verification Rules]]'
- '[[common/windows-shell-sandbox-rules|Windows Shell Sandbox Rules]]'
- '[[skills/mcp-toolchain-manager/SKILL|MCP Toolchain Manager]]'
- '[[skills/frontend-quality-reviewer/SKILL|Frontend Quality Reviewer]]'
depends_on:
- '[[AGENTS|Canonical Agent Policy]]'Run or plan lint verification for frontend code changes, repair related lint failures within a bounded loop, and manage user-requested lint setup safely.
Use this skill after any code-changing fix, feature, refactor, implementation slice, or approved greenfield code creation.
Use it before code changes only when the user explicitly asks to add or repair lint setup.
Do not use this skill for planning-only, design-only, documentation-only, README-only, or analysis-only tasks. Do not treat lint setup as a testing workflow.
1. Read `AGENTS.md`. 2. Read package scripts or `project/verification-profile.md` to find existing lint commands. 3. Read `common/lint-verification-rules.md` and `common/windows-shell-sandbox-rules.md` before rerunning a command that failed because of Windows shell policy or sandbox access. 4. Read `common/verification-loop-rules.md` and `common/bounded-retry-rules.md` when lint repair is in scope. 5. Read only files needed to understand the package manager or workspace boundary.
1. Detect the smallest relevant existing lint command. 2. Run that command after the code change. 3. If the command is blocked by Windows PowerShell `.ps1` policy, retry once with the equivalent `.cmd` package-manager command when available. 4. If lint passes, record command and result. 5. If lint fails, classify failures as related, likely pre-existing, unrelated environment issue, shell-blocked, sandbox-blocked, or unknown. 6. If lint fails because of the current change, fix it when safe and in scope. 7. Rerun the same lint command after related fixes. 8. Use bounded retry rules when multiple related lint repair attempts are needed. 9. Do not switch to an easier command just to claim success. 10. Do not keep rerunning lint after the same shell or sandbox blocker repeats; report the blocker and verification impact. 11. Report lint command, fallback command when used, result, attempt count, and unresolved lint issues. 12. If no lint command exists, report that lint was not run. 13. If the user asks for lint setup, propose a setup plan first and wait for approval.
When the user asks to add the provided lint rules, use the uploaded flat ESLint model as the preferred source pattern.
The model includes TypeScript type-checked rules, React rules, React Hooks rules, JSX accessibility rules, SonarJS rules, Prettier compatibility, ignore rules, optional strict presets, and a format-lint-fix helper.
Adapt the model to the host project after inspecting the existing package manager, framework, TypeScript usage, React usage, formatter or linter config, workspace layout, and scripts.
Final response: return only facts that affect the user's understanding, confidence, or next action. Omit empty fields and workflow narration.
Lint command run: Lint result: Fallback command: Attempts: Related failures fixed: Unresolved lint issues: Blocked checks:
If lint was not run, include the reason and impact.
Should trigger:
Should not trigger:
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.
Maintain WebDev Agent Kit source rules, skills, metadata, and validators. Excludes upgrading installed copies.
Project memory: remember this mistake, save for learning, запиши себе в базу, сохрани для обучения, запомни эту ошибку. Requested…
Inspect Figma links through MCP or browser computer use, or analyze screenshots and selected-layer properties. Produce frontend…
Create, resume, analyze, or converge standard and deep frontend execution plans with traceable slices, evidence, and stop/resume…
Plan architecture and ownership for standard or deep React/Next.js work across routing, state, data, styling, forms, builds,…
Diagnose and fix frontend defects from evidence, including unclear UI/runtime errors, broken routes, styling regressions, and…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.