lint

GitHub

用于对 CoreAI 应用进行类型检查和代码 lint,执行 TypeScript 类型检查及 ESLint 扫描,修复相关错误并验证结果。

starters/coreai/.agents/skills/lint/SKILL.md github/replica

Trigger Scenarios

用户要求 'lint' 用户要求 'fix lint' 用户要求 'run the linters' 用户要求 'check types' 代码变更后需要验证

Install

npx skills add github/replica --skill lint -g -y
More Options

Non-standard path

npx skills add https://github.com/github/replica/tree/main/starters/coreai/.agents/skills/lint -g -y

Use without installing

npx skills use github/replica@lint

指定 Agent (Claude Code)

npx skills add github/replica --skill lint -a claude-code -g -y

安装 repo 全部 skill

npx skills add github/replica --all -g -y

预览 repo 内 skill

npx skills add github/replica --list

SKILL.md

Frontmatter
{
    "name": "lint",
    "description": "Type-check and lint the CoreAI app. USE WHEN: the user asks to \"lint\", \"fix lint\", \"run the linters\", \"check types\", or after making code changes that need verification."
}

Lint the Codebase

Run checks from this app's directory. Fix errors caused by or directly related to the current task and report unrelated failures.

  1. npm run type-check — Generate React Router types and check TypeScript.
  2. npm run lint — Run ESLint. If editing components, invoke the react-components skill for guidance.

After fixing errors, rerun the affected command and inspect its result before claiming success. For CSS changes, follow the css-styling skill; these commands do not lint CSS.

Related skills

  • css-styling — required reading when fixing CSS warnings.
  • react-components — required reading when fixing TSX warnings.

Version History

  • f19c050 Current 2026-11-07 08:51

Same Skill Collection

.github/extensions/replica-prototype/skills/replica-pick-and-polish/SKILL.md
.github/extensions/replica-prototype/skills/replica-publish-prototype/SKILL.md
.github/extensions/replica-prototype/skills/review-hub-feedback/SKILL.md
.github/skills/code-review/SKILL.md
.github/skills/write-tests/SKILL.md
starters/coreai/.agents/skills/coreai-ds-fluentui-react/SKILL.md
starters/coreai/.agents/skills/css-styling/SKILL.md
starters/coreai/.agents/skills/icons/SKILL.md
starters/coreai/.agents/skills/interpreting-html/SKILL.md
starters/coreai/.agents/skills/new-variant/SKILL.md
starters/coreai/.agents/skills/react-components/SKILL.md
starters/coreai/.agents/skills/routing/SKILL.md
starters/coreai/.agents/skills/start-app/SKILL.md
starters/coreai/.agents/skills/state-management/SKILL.md
starters/shared/.agents/context-templates/SKILL.md
starters/shared/.agents/skills/accessibility-audit/SKILL.md
starters/shared/.agents/skills/add-seed-data/SKILL.md
starters/shared/.agents/skills/agent-browser/SKILL.md
starters/shared/.agents/skills/browser-canvas-validation/SKILL.md
starters/shared/.agents/skills/component-design-system-review/SKILL.md
starters/shared/.agents/skills/create-prototype/SKILL.md
starters/shared/.agents/skills/developer-handoff/SKILL.md
starters/shared/.agents/skills/prepare-feedback-proposals/SKILL.md
starters/shared/.agents/skills/product-design/SKILL.md
starters/shared/.agents/skills/prototype-controls/SKILL.md
starters/shared/.agents/skills/responsive-audit/SKILL.md
starters/shared/.agents/skills/review-hub-feedback/SKILL.md
starters/shared/.agents/skills/setup-skills/SKILL.md
starters/shared/.agents/skills/visual-design-review/SKILL.md
starters/coreai/.agents/skills/features-variants/SKILL.md

Metadata

Files
0
Version
f19c050
Hash
7023d063
Indexed
2026-11-07 08:51

trang chủ - Wiki
Copyright © 2011-2026 iteam. Current version is 2.156.0. UTC+08:00, 2026-11-07 09:36
浙ICP备14020137号-1