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

tech-stack-validator技术堆栈验证器

Agent Skill

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

总安装

212

周安装

9

GitHub Stars

公开资料未说明

下载量

74
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:tech-stack-validator(技术堆栈验证器)
来源仓库:https://github.com/makgunay/claude-swift-skills
仓库路径:skills/tech-stack-validator
安装命令:
npx skills add https://github.com/makgunay/claude-swift-skills --skill tech-stack-validator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/makgunay/claude-swift-skills --skill tech-stack-validator

简介

用于技术选型的调研、验证和相关信息筛选。

  • 适合评估框架稳定性、安全性和兼容性。
  • 可基于官方文档和社区实践提供检查清单。
  • 使用前请确认是否接入漏洞数据库或合规标准。
  • 建议人工复核关键组件的版本风险。tech-stack-validator 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Tech Stack Validator

Overview

Validate that the chosen technology stack can actually deliver what the PRD promises. This skill catches the expensive mistakes — the ones you discover 6 weeks into implementation when a framework doesn't support a critical requirement.

Core principle: Every tech choice is a trade-off. The job isn't to find the "best" stack — it's to find the stack where the trade-offs align with the project's priorities.

Workflow

Step 1: INGEST        → Read PRD + Architecture docs, extract requirements
Step 2: CONSTRAINT MAP → Map requirements to technology constraints
Step 3: VALIDATE      → Check each tech choice against constraints
Step 4: RISK SCAN     → Flag deprecations, gaps, compatibility issues
Step 5: REPORT        → Produce validation report with verdicts

Entry Points

  • "Validate my tech stack" → User provides PRD/architecture docs → Full workflow
  • "What should I build this with?" → Gather requirements interactively → Recommend stack → Validate
  • "Is [framework X] the right choice for [requirement Y]?" → Focused validation on specific choice
  • "Review my architecture doc" → Read doc → Steps 2-5
  • "I'm deciding between X and Y" → Comparative analysis against requirements

Step 1: Ingest — Extract Requirements

From Documents

If the user provides a PRD and/or architecture document, extract these requirement categories:

PLATFORM REQUIREMENTS
├── Target OS and minimum version (e.g., macOS 26+, iOS 18+)
├── Device targets (Mac, iPhone, iPad, Vision Pro, Watch)
├── Universal or platform-specific builds
└── Apple Silicon only or Intel support needed

DISTRIBUTION REQUIREMENTS
├── App Store (sandbox mandatory)
├── Direct distribution (notarized, no sandbox)
├── Both (dual binary or feature-gated)
└── TestFlight / Enterprise distribution

FUNCTIONAL REQUIREMENTS → TECH IMPLICATIONS
├── Local persistence → SwiftData, Core Data, SQLite, Realm, file-based
├── Cloud sync → CloudKit, custom server, third-party BaaS
├── Real-time collaboration → WebSockets, CloudKit sharing, custom
├── AI/ML features → Core ML, FoundationModels, Vision, NLP
├── Rich text editing → TextKit 2, AttributedString, custom
├── Web content → WebKit (new WebView vs WKWebView bridge)
├── Background processing → BGTaskScheduler, URLSession background
├── System integration → Hotkeys, Accessibility API, pasteboard
├── Notifications → Local, push (APNs), AlarmKit
└── Widgets / Extensions → WidgetKit, App Intents

PERFORMANCE REQUIREMENTS
├── Launch time budget
├── Memory budget
├── Search/query latency at expected data volume
├── Animation frame rate
└── Storage per unit of content

NON-FUNCTIONAL REQUIREMENTS
├── Accessibility (VoiceOver, keyboard nav, Dynamic Type)
├── Localization (RTL support, string extraction)
├── Security (encryption at rest, keychain, network security)
├── Privacy (privacy manifest, tracking transparency)
└── Offline capability (full, partial, online-only)

TEAM & TIMELINE
├── Solo developer or team size
├── Timeline to v1.0
├── Existing codebase or greenfield
├── Team's framework experience
└── Maintenance runway (who maintains this after launch?)

From Conversation

If no documents exist, ask these questions (2-3 at a time):

  1. What's the app? What platform and minimum OS?
  2. App Store, direct distribution, or both?
  3. What data does it persist? Does it sync across devices?
  4. What system features does it need? (Hotkeys, clipboard, widgets, Siri, etc.)
  5. What's the team size and timeline?
  6. Any existing code or starting fresh?
  7. Any strong preferences or constraints? (e.g., "must use SwiftUI only, no AppKit")

Step 2: Constraint Map

Map each requirement to the technology dimensions it constrains:

Constraint Categories

DimensionWhat It Determines
Language versionSwift 6.2 features (default MainActor, @concurrent) need Xcode 26+
UI frameworkSwiftUI-only vs SwiftUI+AppKit bridge determines what's possible
PersistenceSwiftData vs Core Data vs SQLite — each has different sync, migration, and query capabilities
Sync engineCloudKit (Apple-only) vs custom server vs third-party — determines offline strategy
Minimum OSGates which frameworks/APIs are available (see availability matrix)
DistributionSandbox restrictions eliminate certain capabilities
Concurrency modelSwift 6 strict concurrency vs 5.x — affects every file in the project
Design systemLiquid Glass requires macOS 26+ / iOS 26+

OS Availability Matrix (Key Frameworks)

Framework / APImacOSiOSNotes
SwiftUI10.15+13+Feature set varies significantly by version
SwiftData14+17+Class inheritance: 15+ / 18+
@Observable14+17+Replaces ObservableObject
NavigationSplitView13+16+Replaces NavigationView
Liquid Glass (.glassEffect)26+26+New design system, not backportable
FoundationModels (on-device LLM)26+26+Apple Silicon with Apple Intelligence
WebView (SwiftUI native)26+26+Replaces WKWebView bridge pattern
AlarmKit18+iOS only
App Intents13+16+Advanced features (modes, snippets) in 26+
Swift TestingXcode 16+Xcode 16+Replaces XCTest
Swift 6.2 (default MainActor)Xcode 26Xcode 26Language-level, not OS-gated
GlassEffectContainer26+26+Required for multiple glass effects
Chart3D26+26+3D charts, visionOS volumetric
WidgetKit14+14+Accented mode: 26+

Sandbox Compatibility Matrix

CapabilitySandboxed (App Store)Direct Distribution
Global hotkeys (Carbon)⚠️ Needs entitlement
Accessibility API (AX)⚠️ Entitlement + user permission
CGEvent keystroke simulation❌ Blocked✅ (with Accessibility)
Clipboard read/write
File access (arbitrary)❌ User-selected only
Network (outbound)⚠️ Needs entitlement
Launch at login✅ SMAppService
iCloud sync
Keychain✅ (app-scoped)
Screen recording✅ (with permission)

Step 3: Validate Each Choice

For every technology in the proposed stack, check:

3.1 Availability

  • Is it available on the target OS version?
  • If targeting multiple platforms, is it available on ALL of them?
  • Are there feature gaps between OS versions? (e.g., SwiftData inheritance needs macOS 15+)

3.2 Capability

  • Can this technology deliver the specific requirement?
  • At the required scale? (e.g., SwiftData with 100K records — is @Query performant enough?)
  • With the required latency? (e.g., full-text search in < 50ms)

3.3 Compatibility

  • Does it work with the distribution model? (Sandbox restrictions?)
  • Does it work with the other chosen technologies? (e.g., SwiftData + CloudKit sync — are there known limitations?)
  • Does the concurrency model align? (Swift 6 strict checking + chosen frameworks)

3.4 Maturity

  • Is this framework stable or still evolving rapidly?
  • Are there known bugs or limitations in the current version?
  • Is there sufficient documentation and community knowledge?

3.5 Maintenance

  • Who maintains this dependency? (Apple framework vs third-party)
  • What happens if it's deprecated? (Migration path?)
  • Does the team have experience with it?

Step 4: Risk Scan

Deprecation Risks

Check for deprecated or soon-to-be-deprecated patterns:

  • NavigationViewNavigationSplitView / NavigationStack
  • ObservableObject + @Published@Observable
  • WKWebView + Representable → Native WebView
  • NSVisualEffectViewNSGlassEffectView / .glassEffect()
  • XCTest → Swift Testing
  • @StateObject@State with @Observable

Common Mismatch Patterns

PRD SaysArchitecture UsesProblem
"Works on macOS 14+"Liquid Glass /.glassEffect()Liquid Glass requires macOS 26+
"App Store distribution"CGEvent text insertionBlocked by sandbox
"Offline-first with sync"No local persistence layerCan't work offline without local DB
"< 100ms search on 50K items"SwiftData @QueryNeeds benchmarking; may need raw SQLite for complex queries
"Solo developer, 8 weeks"Custom sync server + REST APIScope exceeds timeline — use CloudKit instead
"Privacy-focused, no cloud"CloudKit syncContradicts privacy requirement
"Must support Intel Macs"FoundationModels frameworkRequires Apple Silicon + Apple Intelligence
"Real-time collaboration"CloudKit onlyCloudKit is eventual-consistency, not real-time

Step 5: Validation Report

Produce the report as a file. See references/report-template.md for the full template.

Report Structure

# Tech Stack Validation Report: [App Name]

## Verdict: ✅ GO / ⚠️ GO WITH CHANGES / ❌ STOP

## Stack Summary
[Table of every technology choice with verdict]

## Critical Issues (Must Fix Before Starting)
[Issues that will block the project if not addressed]

## Warnings (Should Address Soon)
[Issues that will cause pain but won't block]

## Recommendations
[Suggested changes with rationale]

## Compatibility Matrix
[Full matrix of requirements vs. tech choices]

## Alternative Options Considered
[For each flagged issue, what alternatives exist]

Verdict Criteria

VerdictCriteria
GOAll critical requirements met, no blocking issues, warnings are manageable
⚠️ GO WITH CHANGES1-3 specific changes needed, but core stack is sound
STOPFundamental mismatch — chosen stack cannot deliver PRD requirements

Decision Frameworks

When to Use SwiftData vs Core Data vs SQLite

Need iCloud sync + simple models?
└── SwiftData (macOS 14+ / iOS 17+)

Need complex queries + large datasets (>100K rows)?
└── SQLite via GRDB or direct SQLite3

Need class inheritance in models?
└── SwiftData (macOS 15+ / iOS 18+)

Need to support macOS 13 or iOS 16?
└── Core Data

Need both complex queries AND sync?
└── Core Data + CloudKit, or SQLite + custom sync

When to Use SwiftUI-Only vs SwiftUI + AppKit Bridge

App Store sidebar+detail app, standard controls?
└── SwiftUI-only

Need floating panel (NSPanel)?
└── SwiftUI + AppKit bridge

Need global hotkeys or CGEvent?
└── SwiftUI + AppKit (AppDelegate)

Need custom window chrome or levels?
└── SwiftUI + NSWindow/NSPanel

Need menu bar with popover?
└── MenuBarExtra (pure SwiftUI) OR NSStatusItem + NSPopover (more control)

When to Use CloudKit vs Custom Server

Apple-only users, simple data, offline-first?
└── CloudKit (free, built-in, handles conflicts)

Need cross-platform (Android/Web)?
└── Custom server or Firebase/Supabase

Need real-time collaboration?
└── Custom WebSocket server or third-party (Supabase Realtime)

Need fine-grained access control?
└── Custom server

Solo developer, limited budget?
└── CloudKit (zero infrastructure cost)

Interaction Style

  • Be direct about risks — sugar-coating wastes the developer's time
  • Quantify when possible ("SwiftData @Query on 50K records: ~200ms" not "might be slow")
  • Always provide alternatives when flagging issues
  • Distinguish between "this won't work" (hard blocker) and "this will hurt" (soft issue)
  • If the user has strong preferences, respect them but flag trade-offs clearly
  • Remember that the "right" stack depends on team skills, timeline, and priorities — not just technical optimality

Key Principles

  1. Requirements drive choices, not preferences — "I like SwiftData" is not a justification if Core Data fits the requirements better
  2. Validate at the boundaries — Most tech works fine in isolation; problems emerge at integration points
  3. Time is a constraint — A technically superior stack that takes 6 months to learn is worse than a familiar stack that ships in 8 weeks
  4. Distribution gates capabilities — App Store sandbox restrictions are non-negotiable and must be checked early
  5. OS version is destiny — Every API has a minimum OS; the lowest target version constrains everything
  6. Dependencies are debt — Every third-party dependency is a maintenance commitment; prefer Apple frameworks when they're sufficient
  7. Check the edges, not the middle — Basic CRUD works with anything; validate against the hardest requirements (performance, sync, offline, scale)

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.73%
按下载量换算26

Claude

32.6%
按下载量换算24

Cursor

19.11%
按下载量换算14

Gemini CLI

10.16%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills