Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计通过

lint代码检查

Agent Skill

lint 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

890

周安装

36

GitHub Stars

6

下载量

279
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/duc01226/easyplatform --skill lint

简介

lint 用于代码规范检查与质量问题识别,提升代码可读性与一致性。

  • 适用于多种编程语言项目的静态分析与风格校验需求。
  • 依赖本地代码库结构,需先读取相关文件以理解项目约定。
  • 执行前应评估其对系统资源的占用及潜在的命令执行风险。
  • lint 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

[IMPORTANT] Use TaskCreate to break ALL work into small tasks BEFORE starting — including tasks for each file read. This prevents context loss from long files. For simple tasks, AI MUST ATTENTION ask user whether to skip.

Prerequisites: MUST ATTENTION READ before executing:

Understand Code First — HARD-GATE: Do NOT write, plan, or fix until you READ existing code. 1. Search 3+ similar patterns (grep/glob) — cite file:line evidence 2. Read existing files in target area — understand structure, base classes, conventions 3. Run python.claude/scripts/code_graph trace <file> --direction both --json when .code-graph/graph.db exists 4. Map dependencies via connections or callers_of — know what depends on your target 5. Write investigation to .ai/workspace/analysis/ for non-trivial tasks (3+ files) 6. Re-read analysis file before implementing — never work from memory alone 7. NEVER invent new patterns when existing ones work — match exactly or document deviation BLOCKED until: - [] Read target files - [] Grep 3+ patterns - [] Graph trace (if graph.db exists) - [] Assumptions verified with evidence

Quick Summary

Goal: Run linters (.NET analyzers and/or ESLint/Prettier) and report or auto-fix code quality issues.

Workflow:

  1. Parse — Determine scope from arguments: backend, frontend, or both; fix mode or report-only
  2. Execute — Run dotnet build for.NET analyzers or nx lint / prettier for Angular
  3. Report — Group issues by severity (error/warning/info) with file paths and line numbers

Key Rules:

  • No argument = run both backend + frontend in report-only mode
  • fix argument = apply safe auto-fixes, report remaining manual items
  • Always show file paths and line numbers in output

Be skeptical. Apply critical thinking, sequential thinking. Every claim needs traced proof, confidence percentages (Idea should be more than 80%).

Run linting: $ARGUMENTS

Instructions

  1. Parse arguments:

- backend or be → Run.NET analyzers - frontend or fe → Run ESLint/Prettier - fix → Auto-fix issues where possible - No argument → Run both, report only

  1. For Backend (.NET): dotnet build {SolutionName}.sln /p:TreatWarningsAsErrors=false

- Check for analyzer warnings (CA*, IDE*, etc.) - Report code style violations

  1. For Frontend (Angular/Nx): cd src/{ExampleAppWeb} nx lint playground-text-snippet nx lint {lib-name} With auto-fix: nx lint playground-text-snippet --fix npx prettier --write "apps/**/*.{ts,html,scss}" "libs/**/*.{ts,html,scss}"
  2. Report format:

- Group issues by severity (error, warning, info) - Show file paths and line numbers - Suggest fixes for common issues

  1. Auto-fix behavior:

- If fix argument provided, apply safe auto-fixes - Report what was fixed vs what needs manual attention


Closing Reminders

  • IMPORTANT MUST ATTENTION break work into small todo tasks using TaskCreate BEFORE starting
  • IMPORTANT MUST ATTENTION search codebase for 3+ similar patterns before creating new code
  • IMPORTANT MUST ATTENTION cite file:line evidence for every claim (confidence >80% to act)
  • IMPORTANT MUST ATTENTION add a final review todo task to verify work quality
  • IMPORTANT MUST ATTENTION search 3+ existing patterns and read code BEFORE any modification. Run graph trace when graph.db exists.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

37.98%
按下载量换算106

Claude

30.12%
按下载量换算84

Cursor

17.15%
按下载量换算48

Gemini CLI

9.01%
按下载量换算25

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills