Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问clear审计提醒

ln-740-quality-setupln 740 质量设置

Agent Skill

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

总安装

6,169

周安装

265

GitHub Stars

437

下载量

2,162
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ln-740-quality-setup(ln 740 质量设置)
来源仓库:https://github.com/levnikolaevich/claude-code-skills
仓库路径:skills/ln-740-quality-setup
安装命令:
npx skills add https://github.com/levnikolaevich/claude-code-skills --skill ln-740-quality-setup
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/levnikolaevich/claude-code-skills --skill ln-740-quality-setup

简介

用于辅助前端页面、组件和样式开发。ln-740-quality-setup 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

  • 适合生成 React、Vue 或 Next.js 相关代码并整理组件结构。
  • 使用时需结合项目现有设计系统和路由方式,避免生成孤立片段。
  • 涉及页面改动时应配合本地预览和构建检查确认视觉效果。
  • 建议优先复用项目已有样式和组件规范。

SKILL.md

Paths: File paths (shared/, references/, ../ln-*) are relative to skills repo root. If not found at CWD, locate this SKILL.md directory and go up one level for repo root. If shared/ is missing, fetch files via WebFetch from https://raw.githubusercontent.com/levnikolaevich/claude-code-skills/master/skills/{path}.

ln-740-quality-setup

Type: L2 Domain Coordinator Category: 7XX Project Bootstrap Parent: ln-700-project-bootstrap

Coordinates code quality tooling configuration for the project.


Purpose & Scope

Does:

  • Detects project technology stack (TypeScript/React,.NET, Python)
  • Checks for existing quality configurations
  • Delegates to specialized workers for each quality aspect
  • Verifies final configuration works correctly

Does NOT:

  • Generate configuration files directly (workers do this)
  • Modify source code
  • Run in isolation (requires ln-720 structure first)

When to Use

TriggerAction
After ln-720-structure-migrator completesAutomatic delegation from ln-700
Manual quality setup neededInvoke directly with project path
Existing project needs quality toolsRun with existing config detection

Workflow Overview

PhaseActionOutput
1Stack DetectionIdentified technologies
2Existing Config CheckSkip/merge/replace decisions
3Parallel DelegationWorker invocations
4VerificationWorking quality pipeline

Phase 1: Stack Detection

Detect project technologies to determine which quality tools to configure.

Detection Rules:

File PatternTechnologyLinter Stack
package.json + tsconfig.jsonTypeScript/ReactESLint + Prettier
*.csproj or *.sln.NETeditorconfig + Roslyn
pyproject.toml or requirements.txtPythonRuff
Multiple detectedMixedConfigure all detected

Actions:

  1. Glob for technology indicators
  2. Build technology list
  3. Log detected stack to user

Phase 2: Existing Configuration Check

Before delegating, check what configurations already exist.

Config Files to Check:

TechnologyConfig Files
TypeScripteslint.config.*, .prettierrc*, tsconfig.json
.NET.editorconfig, Directory.Build.props
Pythonruff.toml, pyproject.toml [tool.ruff]
Pre-commit.husky/, .pre-commit-config.yaml
Testsvitest.config.*, pytest.ini, *.Tests.csproj

Decision Matrix:

Existing ConfigActionConfirmation
None foundCreate from templateNo
Exists but incompleteExtend to match templateNo
Exists and matches templateSkipInform user

Completeness Check (Python): evaluate against ln-741's Completeness Check table (7 aspects: Ruff rules, per-file-ignores, advanced settings, MyPy strict, advanced tools, lint script, editorconfig). If ANY aspect is incomplete, delegate to ln-741 with instruction to EXTEND (not replace).


Phase 3: Parallel Delegation

Invoke workers for each quality aspect. Workers can run in parallel as they configure independent tools.

Delegation Order:

ln-740 (this)
    |
    +---> ln-741-linter-configurator
    |         - ESLint/Prettier (TypeScript)
    |         - editorconfig/Roslyn (.NET)
    |         - Ruff (Python)
    |
    +---> ln-742-precommit-setup
    |         - Husky + lint-staged (Node.js)
    |         - pre-commit framework (Python)
    |         - commitlint
    |
    +---> ln-743-test-infrastructure
              - Vitest (TypeScript)
              - xUnit (.NET)
              - pytest (Python)

Pass detected stack and existing configs to workers via direct Skill tool invocation. For Python: instruct ln-741 to apply full quality stack per its Completeness Check table.

Invocations:

Skill(skill: "ln-741-linter-configurator", args: "{projectPath}")
Skill(skill: "ln-742-precommit-setup", args: "{projectPath}")
Skill(skill: "ln-743-test-infrastructure", args: "{projectPath}")

Phase 4: Verification

After all workers complete, verify the quality pipeline works.

Verification Steps:

CheckTypeScriptPython.NET
LintESLintruff checkdotnet format --verify-no-changes
FormatPrettierruff format --checkdotnet format
Type checktsc --noEmitmypyRoslyn (build)
Import boundariesdepcruiselint-imports--
Unused depsknipdeptry--
Dead codeknipvulture--
Vulnerability scannpm auditpip-audit--
Unified scriptbash scripts/lint.shbash scripts/lint.shbash scripts/lint.sh
Testsnpm testpytestdotnet test
HooksCreate test commitCreate test commitCreate test commit

On Failure:

  1. Log specific failure
  2. Suggest fix or re-run specific worker
  3. Do NOT mark as complete until verification passes

Critical Rules

RULE 1: Never overwrite existing user configurations without explicit confirmation.
RULE 2: Workers run AFTER stack detection - do not invoke workers without knowing the stack.
RULE 3: Verification phase is MANDATORY - quality setup is not complete until tools run successfully.
RULE 4: eslint-config-prettier is REQUIRED when both ESLint and Prettier are configured.

TodoWrite format (mandatory):

- Invoke ln-741-linter-configurator (pending)
- Invoke ln-742-precommit-setup (pending)
- Invoke ln-743-test-infrastructure (pending)
- Verify quality pipeline (pending)

Worker Invocation (MANDATORY)

PhaseWorkerContext
3aln-741-linter-configuratorShared (Skill tool) — ESLint/Prettier, editorconfig, Ruff
3bln-742-precommit-setupShared (Skill tool) — Husky, lint-staged, commitlint
3cln-743-test-infrastructureShared (Skill tool) — Vitest, xUnit, pytest

All workers: Invoke via Skill tool — workers see coordinator context.

Definition of Done

  • All detected technology stacks have appropriate quality tools
  • Existing configurations preserved or backed up
  • Lint command runs without errors
  • Format command runs without errors
  • Test command runs and sample tests pass
  • Pre-commit hooks trigger on test commit
  • User informed of all installed tools and commands

Phase 5: Meta-Analysis

MANDATORY READ: Load shared/references/meta_analysis_protocol.md

Skill type: execution-orchestrator. Analyze this session per protocol §7. Output per protocol format.


Reference Files

FilePurpose
stack_detection.mdDetailed detection rules
verification_checklist.mdFull verification checklist

Error Handling

ErrorCauseResolution
No stack detectedEmpty projectAsk user for intended stack
Worker failedMissing dependenciesInstall prerequisites, retry
Verification failedConfig errorCheck specific tool output, fix
Hooks not workingGit not initializedRun git init first

Version: 3.0.0 Last Updated: 2026-03-18

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

29.05%
按下载量换算628

Gemini CLI

24.42%
按下载量换算528

Codex

20.39%
按下载量换算441

OpenCode

12.38%
按下载量换算268

Antigravity

8.07%
按下载量换算174

windsurf

3.97%
按下载量换算86

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills