Logo Dev.Shortcuts

Dev.Shortcuts

Cộng đồng
kevinslin
dev.shortcuts

Route any request containing literal `trigger:` before ordinary skill dispatch. Read at thread start and whenever `trigger` appears.

Tổng quan

Nhà phát hànhkevinslin
Kho mãagstack
Tên kỹ năngdev.shortcuts
Sao
26
Bản fork
1
Tệp đi kèm
28
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 28 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được kevinslin công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Dev.Shortcuts trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/kevinslin/agstack/tree/main/active/dev.shortcuts
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/kevinslin/agstack.git /tmp/agstack
mkdir -p .claude/skills
cp -r /tmp/agstack/active/dev.shortcuts .claude/skills/dev.shortcuts
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Dev.Shortcuts trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Dev.Shortcuts ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Dev.Shortcuts không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Mandatory Trigger Gate

  1. Before ordinary intent or skill routing, scan the user request for the literal trigger: token.
  2. When present, resolve and load the exact matching shortcut before invoking any dependency or semantically related skill.
  3. When a shortcut matches, announce Using [shortcut name].
  4. Treat the shortcut as the end-to-end contract. A wrapped skill's success does not complete the shortcut while later shortcut steps remain.
  5. If the user later questions a trigger's outcome, re-read the matched shortcut and compare every required action before explaining or correcting the result.
  6. When absent, do not invoke shortcuts.

Context

Shortcuts are a small self-contained workflow that can be triggered via trigger:<shortcut-name>, for example trigger:merge-pr.

ALWAYS use the shortcut when user mentions trigger:<shortcut>. Read the shortcut file and follow literally.

Shortcut Location

Shortcuts can be in the following locations:

  1. Under the skill-bundled ./references/shortcuts/ directory next to this SKILL.md (runtime mirror is typically ~/.codex/skills/dev.shortcuts/references/shortcuts/).
  2. Inlined in agent instructions under ## Shortcuts. Shortcut is header text. Can be followed by a space with argument hints enclosed in [arg_name] Examples
## Shortcuts

### Foo [arg1] [arg2]
Invokes a foo with [arg1] and [arg2]

Available Bundled Shortcuts

This section is an inline index of the shortcut files bundled in ./references/shortcuts/. The file under ./references/shortcuts/[shortcut].md remains the executable source of truth.

ShortcutSummary
auto-mergeRun push-pr, then merge-pr-basic.
check-ciWatch PR checks and classify Buildkite failures before reporting status.
checkout-worktreeUse arbor checkout from the main checkout with an explicit worktree path, then verify cleanup.
closeArchive the exact Codex chat without task bookkeeping or Git cleanup.
commit-codeRun the canonical precommit flow, commit cleanly, and update the PR if one exists.
create-specCreate a spec with specy, then run looped dev.review and spec-simulate passes on it.
doitImplement the requested change, verify it, commit scoped changes, and push the current branch.
fix-pr-conflictRebase the current PR branch onto its base branch, resolve conflicts, and force-push.
fix-prCheck out a PR, address review feedback, resolve review threads, and rerun CI.
inline-shortcutInline one or more shortcut definitions into another skill.
loopRun review instructions with a reviewer subagent and a fixer subagent until major findings are cleared or a blocker stops progress.
merge-pr-basicMerge the current remote PR after passing checks while preserving branches used by open downstream PRs.
merge-prMerge a remote PR or local branch, reconcile main, and clean up only branches not needed by downstream PRs.
plan-and-reviewDraft a feature spec with specy, review it with dev.review, then fold accepted feedback back into the spec.
prepareStash local changes, switch to local master or main, and pull latest from origin.
precommit-processRun the canonical pre-commit review and validation workflow before committing.
promote-shortcut-to-skillConvert a shortcut into a standalone skill and replace old shortcut references.
push-codeCommit if needed, then push the current branch using repo-specific push guardrails.
push-prCommit if needed, push the branch, create a ready-for-review PR, then watch and fix CI as needed.
rebase-and-fixRebase the current branch onto a provided branch, fix PR conflicts, push, and check CI.
reviewCreate a new worktree for a PR link, run dev.review, and add a flow doc for the PR logic.
review-specRun looped dev.review and spec-simulate passes against an existing spec.
specDraft a spec, explain independent review findings and tradeoffs, obtain user direction, and enforce a fresh simplification gate.
sync-branch-pushRebase the current branch onto the remote default branch from git remote show, then force-push upstream with lease.
sync-branchRebase the current branch onto the remote default branch from git remote show and resolve conflicts if needed.
syncmoiReconcile both chezmoi sources, notify Slack on unsafe conflicts, and push both repositories.

Maintenance

Keep the inline shortcut index above synchronized with the bundled shortcut files.

Whenever a file in ./references/shortcuts/ is added, removed, renamed, or materially changed, update the Available Bundled Shortcuts section in this SKILL.md in the same change.

This sync rule applies to:

  • Shortcut names and trigger text
  • One-line shortcut summaries
  • Chaining guidance or examples in this SKILL.md that mention affected shortcuts

Shortcut Trigger and Usage

Only trigger:<shortcut-name> invokes a shortcut. When present, resolve it in this order:

  1. Exact file match in this skill's ./references/shortcuts/[shortcut].md
  2. Exact inlined match under ## Shortcuts in active instructions

If the user asks to promote a shortcut to a skill, use trigger:promote-shortcut-to-skill.

If a shortcut doesn’t resolve, quickly scan the most relevant skill for similarly-named shortcuts before doing broader repo-wide searches.

Shortcut Chaining

This involves using multiple shortcuts in sequence. Shortcut chaining is denoted by [shortcut1] -> [shortcut2]

Example: trigger:precommit-process -> trigger:create-pr

Tệp đi kèm

Mô hình đọc các tệp này khi cần trong lúc kỹ năng được tải. Các tệp được cung cấp ở dạng có thể đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Dev.Shortcuts làm được gì?

Route any request containing literal `trigger:` before ordinary skill dispatch. Read at thread start and whenever `trigger` appears.

Vì sao nên dùng Dev.Shortcuts trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Dev.Shortcuts là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Dev.Shortcuts trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/kevinslin/agstack/tree/main/active/dev.shortcuts. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Dev.Shortcuts?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Dev.Shortcuts với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Dev.Shortcuts với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Dev.Shortcuts có miễn phí không?

Kỹ năng này được kevinslin phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇