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

opencode-tsopencode TS 搜索

Agent Skill

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

总安装

1,872

周安装

78

GitHub Stars

131

下载量

624
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/pproenca/dot-skills --skill opencode-ts

简介

opencode-ts 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词、任务场景或来源线索快速定位候选结果。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装使用。
  • 安装前需确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Opencode TypeScript

Code like the opencode core team. This skill contains real code extracted from the repo — complete implementations, not abstract rules. Follow the workflow below based on your task.


Implement (new code)

Follow these phases in order:

1. Orient — where does this go?

Load architecture.md. Find:

  • Which module owns this behavior
  • What the dependency direction allows
  • What file naming convention to follow
  • Whether this is a new module or an addition to an existing one

2. Gather — what already exists?

Load helpers-deep-dive.md. Before writing ANY utility:

  • Check if it already exists in util/, effect/, bus/, sync/
  • Check the usage matrix to see how other modules use it
  • If it exists, use it. If it doesn't, inline first — extract only when awkwardness repeats.

For quick lookups: primitives.md (shorter, import paths + signatures only)

3. Build — write the code

Load the reference that matches what you're building:

Building...Load this
Service module (namespace + Effect service + schemas + events)service-module.md
Tool or modifying tool behaviortool-module.md
Database tables, schemas, events, error typesschemas-and-state.md
Server routes, config, plugins, project lifecycleserver-and-routes.md
Teststest-writing.md

4. CHECK GATE — code MUST pass all of these before proceeding

Load style-dna.md. If ANY of the following fail, fix the code before proceeding to Review:

  • Single-word variable names where clear
  • No try/catch, no else, no any, no unnecessary destructuring
  • const + ternary over let + mutation
  • snake_case Drizzle fields, .meta({ref}) on boundary schemas
  • Effect is used for services, not plain async classes
  • No patterns from Section 7 ("Things That Compile But Get Rejected") present in the diff

DO NOT proceed if any check fails. Go back to phase 3 and fix.

5. REVIEW GATE — REJECT the diff if any of these apply

Load review-voice.md. The diff MUST NOT contain any of the following. If it does, fix before submitting:

  • Changes to files outside the scope of the task
  • as any or as unknown as casts
  • Custom utilities that duplicate community primitives or @/util/* helpers
  • Provider-specific code that should live in models.dev
  • Code removal without a clear reason documented in the commit
  • Unexplained variable renames or structural changes
  • Abstraction the core team would ask to remove (check refactoring-patterns.md)

Refactor (changing existing code)

1. Orient — what touches what?

Load architecture.md. Map the blast radius before changing anything.

2. Study — which pattern applies here?

Load refactoring-patterns.md. Start with the Decision Matrix at the top — match the code smell you see to the correct pattern. Then read the specific pattern section for real before/after diffs:

  • Simplification patterns (removing unnecessary abstraction)
  • Consolidation patterns (Bun → Node migration)
  • Extraction patterns (pulling reusable utilities)
  • Migration patterns (moving to Effect services)
  • Deletion patterns (removing dead code)
  • Stabilization patterns (fixing ordering/race conditions)
  • Variant elimination (removing special cases)

3. Gather — can an existing utility replace this code?

Load helpers-deep-dive.md. The best refactor often replaces 20 lines with one utility call.

4. Check + Review

Same as implement phases 4-5: style-dna.md then review-voice.md.


Key decisions (always apply)

  • Effect is mandatory — all services use ServiceMap.Service / Layer / makeRuntime. No plain async classes.
  • Namespace ownership — one export namespace X {} per feature, one file until real split pressure.
  • Zod for boundaries, Effect Schema for internals — Zod + z.infer for DTOs/tool params. Schema.TaggedErrorClass for Effect errors. Newtype for branded IDs.
  • Event-sourced writes — mutations go through SyncEvent.run → projectors → SQLite. Direct DB writes only for non-event-sourced features.
  • No mocks in tests — use tmpdir + Instance.provide + real services. Mocks only for external SDKs.
  • Single-word variablesstate, pending, info, row, cfg, tx. Multi-word only when genuinely ambiguous.

Reference index

FileSizeWhat it contains
style-dna.md18KMandatory style rules, naming, control flow, 14 review traps
primitives.md22KQuick-lookup: every utility with import path + signature
helpers-deep-dive.md~40KFull deep-dive: every utility, every usage site, when NOT to use
architecture.md~30KModule map, dependency graph, data flow, file conventions
service-module.md27KComplete Question + Permission implementations
tool-module.md28KFull tool implementations, registry, prompt loop
test-writing.md42K5 complete test files with all fixture patterns
schemas-and-state.md36KSQL tables, Zod/Effect schemas, SyncEvent flow, errors
server-and-routes.md32KRoutes, config, plugins, project lifecycle
review-voice.md~25KReal PR review comments from Dax + Aiden
refactoring-patterns.md~25KReal before/after diffs from cleanup commits

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.55%
按下载量换算216

Claude

32.79%
按下载量换算205

Cursor

19.21%
按下载量换算120

Gemini CLI

10.41%
按下载量换算65

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills