trpc-scaffolder
建立型別安全的 tRPC 端點鷹架
建立一致的 tRPC routers 和 Zod schemas 需要重複的設定工作。此 skill 提供 scripts、templates 和 examples,用於符合專案模式的端點鷹架建立。
請勿自動安裝此 Skill。
權威政策要求在執行任何安裝操作前由操作人員審查。
使用我的智慧代理安裝
將此請求複製給你的智慧代理,其中包含權威 Skill 頁面和清單。
Review the Skillstore skill "trpc-scaffolder" from https://skillstore.io/skills/ariegoldkin-trpc-scaffolder.md and its manifest at https://skillstore.io/api/skills/ariegoldkin-trpc-scaffolder/manifest. Verify the artifact. Do not auto-install. Inspect the skill and report your findings, then wait for an operator or manual installation decision.你的智慧代理仍應顯示其計畫,並依安全政策請求必要確認。
Agent 可讀資源
當 AI Agent、爬蟲或腳本需要乾淨脈絡、而不是讀取完整頁面時,請使用這些連結。
測試它
正在使用「trpc-scaffolder」。 為 profile endpoints 建立 user router。
預期結果:
此 skill 會在專案 router 目錄中建立 user router 檔案,並列出 app router 的 registration steps。
正在使用「trpc-scaffolder」。 為新的 endpoint 建立 hint schema。
預期結果:
此 skill 會建立 hint schema 檔案、新增 starter validation exports,並說明哪些 placeholders 需要實際欄位。
正在使用「trpc-scaffolder」。 新增檔案後驗證 tRPC 設定。
預期結果:
此 skill 會檢查 app router registration、router files、schema files,以及匯出的 inferred types,然後回報後續 actions。
安全審計
嚴重Most static alerts are documentation syntax, relative imports, fixed project paths, or safe local validation commands. However, unescaped sed programs permit command execution, and unvalidated names permit path traversal. Public profile examples also omit authorization, and one error example exposes upstream details.
已確認的安全問題 (4)
能力複核項目 (4)
這些是真實的本機能力,對此技能而言可能是預期行為,因此需要複核,但不會按已確認的惡意行為計分。
風險因素
📁 檔案系統存取 (37)
⚙️ 外部命令 (50)
分享與引用此報告
分享版本化評估報告、中性徽章、嵌入卡片與引用。Skillstore 只報告證據,不判斷該 Skill 是否安全。
複製報告連結
https://skillstore.io/skills/ariegoldkin-trpc-scaffolder/audits/9?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/ariegoldkin-trpc-scaffolder?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/ariegoldkin-trpc-scaffolder?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/ariegoldkin-trpc-scaffolder/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/ariegoldkin-trpc-scaffolder.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>學術引用 (APA · BibTeX · CFF)
APA 引用
ArieGoldkin. (2026). trpc-scaffolder security audit report (audit version 9) [Author version unspecified]. Skillstore. https://skillstore.io/skills/ariegoldkin-trpc-scaffolder/audits/9BibTeX 引用
@techreport{ariegoldkin-ariegoldkin-trpc-scaffolder-2026,
author = {ArieGoldkin},
title = {trpc-scaffolder security audit report (audit version 9)},
institution = {Skillstore},
year = {2026},
number = {9},
url = {https://skillstore.io/skills/ariegoldkin-trpc-scaffolder/audits/9},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "trpc-scaffolder security audit report (audit version 9)"
version: "unspecified"
type: report
authors:
- name: "ArieGoldkin"
date-released: "2026-07-23"
url: "https://skillstore.io/skills/ariegoldkin-trpc-scaffolder/audits/9"
identifiers:
- type: other
value: "skillstore:ariegoldkin-trpc-scaffolder:audit:9"
description: "Skillstore immutable audit report identifier"
Skillstore 評分
評分依據 證據置信度: 中你可以打造什麼
新增功能端點
為產品功能建立新的 router、schema 和 starter procedure,並維持一致的專案結構。
標準化 API 模式
使用內含的 examples 和 validation script,讓端點程式碼符合現有的 tRPC 慣例。
學習專案 tRPC 流程
依循 quick-start guide,了解 schemas、routers、procedures 和 frontend usage 如何搭配運作。
試試這些提示
使用 tRPC scaffolder 為 users 建立新的 router。顯示產生的檔案路徑和後續步驟。
使用 tRPC scaffolder 為 interview hints 建立 Zod schema。包含產生後我應自訂哪些欄位。
使用 tRPC scaffolder 將名為 getHints 的 query procedure 新增到 ai router。說明 snippet 應放在哪裡。
使用 tRPC scaffolder validation flow 檢查 router registration 和 schema exports。找出任何遺漏步驟並提出修復建議。
最佳實務
- 為 routers、procedures 和 schemas 使用簡單的英數字名稱。
- 在將 procedures 連接到業務邏輯前,先審查產生的 schemas。
- 建立或編輯 tRPC 檔案後執行 validation script。
避免
- 不要使用不受信任或類似路徑的文字作為 scaffold names。
- 建立新的 router 檔案後,不要略過 router registration。
- 不要在 production endpoints 中保留 placeholder schema fields。
常見問題
此 skill 針對哪些專案?
它會撰寫端點業務邏輯嗎?
它可以同時新增 queries 和 mutations 嗎?
它會自動註冊 routers 嗎?
為什麼包含 Zod schemas?
產生後我應該審查什麼?
開發者詳細資訊
作者
ArieGoldkin授權
MIT
Skillstore 修訂
r2
版本提示
作者未聲明版本。
引用
89edfdc710d0846129dcee6a929477b04f08052c
維護新鮮度
2026/7/27
使用量
7 次下載 · 234 次瀏覽