Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计提醒

cspellcspell 搜索

Agent Skill

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

总安装

240

周安装

10

GitHub Stars

公开资料未说明

下载量

80
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/vdustr/vp-claude-code-marketplace --skill cspell

简介

用于处理拼写检查警告,提供窄化修复策略和配置引导。

  • 支持将单词分类为临时或项目级,优先使用内联指令减少全局影响。
  • 可自动引导缺失的 cspell 配置文件,适配不同项目结构。
  • 安装命令:npx skills add https://github.com/vdustr/vp-claude-code-marketplace --skill cspell
  • cspell 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

cspell

Prioritized strategy for handling cspell unknown word warnings. Classify each flagged word, pick the narrowest fix, and optionally bootstrap cspell config for projects that don't have it yet.

Core Principles

  1. Config Check First — Verify repo has cspell config before any action; offer bootstrap if missing
  2. Adjust Text Before Adding to Dictionary — Restructure words (hyphenate, camelCase) when safe
  3. Narrowest Scope Wins — Inline directive for one-off words; project dictionary for recurring terms
Documentation: Fetch cspell syntax and config details via Context7 (/streetsidesoftware/cspell) at runtime; never rely on hardcoded syntax.

When to Use

  • cspell flags an unknown word (IDE diagnostic or CI output)
  • User asks to fix cspell warnings, add words to dictionary, or suppress cspell errors
  • User wants to set up cspell in a project that doesn't have it
  • User asks why a word is flagged or wants to understand cspell behavior
  • Linting pipeline or pre-commit hook fails due to unrecognized words

When NOT to use: For non-cspell spell checkers (typo, codespell, Vale, textlint). For other linting tools (ESLint, markdownlint), use their respective strategies.

Workflow

  1. Check for cspell config — Search from the file's directory upward for cspell config files: package.json (cspell field), .cspell.json, cspell.json, cspell.config.{json,mjs,js,cjs,yaml,yml,toml}, cspell.{yaml,yml}, and their ./.config/ prefixed variants (e.g., .cspell.config.yaml, .config/cspell.json). Also check .vscode/cspell.json. If none found: notify user, do NOT auto-fix, offer to bootstrap (see below). Note: cspell.* settings in .vscode/settings.json are IDE-local and do not count as project config.
  2. Apply fix priority — Stop at the first applicable level (see table below).
  3. Select directive — When using inline directives, consult decision-tree.md for the selection guide.

Fix Priority

PriorityStrategyWhen to Use
1Adjust textCompound word cspell doesn't recognize; restructuring is safe (hyphenate, camelCase). See decision-tree.md for the full exception list
2Project dictionaryWord appears in 2+ files or is expected to recur project-wide
3Inline directiveOne-off word in a single file/location. See decision-tree.md for directive selection and placement

Config Bootstrapping

When a repo has no cspell config and the user wants to add one, guide through an interactive Q&A flow.

See config-bootstrapping.md for the full interactive setup flow.

Guidelines

DO

  • Check repo config before any action
  • Prefer text adjustment over dictionary pollution
  • Use narrowest scope directive that fits
  • Place cspell:words at file top for discoverability
  • Verify the flagged word is genuinely unknown (not a missing dictionary)

DON'T

  • Replace words with semantically different alternatives
  • Add one-off words to project dictionary (use inline directives)
  • Use cspell:disable to suppress large sections when individual words can be handled
  • Blindly accept all cspell suggestions — some flagged words are correct
  • Hyphenate or restructure runtime API identifiers, package names, or fixed external terms

Error Handling

ErrorAction
No write permission to configNotify user, suggest manual edit path
Excessive cspell. outputScope to source directory, configure ignorePaths first
Context7 unavailableFall back to cspell.org or cspell init --help
For bootstrapping-specific errors (cspell CLI not installed, cspell init fails), see config-bootstrapping.md.

Reference Files

  • decision-tree.md — Full decision flowchart, text adjustment rules and exceptions, dictionary vs inline criteria, directive selection, edge cases
  • config-bootstrapping.md — Interactive setup flow, stack detection, CI integration, post-init adjustments

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.91%
按下载量换算28

Claude

30.51%
按下载量换算24

Cursor

19.89%
按下载量换算16

Gemini CLI

9.61%
按下载量换算8

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

可疑

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills