Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问许可证需确认审计通过

exhaustive-specification详尽的规范

Agent Skill

exhaustive-specification 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

612

周安装

26

GitHub Stars

1

下载量

214
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/wojons/skills --skill exhaustive-specification

简介

详尽的规范技能编写无歧义的系统规格说明书。

  • 采用 _prompt.md 与 _index.md 双文件结构保障一致性。
  • 适用于完全自主运行的 AI 系统,消除人为解释空间。
  • 需明确系统边界与交互协议,否则难以达到“盲人可可视化”标准。
  • exhaustive-specification 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Exhaustive Specification Writing

Write exhaustive specifications for autonomous AI systems that leave nothing to chance. Create specs so detailed that a blind person could visualize the entire system. Uses _prompt.md for consistency and _index.md for tracking - context can be lost and restored without losing spec direction.

When to use me

Use this skill when:

  • You need specifications for autonomous AI agents to build complete systems without human intervention
  • Current AI-generated specs are insufficiently detailed and leave critical aspects ambiguous
  • You're building complex systems where every detail matters
  • You want specs that survive context loss through _prompt.md and _index.md
  • You need to map out ALL spec types before writing begins

Core Architecture

flowchart TB
    subgraph "Initialization"
        START[Start Project] --> MAP[Map Spec Types]
        MAP --> PROMPT[Create _prompt.md]
        MAP --> INDEX[Create _index.md]
        MAP --> TEMPLATES[Create Templates]
    end

    subgraph "Specification Files"
        PROMPT --> |"Defines Detail Level"| SPECS[Spec Files]
        INDEX --> |"Tracks Progress"| SPECS
        TEMPLATES --> |"Provides Structure"| SPECS
    end

    subgraph "Context Recovery"
        LOST[Context Lost] --> READ[Read _prompt.md]
        READ --> READ2[Read _index.md]
        READ2 --> RESUME[Resume Writing]
    end

Three Core Files

1. _prompt.md - The Base Prompt

The canonical prompt that defines the level of detail for ALL specs. Every spec generated uses this as the foundation.

Location: specs/_prompt.md

Purpose:

  • Ensures consistent detail level across all specs
  • Survives context loss - new sessions read this to maintain quality
  • Defines the "exhaustive standard" for the project
# Exhaustive Specification Prompt

## Detail Level Standard

**BLIND-PERSON VISUALIZATION**: Write specs so detailed that someone who cannot see can fully visualize the system. Every UI element, animation, color, interaction must be described in prose.

**NO ASSUMPTIONS**: Every decision must be explicit. Never write "as discussed" or "standard practice". Define everything.

**EXHAUSTIVE COVERAGE**:
- Happy path + ALL error paths
- All edge cases enumerated
- All timing, sizing, spacing specified
- All states and transitions documented
- All data transformations explained

## Writing Standards

### For UI/UX Specs
- Exact pixel dimensions, colors (hex codes), fonts
- Animation timing (ms), easing functions
- Responsive breakpoints
- Accessibility requirements (WCAG level)
- Error states, loading states, empty states

### For API Specs
- Request/response schemas with examples
- All error codes with causes and resolutions
- Rate limits, timeouts, retry behavior
- Authentication/authorization for each endpoint
- Idempotency requirements

### For Database Specs
- Complete schema with constraints
- Index strategy and rationale
- Query patterns with example queries
- Migration strategies
- Backup/recovery procedures

### For Logic Specs
- Step-by-step algorithms
- Decision trees for all branches
- Input validation at each step
- State machines with all transitions
- Error handling at each step

## Structure Template

Every spec follows this structure:

1. **Overview** - What this component does
2. **Dependencies** - What it requires
3. **Interface** - How it interacts with other components
4. **Behavior** - Detailed logic (happy path + error paths)
5. **Data** - Data structures, schemas
6. **States** - All possible states and transitions
7. **Errors** - All error conditions and handling
8. **Testing** - Test cases to validate
9. **Security** - Security considerations
10. **Performance** - Performance requirements

## Quality Gates

Before marking any spec complete:
- [ ] Can a blind person visualize this from the description?
- [ ] Is every assumption explicitly stated?
- [ ] Are all error paths documented?
- [ ] Are all edge cases enumerated?
- [ ] Is there an example for every data structure?
- [ ] Are all timings/sizings specified with units?

2. _index.md - The Spec Index

Tracks all specs in the system with status, dependencies, and completeness.

Location: specs/_index.md

Purpose:

  • Single source of truth for what specs exist
  • Tracks completion status
  • Maps dependencies between specs
  • Enables context recovery - know exactly what to continue
# Specification Index

**Project**: [Project Name]
**Last Updated**: YYYY-MM-DD
**Total Specs**: 12
**Completed**: 8
**In Progress**: 2
**Pending**: 2

## Spec Registry

| ID | Spec File | Category | Status | Dependencies | Lines | Last Modified |
|----|-----------|----------|--------|--------------|-------|---------------|
| S01 | 01-system-overview.md | Core | ✅ Complete | None | 1,234 | 2026-03-24 |
| S02 | 02-ui-main.md | UI | ✅ Complete | S01 | 3,456 | 2026-03-24 |
| S03 | 03-ui-modals.md | UI | 🔄 In Progress | S01, S02 | 892 | 2026-03-24 |
| S04 | 04-api-auth.md | API | ✅ Complete | S01 | 2,345 | 2026-03-23 |
| S05 | 05-api-users.md | API | ✅ Complete | S01, S04 | 1,876 | 2026-03-23 |
| S06 | 06-api-orders.md | API | 🔄 In Progress | S01, S05 | 456 | 2026-03-24 |
| S07 | 07-database-schema.md | Database | ✅ Complete | S01 | 2,789 | 2026-03-22 |
| S08 | 08-database-migrations.md | Database | ✅ Complete | S07 | 987 | 2026-03-22 |
| S09 | 09-security.md | Security | ✅ Complete | S01, S04, S07 | 1,567 | 2026-03-21 |
| S10 | 10-deployment.md | Operations | ⏳ Pending | All | 0 | - |
| S11 | 11-performance.md | Operations | ⏳ Pending | S02, S05, S07 | 0 | - |
| S12 | 12-testing.md | QA | ✅ Complete | All | 4,567 | 2026-03-24 |

## Dependency Graph

S01 (Overview) ├── S02 (UI Main) ──┬── S03 (UI Modals) │ │ ├── S04 (API Auth) ─┼── S05 (API Users) ──┬── S06 (API Orders) │ │ │ ├── S07 (DB Schema) ─┼── S08 (DB Migrations) │ │ ├── S09 (Security) ─┘ │ └── S10 (Deployment) [needs all] └── S11 (Performance) [needs S02, S05, S07]

S12 (Testing) [needs all]

## Categories

### Core (1 spec)
- [x] S01: System Overview

### UI (2 specs)
- [x] S02: Main UI
- [ ] S03: Modal Components (in progress)

### API (3 specs)
- [x] S04: Authentication API
- [x] S05: Users API
- [ ] S06: Orders API (in progress)

### Database (2 specs)
- [x] S07: Database Schema
- [x] S08: Migrations

### Security (1 spec)
- [x] S09: Security Specification

### Operations (2 specs)
- [ ] S10: Deployment (pending)
- [ ] S11: Performance (pending)

### QA (1 spec)
- [x] S12: Testing Strategy

## Next Actions

1. Complete S03: UI Modals (blocking: S03)
2. Complete S06: Orders API (blocking: S06)
3. Start S10: Deployment (blocked by: S03, S06)
4. Start S11: Performance (blocked by: S03, S06)
5. Update S12: Testing after all specs complete

## Notes

- S03 blocked on modal animation specs
- S06 needs error handling for order states
- S12 needs to be updated after S10, S11 complete

3. Spec Type Templates

Pre-defined templates for each spec type ensure nothing is missed.

Spec Type Mapping

Tier 1: Foundation Specs (Start Here)

IDSpec TypePurposeTemplate File
S01System OverviewProject purpose, architecture, success criteriatemplates/01-system-overview.md
S02Domain ModelEntities, value objects, aggregatestemplates/02-domain-model.md
S03GlossaryTerms, definitions, domain languagetemplates/03-glossary.md

Tier 2: UI/UX Specs

IDSpec TypePurposeTemplate File
U01UI LayoutPage layouts, components, responsivetemplates/u01-ui-layout.md
U02UI FlowsUser journeys, state transitionstemplates/u02-ui-flows.md
U03UI ComponentsButtons, forms, modals, cardstemplates/u03-ui-components.md
U04UI AnimationsTransitions, micro-interactionstemplates/u04-ui-animations.md
U05UI AccessibilityARIA, keyboard nav, screen readerstemplates/u05-ui-accessibility.md
U06UI Error StatesValidation, error messages, recoverytemplates/u06-ui-error-states.md

Tier 3: API Specs

IDSpec TypePurposeTemplate File
A01API OverviewEndpoints summary, versioning, authenticationtemplates/a01-api-overview.md
A02API AuthenticationAuth flows, token managementtemplates/a02-api-auth.md
A03API ResourcesCRUD endpoints for each resourcetemplates/a03-api-resources.md
A04API ErrorsError codes, messages, recoverytemplates/a04-api-errors.md
A05API Rate LimitingThrottling, quotas, backofftemplates/a05-api-rate-limiting.md
A06API WebhooksEvents, payloads, retry logictemplates/a06-api-webhooks.md

Tier 4: Data Specs

IDSpec TypePurposeTemplate File
D01Database SchemaTables, columns, constraints, indexestemplates/d01-database-schema.md
D02Database QueriesQuery patterns, optimizationtemplates/d02-database-queries.md
D03Database MigrationsVersion history, upgrade pathstemplates/d03-database-migrations.md
D04Data ValidationInput validation, sanitizationtemplates/d04-data-validation.md
D05Data RetentionArchival, deletion, compliancetemplates/d05-data-retention.md

Tier 5: Business Logic Specs

IDSpec TypePurposeTemplate File
B01Business RulesInvariants, constraints, calculationstemplates/b01-business-rules.md
B02State MachinesEntity states, transitions, guardstemplates/b02-state-machines.md
B03WorkflowsMulti-step processes, orchestrationtemplates/b03-workflows.md
B04CalculationsFormulas, algorithms, roundingtemplates/b04-calculations.md
B05NotificationsEmail, push, in-app alertstemplates/b05-notifications.md

Tier 6: Cross-Cutting Specs

IDSpec TypePurposeTemplate File
X01SecurityAuthZ, encryption, vulnerabilitiestemplates/x01-security.md
X02LoggingEvents, levels, formats, retentiontemplates/x02-logging.md
X03MonitoringMetrics, dashboards, alertstemplates/x03-monitoring.md
X04Error HandlingGlobal error handling, recoverytemplates/x04-error-handling.md
X05ConfigurationEnv vars, feature flags, secretstemplates/x05-configuration.md

Tier 7: Operations Specs

IDSpec TypePurposeTemplate File
O01DeploymentCI/CD, environments, rollbackstemplates/o01-deployment.md
O02InfrastructureServers, containers, networkingtemplates/o02-infrastructure.md
O03PerformanceBenchmarks, load testing, SLAstemplates/o03-performance.md
O04Backup & RecoveryBackups, disaster recoverytemplates/o04-backup-recovery.md
O05RunbooksIncident response, maintenancetemplates/o05-runbooks.md

Tier 8: Quality Specs

IDSpec TypePurposeTemplate File
Q01Test StrategyCoverage, types, automationtemplates/q01-test-strategy.md
Q02Test CasesSpecific test scenariostemplates/q02-test-cases.md
Q03Acceptance CriteriaDefinition of donetemplates/q03-acceptance-criteria.md
Q04Quality GatesReview checkpointstemplates/q04-quality-gates.md

Tier 9: Integration Specs

IDSpec TypePurposeTemplate File
I01Third-Party IntegrationsExternal service contracts, SLAstemplates/i01-integrations.md
I02API VersioningVersion strategy, deprecation policytemplates/i02-api-versioning.md
I03Feature FlagsRollout strategies, kill switchestemplates/i03-feature-flags.md
I04Webhook ReceiversInbound webhooks, verificationtemplates/i04-webhook-receivers.md
I05Event Schema RegistryEvent schemas, versioningtemplates/i05-event-schema.md

Tier 10: Mobile Specs

IDSpec TypePurposeTemplate File
M01Mobile OverviewPlatform-specific considerationstemplates/m01-mobile-overview.md
M02Mobile NavigationScreen flows, gesturestemplates/m02-mobile-navigation.md
M03Mobile ComponentsNative UI componentstemplates/m03-mobile-components.md
M04Mobile OfflineSync strategies, conflict resolutiontemplates/m04-mobile-offline.md
M05Push NotificationsPush specs, delivery handlingtemplates/m05-push-notifications.md

Tier 11: AI/ML Specs

IDSpec TypePurposeTemplate File
AI01Model CardsModel purpose, limitations, biasestemplates/ai01-model-cards.md
AI02Training PipelinesData ingestion, preprocessingtemplates/ai02-training-pipelines.md
AI03Model ServingInference endpoints, versioningtemplates/ai03-model-serving.md
AI04Feature EngineeringFeature definitions, transformationstemplates/ai04-feature-engineering.md
AI05Model MonitoringDrift detection, retraining triggerstemplates/ai05-model-monitoring.md

Tier 12: DevOps/SRE Specs

IDSpec TypePurposeTemplate File
SRE01SLIs/SLOs/SLAsService level definitionstemplates/sre01-slo.md
SRE02Incident ManagementIncident response procedurestemplates/sre02-incidents.md
SRE03On-Call ProceduresOn-call rotation, escalationtemplates/sre03-oncall.md
SRE04Chaos EngineeringFailure injection, resilience teststemplates/sre04-chaos.md
SRE05Capacity PlanningGrowth projections, scalingtemplates/sre05-capacity.md

Tier 13: Localization Specs

IDSpec TypePurposeTemplate File
L01Locale SupportSupported locales, fallback chainstemplates/l01-locale-support.md
L02String ManagementTranslation keys, placeholderstemplates/l02-string-management.md
L03Cultural AdaptationDate/time formats, RTL supporttemplates/l03-cultural-adaptation.md
L04Content LocalizationImages, colors, cultural considerationstemplates/l04-content-localization.md

Tier 14: Data Engineering Specs

IDSpec TypePurposeTemplate File
DE01Data PipelinesETL/ELT workflowstemplates/de01-data-pipelines.md
DE02Data QualityValidation, cleansing, profilingtemplates/de02-data-quality.md
DE03Data LineageSource tracking, impact analysistemplates/de03-data-lineage.md
DE04Data GovernanceData catalog, ownership, retentiontemplates/de04-data-governance.md
DE05Caching StrategyCache levels, invalidation, TTLtemplates/de05-caching-strategy.md

Tier 15: Real-Time Specs

IDSpec TypePurposeTemplate File
RT01WebSocket ConnectionsConnection lifecycle, authtemplates/rt01-websockets.md
RT02Real-Time EventsEvent types, subscriptionstemplates/rt02-realtime-events.md
RT03Presence & StatusOnline/offline, typing indicatorstemplates/rt03-presence.md
RT04CollaborationConcurrent editing, conflict resolutiontemplates/rt04-collaboration.md

Tier 16: Analytics Specs

IDSpec TypePurposeTemplate File
AN01Event TrackingUser events, metrics definitiontemplates/an01-event-tracking.md
AN02User AnalyticsBehavior tracking, funnelstemplates/an02-user-analytics.md
AN03Business MetricsKPIs, reporting requirementstemplates/an03-business-metrics.md
AN04DashboardsMetric visualization, alertstemplates/an04-dashboards.md

Tier 17: Security Enhanced Specs

IDSpec TypePurposeTemplate File
SEC01Threat ModelingSTRIDE analysis, attack surfacestemplates/sec01-threat-modeling.md
SEC02Secrets ManagementKey rotation, scope, storagetemplates/sec02-secrets-management.md
SEC03Compliance MappingGDPR, HIPAA, SOC 2 requirementstemplates/sec03-compliance.md
SEC04Audit TrailImmutable logs, retentiontemplates/sec04-audit-trail.md

Workflow

Phase 1: Initialize

# Create directory structure and core files
bash scripts/init-specs-structure.sh --project "My Project"

# Creates:
# - specs/_prompt.md (base prompt)
# - specs/_index.md (spec index)
# - specs/templates/ (all templates)
# - specs/01-system-overview.md (start with this)

Phase 2: Map Specs

# Analyze project and determine which specs are needed
bash scripts/map-required-specs.sh --analyze

# Output: List of required specs based on project type
# - Required: S01, A01, D01, Q01
# - Recommended: U01, X01, O01
# - Optional: U04, A06, O05

Phase 3: Generate Specs

# Generate spec from template
bash scripts/generate-spec.sh --spec-id S01 --from-template

# Generate all pending specs
bash scripts/generate-spec.sh --all-pending

Phase 4: Validate

# Validate spec completeness
bash scripts/validate-spec.sh --spec-id S01

# Validate all specs
bash scripts/validate-spec.sh --all

# Update index
bash scripts/update-index.sh

Context Recovery

When context is lost, restore by:

sequenceDiagram
    participant AI as AI Agent
    participant FS as File System
    participant WORK as Work Resume

    Note over AI,WORK: Context Lost
    AI->>FS: Read specs/_prompt.md
    FS-->>AI: Base prompt standard
    AI->>FS: Read specs/_index.md
    FS-->>AI: All specs + status
    AI->>FS: Read in-progress spec
    FS-->>AI: Current spec content
    AI->>WORK: Resume writing
  1. Read specs/_prompt.md → Know the detail standard
  2. Read specs/_index.md → Know what exists and what's pending
  3. Read the in-progress spec → Continue where left off
  4. Resume writing with full context

Scripts

ScriptPurpose
init-specs-structure.shCreate directory and core files
map-required-specs.shAnalyze what specs are needed
generate-spec.shGenerate spec from template
validate-spec.shValidate spec completeness
update-index.shUpdate the spec index
run-adversarial-refinement.shApply adversarial patterns

Integration with Other Skills

  • @skills/adversarial-thinking: Refinement patterns
  • @skills/notebooklm-federated-specs: Storage and querying
  • @skills/data-flow-architect: Data flow documentation
  • @skills/api-documentation: API specs

Notes

  • _prompt.md is sacred: Defines quality standard
  • _index.md is truth: Single source of spec status
  • Templates ensure completeness: Never miss a spec type
  • Context recovery is built-in: Read two files, resume work
  • Map before writing: Know all specs needed before starting

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.14%
按下载量换算73

Claude

32.99%
按下载量换算71

Cursor

17.01%
按下载量换算36

Gemini CLI

9.84%
按下载量换算21

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills