typescript-best-practices
io.github.trpc/trpc/typescript-best-practices
TypeScript best practices. Use when reading or editing any .ts or .tsx file.
“filesystem file directory fs” 共 604 个结果
io.github.trpc/trpc/typescript-best-practices
TypeScript best practices. Use when reading or editing any .ts or .tsx file.
io.github.penpot/penpot/refactor-scss
Migrate one Penpot SCSS module off the deprecated styles under frontend/resources/styles/common/refactor/ to the current Design System (ds/ tokens, mixins and px2rem). Pure refactor, no visual change. Use when the user asks to refactor, migrate or clean up a .scss file to the DS.
io.github.microsoft/TypeScript/compiler-and-fourslash-tests
如何在 TypeScript 仓库中编写、运行与调试编译器测试及 fourslash(LSP)测试。涵盖测试文件格式、directives、标记、基线管理以及 fourslash 校验 API。
io.github.microsoft/playwright/playwright-triage
根据 bug 报告中提供的信息复现并分诊 Playwright issue。当被要求分诊、复现或验证 GitHub issue(新的 bug 报告,或已有报告的新评论)时使用。
io.github.alirezarezvani/claude-skills/docker-development
面向 Docker 与容器开发的 agent 技能与插件,涵盖 Dockerfile 优化、docker-compose 编排、多阶段构建与容器安全加固。适用于用户要优化 Dockerfile、创建或改进 docker-compose 配置、实现多阶段构建、审计容器安全、缩减镜像体积或遵循容器最佳实践。覆盖构建性能、层缓存、密钥管理与可用于生产的容器模式。
io.github.affaan-m/ECC/tinystruct-patterns
基于 tinystruct Java 框架开发的专业指导。适用于处理 tinystruct 代码库或任何基于 tinystruct 构建的项目——Application 类、@Action 映射路由、单元测试、ActionRegistry、HTTP/CLI 双模式处理、内置 HTTP 服务器、事件系统、使用 Builder/Builders 构建 JSON、基于 AbstractData 的数据库持久化、POJO 生成、Server-Sent Events(SSE)、文件上传以及外部 HTTP 网络请求。
io.github.asgeirtj/system_prompts_leaks/google-drive-comments
Write, reply to, and resolve Google Drive comments on Docs, Sheets, Slides, and Drive files with evidence-backed location context. Use when the user asks to leave comments, review a file with comments, respond to comment threads, or resolve Drive comments.
io.github.langgenius/dify/backend-code-review
仅在用户明确要求审查 api/ 下的后端代码时使用。支持待提交变更、按文件和粘贴 diff 三种审查模式。不适用于仅实现代码的请求、无审查意图的诊断、前端代码、或 api/ 之外的后端代码。
io.github.mattpocock/skills/research
针对高可信的一手来源调研问题,并把结论以 Markdown 文件形式记录到仓库中。当用户想调研某个主题、收集文档或 API 事实,或把资料阅读的跑腿工作交给后台代理时使用。
io.github.grafana/grafana/add-e2e-selectors
为 Grafana 前端的交互元素和关键容器添加可靠的 @grafana/e2e-selectors。为 React 组件添加 e2e 选择器、data-testid 或测试选择器,或文件和组件缺少测试选择器、需要让元素可测试时使用。收到 Grafana Pathfinder 交互指南(guide 目录或 content.json)要求审计修复时也可用——它会提取指南的 reftarget 选择器,识别薄弱项并在 Grafana 的 JSX 源头修复。在 e2e-selectors 包中定义版本化选择器并把 data-testid 接入 JSX。接受文件路径、目标列表、目录、pathfinder 指南或当前打开的文件。
io.github.danielmiessler/LifeOS/Migrate
接收外部内容,对照 LifeOS 分类法为分块归类,并带溯源地提交。来源:.md/.txt、标准输入、LifeOS 目录、CLAUDE.md/Cursor/OpenAI 自定义指令、Obsidian/Notion/Apple Notes 导出。MigrateScan 分类 → 路由表。MigrateApprove 支持 --approve-all/--approve-target/--review/--dry-run。置信度 ≥70% 自动、40-70% 确认、<40% 逐条走查。用于 /migrate、迁移内容、从其他 LifeOS 导入、引入旧笔记、导入 Cursor 规则、导入 CLAUDE.md、批量导入、Obsidian/Notion/Apple Notes 导入。不用于单文件编辑、对话式访谈或身份编辑。
io.github.asgeirtj/system_prompts_leaks/xlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.
io.github.metabase/metabase/typescript-write
按 Metabase 编码标准与最佳实践编写 TypeScript 和 JavaScript 代码。在开发或重构 TS/JS 代码时使用。
io.github.asgeirtj/system_prompts_leaks/pdf
Professional PDF toolkit covering four production workflows: reports, creative visuals, academic LaTeX, and existing PDF processing. Routes automatically by document type and supports reports, posters, papers, resumes, extraction, merging, splitting, and form filling. Use this skill for any conversion whose output is a PDF: Office → PDF (.docx/.doc/.pptx/.ppt/.xlsx/.xls/.odt/.odp/.ods/.rtf/.csv/.txt → PDF), HTML → PDF, and LaTeX/.tex → PDF; also PDF → images, PDF → text, and PDF → tables when reading a PDF apart. Trigger when the user asks to convert, export, render, print, or turn a file into a PDF, or to merge/split/extract from one — including phrasings like 'Word转PDF', 'PPT转PDF', 'Excel转PDF', 'html转pdf', '导出为PDF', 'save/export as PDF', or 'PDF转图片/文字'.
io.github.asgeirtj/system_prompts_leaks/pptx
Use this skill any time a presentation file is the primary input or output. Covers: creating new .pptx decks from scratch or from an outline/document (pptxgenjs / python-pptx); editing and restyling an existing .pptx; reading and extracting text/structure from a deck (markitdown); and rendering a deck to PDF (LibreOffice) or to per-slide PNG images (pdftoppm) for previews, thumbnails, or visual review. Trigger when the user references a .pptx file by name or path, says 'make/build a deck, slides, presentation, PPT, 幻灯片, 演示文稿, 汇报/路演材料', or asks to convert, export, render, or preview slides as PDF or images (e.g. 'PPT转PDF', 'ppt导出图片', 'turn these slides into a PDF').
io.github.pranshuparmar/witr/witr
Explains why a process is running and what started it, using the witr CLI. Use when a port is already in use (EADDRINUSE), a dev server or other process was left running, an unknown or stuck process needs explaining, or you need to know which service, container, shell, supervisor or scheduled job started a process, holds a port or holds a file lock. Use it instead of chaining lsof, ps, ss, netstat and docker ps.
io.github.prisma/orm/no-bare-casts
适用于:在 TypeScript 或 TSX 生产代码中书写 `as`、修改包含裸 `as` 断言的文件、用断言压制类型错误、遇到 `as unknown as`,或审查断言使用点时。
io.github.microsoft/vscode/project-setup-info-local
帮助用户在 VS Code 工作区中创建完整项目结构的全面设置步骤;本工具面向整体项目的初始化与脚手架搭建,而非创建单个文件。适用:用户要从零创建完整新项目;搭建整个项目框架(TypeScript 项目、React 应用、Node.js 服务等);初始化具备完整结构的 Model Context Protocol(MCP)服务器;按规范脚手架创建 VS Code 扩展;设置 Next.js、Vite 或其他框架项目;用户要求新项目、创建工作区或设置某框架项目;需要建立含依赖、配置文件与目录结构的完整开发环境。不适用:创建单个文件或少量代码片段;向已有项目添加单个文件;修改既有代码库;用户要求创建一个文件或添加一个组件;简单代码示例或演示;调试。
io.github.affaan-m/ECC/safety-guard
Guard against destructive operations with three modes: Careful intercepts dangerous commands (rm -rf, git push --force, DROP TABLE) for confirmation, Freeze locks writes to one directory, and Guard combines both. Advisory: the agent applies these rules itself; no hook ships with it. Use when working on production systems, running agents autonomously, restricting edits to a directory, or during migrations, deploys, and data changes.
io.github.tabler/tabler/backward-compat
Keep a change to `@tabler/core` backward compatible, so a patch or minor release never breaks a project that updates. Use before renaming, removing or changing the meaning of anything a user can touch — a class, a `--tblr-*` custom property, a Sass variable, mixin or function, a `data-*` attribute or option, a JS export, an event, a file under `dist/`, a default value — and whenever a changeset on `dev` looks like it needs a `major` bump. Also consult it proactively when a cleanup or refactor in `core/` deletes something, since "dead" code is often somebody's API. Covers what counts as public API, the `deprecated` files where compatibility code lives, the alias patterns, the `check:compat` gate, and what to do when a break cannot be avoided.
io.github.tabler/tabler/bootstrap-component
Write a new Bootstrap-style JavaScript component class in `core/js/src/bootstrap/` — a `BaseComponent` subclass with typed config, `EVENT_*`/`CLASS_NAME_*` constants and a `data-bs-toggle` Data API. Use whenever the user asks for a new component in the Bootstrap port (a toggler, a dialog, a chip input, a stepper) or wants an existing one brought up to this baseline. Covers file structure, TypeScript typing of `Default` and `DefaultType`, constructor and config merging, events, the Data API handler and the minimal public API. Not for the build, the tests or the size budget — that is the `core-js` skill.
io.github.abhigyanpatwari/GitNexus/gitnexus-refactoring
当用户想安全地重命名、提取、拆分、移动或重组代码时使用。示例:“重命名这个函数”“把这个提取成模块”“重构这个类”“把这个移到单独的文件”。
io.github.abhigyanpatwari/GitNexus/gitnexus-refactoring
当用户想安全地重命名、提取、拆分、移动或重组代码时使用。示例:“重命名这个函数”“把这个提取成模块”“重构这个类”“把这个移到单独的文件”。
io.github.anomalyco/opencode/tui-tests
Use when writing, fixing, or reviewing tests that render OpenTUI (testRender, createTestRenderer, createAppFixture) in packages/tui or packages/cli. Covers frame waits (waitForFrame, waitFor, waitForVisualIdle, flush), started vs non-started renderers, injected clocks, mock keyboard and mouse input, terminal sizes, cleanup and shared paths, and the 30s budget. Also use when a TUI test fails with "Timed out waiting for frame predicate after N passes", or when a tui test file is slow. For cli subprocess and service tests, use the unit-tests skill.