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

ring%3apre-dev-dependency-mapring%3apre 开发依赖关系图

Agent Skill

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

总安装

847

周安装

36

GitHub Stars

180

下载量

297
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:ring%3apre-dev-dependency-map(ring%3apre 开发依赖关系图)
来源仓库:https://github.com/lerianstudio/ring
仓库路径:skills/ring%3Apre-dev-dependency-map
安装命令:
npx skills add https://github.com/lerianstudio/ring --skill ring:pre-dev-dependency-map
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/lerianstudio/ring --skill ring:pre-dev-dependency-map

简介

ring%3apre-dev-dependency-map 用于查找、检索和筛选相关信息。

  • 它适合在 Codex、Claude、Cursor、Gemini CLI 中基于关键词或场景快速定位结果。
  • 可通过 npx skills add 命令从 GitHub 仓库安装,实际功能以原始文档为准。
  • 使用前应评估权限范围和潜在的网络、命令执行风险。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Dependency Map - Explicit Technology Choices

Foundational Principle

Every technology choice must be explicit, versioned, validated against Ring Standards, and justified.

Using vague or "latest" dependencies creates:

  • Unreproducible builds across environments
  • Hidden incompatibilities discovered during implementation
  • Security vulnerabilities from unvetted versions

The Dependency Map answers: WHAT specific products, versions, packages, and infrastructure we'll use. The Dependency Map never answers: HOW to implement features (that's Tasks/Subtasks).


⛔ HARD BLOCK: Standards Loading (Step 0)

This is a HARD GATE. Do NOT proceed without loading Ring Standards and TRD decisions.

Step 0.1: Read Technology Decisions from TRD

Read docs/pre-dev/{feature-name}/trd.md and extract: deployment.model, tech_stack.primary, project_technologies[]

If TRD metadata missing: BLOCKER → Go back to TRD (Gate 3) and complete Step 0.4

Step 0.2: Load Ring Standards via WebFetch

StandardURLPurpose
golang.mdhttps://raw.githubusercontent.com/LerianStudio/ring/main/dev-team/docs/standards/golang.mdGo coding patterns
typescript.mdhttps://raw.githubusercontent.com/LerianStudio/ring/main/dev-team/docs/standards/typescript.mdTypeScript patterns
frontend.mdhttps://raw.githubusercontent.com/LerianStudio/ring/main/dev-team/docs/standards/frontend.mdFrontend patterns
devops.mdhttps://raw.githubusercontent.com/LerianStudio/ring/main/dev-team/docs/standards/devops.mdDevOps patterns
sre.mdhttps://raw.githubusercontent.com/LerianStudio/ring/main/dev-team/docs/standards/sre.mdObservability, logging

Ring Standards = coding patterns, observability, logging, error handling (shared across ALL projects) PROJECT_RULES.md = specific technologies, versions, database choices (specific to THIS project)

Step 0.3: Generate PROJECT_RULES.md (OUTPUT)

Using TRD project_technologies[], create docs/PROJECT_RULES.md with: deployment model, tech stack, per-category decisions (PRD requirement, technology, version, rationale, cloud service, on-premise alternative), version matrix, security/compliance.

Pressure Resistance for Step 0

PressureResponse
"TRD doesn't have technology decisions""Go back to TRD (Gate 3) and complete Step 0.4 (PRD analysis)."
"Ring Standards are optional""Ring Standards define coding patterns. PROJECT_RULES.md defines technologies. Both needed."
"Just use defaults""Defaults come from PRD analysis in TRD. Read TRD first."
"Skip to save time""PROJECT_RULES.md is the output. Cannot skip the output."

Mandatory Workflow

PhaseActivities
1. EvaluationRing Standards loaded (Step 0); PROJECT_RULES.md loaded; Data Model (Gate 5), API Design (Gate 4), TRD (Gate 3) passed; map TRD components to tech candidates; validate against Ring Standards; map Data Model to storage; map API contracts to protocols; check team expertise; estimate costs
2. SelectionPer technology: check Ring Standards (mandatory/prohibited), check PROJECT_RULES.md overrides, specify exact version, list alternatives with trade-offs, verify compatibility, check security (CVEs), validate licenses, calculate costs
3. Gate 6 ValidationAll dependencies explicit, no conflicts, no critical CVEs, licenses compliant, team expertise, costs documented, all components mapped

Explicit Rules

✅ DO Include

Exact package names with versions (go.uber.org/zap@v1.27.0), tech stack with constraints (Go 1.24+, PostgreSQL 16), infrastructure specs (Valkey 8, MinIO), external SDKs, dev tools, security deps, monitoring tools, compatibility matrices, license summary, cost analysis

❌ NEVER Include

Implementation code, how to use dependencies, task breakdowns, setup instructions, architectural patterns (TRD), business requirements (PRD)

Version Rules

  1. Explicit: @v1.27.0 not @latest or ^1.0.0
  2. Justified ranges: If using >=, document why
  3. Lock file referenced: go.mod, package-lock.json, etc.
  4. Upgrade constraints: Document why locked/capped
  5. Compatibility: Document known conflicts

Rationalization Table

ExcuseReality
"Latest version is always best"Latest is untested in your context. Pick specific, validate.
"I'll use flexible version ranges"Ranges cause non-reproducible builds. Lock versions.
"Version numbers don't matter much"They matter critically. Specify or face build failures.
"We can update versions later"Document constraints now. Future you needs context.
"The team knows the stack already"Document it anyway. Teams change, memories fade.
"Security scanning can happen in CI"Security analysis must happen before committing. Do it now.
"We'll figure out costs in production"Costs must be estimated before building. Calculate now.
"Compatibility issues will surface in tests"Validate compatibility NOW. Don't wait for failures.
"License compliance is legal's problem"You're responsible for your dependencies. Check licenses.
"I'll just use what the project template has"Templates may be outdated/insecure. Validate explicitly.

Red Flags - STOP

If you catch yourself writing any of these in a Dependency Map, STOP:

  • Version placeholders: @latest, @next, ^X.Y.Z without justification
  • Vague descriptions: "latest stable", "current version", "newest"
  • Missing version numbers: Just package names without versions
  • Unchecked compatibility: Not verifying version conflicts
  • Unvetted security: Not checking vulnerability databases
  • Unknown licenses: Not documenting license types
  • Estimated costs as "TBD" or "unknown"
  • "We'll use whatever is default" (no default without analysis)

When you catch yourself: Stop and specify the exact version after proper analysis.

Gate 6 Validation Checklist

CategoryRequirements
Standards Compliance (HARD BLOCK)Ring Standards loaded; PROJECT_RULES.md loaded; mandatory deps included (or justified); no prohibited choices (or justified); version constraints respected; deviations documented
CompatibilityAll deps have explicit versions; version matrix complete; no known conflicts; runtime requirements specified; upgrade path documented
SecurityAll deps scanned for vulnerabilities; no critical (9.0+) or high (7.0-8.9) CVEs; security update policy documented; supply chain verified
FeasibilityTeam has expertise or learning path; tools available; licensing allows commercial use; costs fit budget
CompletenessEvery TRD component mapped; dev environment specified; CI/CD deps documented; monitoring stack complete
DocumentationLicense summary; cost analysis; known constraints; alternatives with rationale

Gate Result: ✅ PASS (all checked) → Task Breakdown | ⚠️ CONDITIONAL (standards not loaded) → Complete Step 0 | ❌ FAIL (critical CVEs, incompatibilities, standards not loaded)

Common Violations

ViolationWrongCorrect
Vague VersionsFiber (latest), PostgreSQL (current), Zap (newest stable)gofiber/fiber/v2@v2.52.0 with purpose, alternatives considered, trade-offs; lib/pq@v1.10.9 with constraint; go.uber.org/zap@v1.27.0 with rationale
Missing SecurityJWT Library: golang-jwt/jwt@v5.0.0 (no analysis)Package + purpose + security (CVE check date, OWASP compliance, update history) + alternatives
Undefined InfrastructureSome database (probably Postgres), Cache (Redis or Valkey), Storage for filesPer component: product + version + rationale + configuration + cost (managed vs self-hosted)

Dependency Resolution Patterns

Standards-Driven Validation

If language cannot be auto-detected, use AskUserQuestion with tech stack options (Go Backend, TypeScript Backend, TypeScript Frontend, Full-Stack TypeScript).

SelectionStandards to Load
Go Backendgolang.md + devops.md + sre.md
TypeScript Backendtypescript.md + devops.md + sre.md
TypeScript Frontendfrontend.md + devops.md
Full-Stack TypeScripttypescript.md + frontend.md + devops.md + sre.md

Validation Flow: Standards loaded → Extract mandatory/prohibited/constraints → Check PROJECT_RULES.md → Validate each selection → Document compliance or justified deviations

Best Practices

Prefer: Semantic versioned packages, well-maintained (commits within 6 months), minimal dependency trees, standard library when sufficient Avoid: Deprecated packages (>1 year unmaintained), single-maintainer critical deps, >100 transitive deps, GPL unless compliance certain

Authentication Dependencies (Mandatory for Auth Features)

If TRD specifies authentication/authorization requirements, include these dependencies:

Tech StackAuth RequirementMandatory DependencyReference
Go BackendUser authenticationgithub.com/LerianStudio/lib-auth/v2golang.md → Access Manager Integration
Go BackendService-to-service authgithub.com/LerianStudio/lib-auth/v2golang.md → Access Manager Integration
Go BackendUser + permissions (RBAC)github.com/LerianStudio/lib-auth/v2golang.md → Access Manager Integration

For Go services, the dependency entry MUST include:

### Authentication

**Package:** `github.com/LerianStudio/lib-auth/v2@vX.Y.Z`
**Purpose:** Integration with Lerian Access Manager (plugin-auth + identity)
**Rationale:** Standard authentication library for all Lerian Go services
**Environment Variables:** PLUGIN_AUTH_ADDRESS, PLUGIN_AUTH_ENABLED
**Additional (if S2S):** CLIENT_ID, CLIENT_SECRET
**Reference:** See `golang.md` → Access Manager Integration for implementation patterns

CRITICAL: Go services MUST use lib-auth for authentication. Direct integration with plugin-auth is FORBIDDEN.

Implementation Requirement (from TRD):

  • Every protected endpoint MUST have route middleware: auth.Authorize(applicationName, resource, action)
  • Middleware is applied per-route, not globally
  • See golang.md → Access Manager Integration → Router Setup for patterns

Licensing Dependencies (Mandatory for Licensed Products)

If TRD specifies this is a licensed product/plugin, include these dependencies:

Tech StackLicense RequirementMandatory DependencyReference
Go BackendSingle-org (global) licensegithub.com/LerianStudio/lib-license-go/v2golang.md → License Manager Integration
Go BackendMulti-org licensegithub.com/LerianStudio/lib-license-go/v2golang.md → License Manager Integration

For Go services, the dependency entry MUST include:

### Licensing

**Package:** `github.com/LerianStudio/lib-license-go/v2/middleware@vX.Y.Z`
**Purpose:** Integration with Lerian License Manager for product licensing
**Rationale:** Standard licensing library for all Lerian licensed Go services
**Environment Variables:** LICENSE_KEY, ORGANIZATION_IDS
**Mode:** Global (ORGANIZATION_IDS=global) or Multi-org (comma-separated org IDs)
**Reference:** See `golang.md` → License Manager Integration for implementation patterns

CRITICAL: Go services MUST use lib-license-go for licensing. Custom license validation is FORBIDDEN.

Implementation Requirement (from TRD):

  • License middleware applied GLOBALLY: f.Use(lc.Middleware())
  • Middleware applied early in chain (first after Fiber creation)
  • Graceful shutdown MUST include: licenseClient.GetLicenseManagerShutdown()
  • See golang.md → License Manager Integration → Router Setup for patterns

License & Cost Templates

License Summary: Document count by type (MIT, Apache 2.0, BSD-3-Clause, Commercial), compliance actions (attribution file, legal notification, GPL verification)

Cost Analysis: Monthly breakdown by category (Compute: containers × cost, Storage: managed DB + cache + object, Network: transfer + load balancer, Third-Party: auth + email + monitoring), grand total, scaling cost per additional users, budget validation

Confidence Scoring

FactorPointsCriteria
Technology Familiarity0-30Used before: 30, Similar: 20, Novel: 10
Compatibility Verification0-25All verified: 25, Most checked: 15, Limited: 5
Security Assessment0-25Full CVE scan: 25, Basic check: 15, No review: 5
Cost Analysis0-20Detailed breakdown: 20, Rough estimates: 12, None: 5

Action: 80+ autonomous generation | 50-79 present alternatives | <50 ask about expertise/constraints

Output & After Approval

Output to: docs/pre-dev/{feature-name}/dependency-map.md

  1. ✅ Lock all versions - update only with documented justification
  2. 🎯 Create lock files (go.mod, package-lock.json, etc.)
  3. 🔒 Set up Dependabot or equivalent for security updates
  4. 📋 Proceed to task breakdown with full stack context

The Bottom Line

If you skipped loading Ring Standards, STOP and go back to Step 0.

If you wrote a Dependency Map without explicit versions, add them now or start over.

Two non-negotiable requirements:

  1. Ring Standards MUST be loaded - Technology choices validated against organizational baseline
  2. Every dependency MUST be explicit - No @latest, no vague versions, no "we'll figure it out"

Load standards first. Be explicit. Be specific. Lock your versions.


Blocker Criteria - STOP and Report

ConditionActionSeverity
Data Model (Gate 5) not validatedSTOP and complete Gate 5 firstCRITICAL
Ring Standards not loaded via WebFetchSTOP and load required standardsCRITICAL
TRD metadata missing technology decisionsSTOP and complete TRD Step 0.4CRITICAL
Version uses @latest or vague rangeSTOP and specify exact versionHIGH
Critical CVE (9.0+) found in dependencySTOP and find alternative or document riskCRITICAL
License incompatible with commercial useSTOP and find compliant alternativeHIGH

Cannot Be Overridden

These requirements are NON-NEGOTIABLE:

  • MUST complete Step 0 (Standards Loading) before selecting technologies
  • MUST NOT use @latest, @next, or vague version ranges
  • MUST specify exact versions for ALL dependencies
  • MUST scan for CVEs before finalizing selections
  • MUST verify license compatibility for commercial use
  • MUST include lib-auth for Go services requiring authentication
  • MUST include lib-license-go for Go services requiring licensing
  • CANNOT proceed to Gate 7 with missing versions or unresolved CVEs

Severity Calibration

SeverityDefinitionExample
CRITICALCannot proceed with dependency selectionStandards not loaded, critical CVE found
HIGHDependency violates explicitness rules@latest used, license unclear
MEDIUMDependency incomplete but acceptableMissing alternative documentation
LOWMinor documentation gapsCost analysis could be more detailed

Pressure Resistance

User SaysYour Response
"Latest version is always best""Cannot use @latest. Latest is untested in this context. I'll specify exact version after validation."
"Flexible version ranges are fine""Cannot use ranges. Ranges cause non-reproducible builds. I'll lock to specific versions."
"Security scanning can happen in CI""Cannot defer security. CVE analysis must happen before committing. I'll scan now."
"Skip Ring Standards, we know our stack""Cannot skip standards. Standards validate against organizational baseline. I'll load them first."
"License compliance is legal's problem""Cannot ignore licenses. You're responsible for your dependencies. I'll verify now."

When This Skill Is Not Needed

  • Small Track workflow (skip to Task Breakdown)
  • Technologies already locked and validated
  • Data Model (Gate 5) not validated → complete Gate 5 first
  • Dependency Map already exists and versions are current
  • No new technology decisions needed for this feature

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

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

平台分布

Codex

36.16%
按下载量换算107

Claude

32.25%
按下载量换算96

Cursor

17.81%
按下载量换算53

Gemini CLI

8.46%
按下载量换算25

安全审计

暂无安全审计结果可展示。

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills