xiaohongshu
xiaohongshu
ecosystem-health
Analyzes Claude Code ecosystem health by tracking all 27 extensibility components across 6 tiers - including plugin components, core configuration, environment/CLI, authentication, session features, and integrations. Use when checking if Claude Code components are up-to-date, orchestrating audits...
Full skill instructions
CRITICAL: This skill follows the anti-duplication principle. ALL component details MUST be queried from docs-management at runtime.
| Data | Why Static |
|---|---|
| Tier structure (1-6) | Design decision, architectural choice |
Audit commands (/audit-*) | OUR commands in claude-ecosystem plugin |
| Audit types (automated/manual/documentation) | Classification policy |
| Scoring/prioritization logic | Policy decisions |
| Data | Why Dynamic | How to Get |
|---|---|---|
| CLI flags list | New flags every release | Query: docs-management: cli-reference.md CLI flags |
| Environment variables | New env vars frequently | Query: docs-management: settings.md environment variables |
| Authentication methods | New providers added | Query: docs-management: iam.md authentication methods |
| Permission modes | Modes evolve | Query: docs-management: iam.md permission modes |
| Cloud providers | New providers added | Query: docs-management: setup.md cloud providers |
| IDE integrations | New integrations added | Query: docs-management: third-party-integrations.md IDE |
| Change keywords | Terminology evolves | Derive from docs-management index keywords |
| File patterns | Locations can change | Query official docs for current patterns |
--discover and --check modes# Tier 3: Environment & CLI
"cli-reference.md CLI flags" → Get current CLI flags list
"settings.md environment variables" → Get current env vars list
"iam.md permission modes" → Get current permission modes
# Tier 4: Authentication & Access
"iam.md authentication methods" → Get current auth methods
"iam.md configuring permissions" → Get permission rule patterns
"iam.md credential management" → Get credential features
# Tier 5: Session & Runtime
"cli-reference.md session features" → Get session features (resume, checkpoints)
"security.md sandbox configuration" → Get sandbox settings
# Tier 6: Integration
"third-party-integrations.md IDE" → Get IDE integrations list
"setup.md cloud providers" → Get cloud provider list
"common-workflows.md CI/CD" → Get CI/CD platforms
# Changelog for change categorization
"CHANGELOG recent changes" → Get changelog entries
This skill tracks Claude Code ecosystem health across ALL extensibility points - not just plugin components. It monitors 27 component types across 6 tiers.
Schema v2.2 introduces the Tiered Validation Model for changelog-triggered audit staleness:
This approach provides 60-96% token savings while maintaining strict accuracy requirements.
| Tier | Category | Components | Audit Type | Description |
|---|---|---|---|---|
| 1 | Core Configuration | 4 | Mixed | User, project, and enterprise settings |
| 2 | Plugin Components | 12 | Automated | Components packaged in plugins |
| 3 | Environment & CLI | 3 | Documentation | Env vars, CLI flags, permission modes |
| 4 | Authentication & Access | 3 | Mixed | Auth methods, permission rules |
| 5 | Session & Runtime | 2 | Mixed | Session features, sandbox config |
| 6 | Integration | 3 | Documentation | IDEs, cloud providers, CI/CD |
| Type | Description | Has Audit Command? | Tracking Method |
|---|---|---|---|
automated | Full audit via /audit-* | Yes | Pass rate, component count |
manual | Requires human review | No | Human review tracking |
documentation | Tracks doc coverage only | No | Doc coverage via docs-management queries |
Schema v2.2 introduces a three-tier validation model that automatically invalidates audits when changelog changes affect components, while using the most token-efficient validation method appropriate for each change type.
| Change Type | Severity | Validation Requirement | Rationale |
|---|---|---|---|
feature | Minor | Targeted validation (keyword check) | New features can be verified by checking keywords exist |
deprecation | Minor | Targeted validation (keyword check) | Deprecations can be verified by checking warnings documented |
bugfix | None | No validation needed | Bugfixes don't affect plugin documentation/compliance |
behavior_change | Major | Full audit required | Behavior changes may have wide-ranging impacts |
security | Major | Full audit required | Security changes require comprehensive review |
For feature and deprecation changes:
VALIDATEDAlgorithm:
1. Load validation spec from granular_changelog change entry
2. For each keyword in validation.keywords:
a. Run grep against target_skill directory
b. If match found, record evidence (file, line, match text)
3. If matches >= required_matches:
a. Set validation_result.validated = true
b. Set confidence based on match count:
- 1 match = "medium"
- 2+ matches = "high"
4. Update component_coverage validation tracking
For behavior_change and security changes:
AUDITEDImportant: Major changes cannot be validated via targeted validation. The system must enforce this - no shortcuts.
Regardless of validation status:
Each change in granular_changelog can have a validation spec:
validation:
method: "keyword_check" # keyword_check | full_audit | manual | none
target_skill: "hook-management" # Which skill to validate (null for memory files)
keywords: # Manual list - NEVER auto-extracted
- "additionalContext"
- "additional context"
- "PreToolUse.*additionalContext" # Regex supported
required_matches: 1 # How many keywords must match
reason: "..." # Optional explanation (esp. for method: none)
# For full_audit method:
validation:
method: "full_audit"
target_skill: "permission-management"
audit_command: "/audit-settings"
reason: "Security fix - targeted validation insufficient"
After validation runs, results are recorded:
validation_result:
validated: true # Did validation pass?
validated_date: "2026-01-16" # When validated
evidence: # For keyword_check method
- file: "path/to/file.md"
line: 142
match: "matched text"
audit_performed: true # For full_audit method
audit_date: "2026-01-12" # When audit was run
confidence: "high" # high | medium | low
Component status is determined by this priority order (first match wins):
| Priority | Condition | Status |
|---|---|---|
| 1 | Has pending_major_changes | NEEDS AUDIT ⚠️ |
| 2 | Has pending_minor_changes | NEEDS VALIDATION |
| 3 | days_since(last_audit) > 90 | STALE |
| 4 | validation_version == latest AND validation_confidence == "high" | VALIDATED |
| 5 | last_audit recent AND no pending changes | OK |
| 6 | Never audited | UNKNOWN |
Conservative Rule: If ANY doubt exists, escalate to higher requirement.
The system must NEVER report "validated" unless certain. These rules are non-negotiable.
❌ Finding "context" when looking for "context: fork" is NOT a match
✅ Must match exact keyword or regex pattern
| Evidence Count | Confidence Level |
|---|---|
| 0 matches | validation_failed: true |
| 1 match | confidence: "medium" |
| 2+ matches | confidence: "high" |
If confidence is "low":
--apply output for user decision❌ security change → keyword_check (FORBIDDEN)
❌ behavior_change → keyword_check (FORBIDDEN)
✅ security change → full_audit (REQUIRED)
✅ behavior_change → full_audit (REQUIRED)
The system must reject attempts to use targeted validation for major changes.
The skill provides:
Use this skill when:
Location: .claude/ecosystem-health.yaml
This file persists ecosystem health state across sessions. It stores audit metadata ONLY - not component details (which are delegated to docs-management).
Schema v2.1 Structure:
schema_version: "2.1"
last_check:
date: "YYYY-MM-DD"
claude_code_version: "X.Y.Z"
changelog_hash: "sha256:..."
component_coverage:
# Tier 1: Core Configuration
tier1_configuration:
user_settings:
last_audit: null
components_audited: 0
pass_rate: null
audit_type: "manual"
# Query docs-management for: settings.md user configuration
project_settings:
last_audit: "YYYY-MM-DD"
components_audited: N
pass_rate: 0.XX
audit_type: "automated"
audit_command: "/audit-settings"
managed_settings: { ... }
memory_system: { ... }
# Tier 2: Plugin Components (12 components)
tier2_plugins:
skills: { audit_type: "automated", audit_command: "/audit-skills" }
agents: { audit_type: "automated", audit_command: "/audit-agents" }
# ... (12 components, each with audit_type and audit_command)
# Tier 3-6: Documentation-tracked (DELEGATE to docs-management)
tier3_environment:
environment_variables:
audit_type: "documentation"
# DELEGATE: Query docs-management for: settings.md environment variables
cli_flags: { ... }
permission_modes: { ... }
tier4_authentication: { ... }
tier5_session: { ... }
tier6_integration: { ... }
changelog_versions_checked:
- version: "X.Y.Z"
checked_date: "YYYY-MM-DD"
changes_applied: true/false
pending_updates:
- feature: "feature name"
since_version: "X.Y.Z"
affects: ["skills", "commands"]
status: "pending" | "applied" | "skipped"
last_discovery:
date: "YYYY-MM-DD"
docs_scanned: [...]
changelog_version: "X.Y.Z"
components_detected: 27
tiers_scanned: 6
gaps_found: 0
Key Design Decision: The tracking file does NOT contain tracked_* arrays (no hardcoded lists of env vars, CLI flags, auth methods, etc.). All such data must be queried from docs-management at runtime.
MANDATORY: Access changelog via docs-management skill.
Doc ID: raw-githubusercontent-com-anthropics-claude-code-refs-heads-main-CHANGELOG
Access pattern:
python plugins/claude-ecosystem/skills/docs-management/scripts/core/find_docs.py \
content raw-githubusercontent-com-anthropics-claude-code-refs-heads-main-CHANGELOG
Parse changelog for version entries:
Pattern: ^##\s*\[?(\d+\.\d+\.\d+)\]?
Examples:
"## 2.1.3" → version 2.1.3
"## [2.1.0]" → version 2.1.0
Map changelog keywords to component types across all 6 tiers.
IMPORTANT: Do NOT use hardcoded keyword lists. Query docs-management for current keywords via the index, then match changelog entries against those keywords.
| Tier | Components | Query docs-management for |
|---|---|---|
| 1 | user_settings, project_settings, managed_settings, memory_system | settings.md, iam.md, memory.md |
| 2 | skills, agents, commands, hooks, mcp, memory, plugins, settings, output_styles, statuslines, rules, lsp | skills.md, sub-agents.md, slash-commands.md, hooks.md, mcp.md, memory.md, plugins-reference.md, terminal-config.md |
| 3 | environment_variables, cli_flags, permission_modes | settings.md, cli-reference.md, iam.md |
| 4 | authentication_methods, permission_rules, credential_management | iam.md |
| 5 | session_features, sandbox_configuration | cli-reference.md, security.md |
| 6 | ide_integrations, cloud_providers, cicd_integrations | third-party-integrations.md, setup.md, common-workflows.md |
For detailed categorization patterns, see references/change-categories.md.
Shows current ecosystem health without running audits. Displays all 6 tiers.
Algorithm:
Compares current changelog against last check. Identifies changes across all tiers.
Algorithm:
Runs audits intelligently. Only applies to Tier 2 components (automated audits).
Without type argument: Audits all stale/never-audited Tier 2 components With type argument: Audits only specified type
Priority Order:
Batching:
Audit Command Mapping (Tier 2 Only):
| Component | Audit Command |
|---|---|
| skills | /audit-skills |
| agents | /audit-agents |
| commands | /audit-commands |
| hooks | /audit-hooks |
| mcp | /audit-mcp |
| memory | /audit-memory |
| plugins | /audit-plugins |
| settings | /audit-settings |
| output_styles | /audit-output-styles |
| statuslines | /audit-statuslines |
| rules | /audit-rules |
| lsp | /audit-lsp |
Compliance Audits (Cross-Cutting):
| Audit Type | Audit Command | Description |
|---|---|---|
| docs-delegation | /audit-docs-delegation | Audits skills and memory files for proper docs-management delegation patterns |
| agent-consolidation | /audit-agent-consolidation | Analyzes agents for consolidation opportunities, groups by config, tracks references |
Tracks documentation coverage for non-auditable components (Tiers 3-6).
Algorithm:
Note: Coverage is always based on current docs-management content. There's no "tracked list" to compare against - docs-management IS the source of truth.
Interactive mode to apply pending updates.
For each pending update:
Shows all changes since a specific version, organized by tier.
Algorithm:
Detects plugin overlaps, redundancy, and consolidation opportunities.
Algorithm:
Enumerate all plugins:
plugins/*/ directoriesExtract component names:
skills/*/SKILL.mdcommands/*.mdagents/*.mdDetect duplicates:
Semantic overlap analysis:
Published standard detection:
Generate overlap report:
## Plugin Overlap Analysis
**Duplicate Components Found:**
| Component | Type | Plugins |
| --------- | ---- | ------- |
| adr-management | skill | enterprise-architecture, documentation-standards |
| journey-mapping | skill | business-analysis, requirements-elicitation |
**Semantic Overlaps:**
| Plugin A | Plugin B | Overlap % | Domain | Status |
| -------- | -------- | --------- | ------ | ------ |
| ~~contract-testing~~ | test-strategy | 85% | Testing | ✅ CONSOLIDATED (v2.0) |
| ~~observability-planning~~ | ~~quality-attributes~~ | 70% | NFRs | ✅ BOTH REMOVED (v2.0) |
**Published Standard Plugins (Consolidation Candidates):**
| Plugin | Methodology | Standard Type | Recommendation | Status |
| ------ | ----------- | ------------- | -------------- | ------ |
| ~~quality-attributes~~ | ISO 25010 | International Standard | REMOVE | ✅ REMOVED (v2.0) |
| ~~ai-ml-planning~~ | CRISP-DM | Industry Framework | REMOVE | ✅ REMOVED (v2.0) |
| ~~data-architecture~~ | Kimball | Published Methodology | REMOVE | ✅ REMOVED (v2.0) |
**Consolidation Completed (v2.0):**
1. **~~contract-testing~~ → test-strategy** - DONE: `compatibility-analyzer` agent moved
2. **8 published standard plugins** - REMOVED: MCP research replaces them
3. **content-management-system** - KEPT: unique composition patterns
Overlap Status in ecosystem-health.yaml:
plugin_overlap:
last_analysis: "2026-01-17"
total_plugins: 35
duplicate_components:
- component: "adr-management"
type: "skill"
plugins: ["enterprise-architecture", "documentation-standards"]
resolution: "pending" | "resolved" | "intentional"
published_standard_plugins:
- plugin: "quality-attributes"
methodology: "ISO 25010"
recommendation: "remove"
status: "pending" | "removed" | "kept_with_justification"
consolidation_candidates:
- source: "contract-testing"
target: "test-strategy"
assets_moved: ["compatibility-analyzer agent"]
status: "completed" # v2.0 consolidation
Scans official documentation to detect ecosystem drift across ALL 6 tiers.
Algorithm:
Query docs-management for ALL relevant doc sections:
Spawn claude-code-guide agent for live web verification of:
Build detected components list by tier:
Report findings with evidence:
What do you want to do?
--check)--audit)--doc-coverage)--apply)--since X.Y.Z)--overlap)--discover)This skill delegates to specialized skills for domain-specific guidance:
ecosystem-health
├── docs-management (MANDATORY - changelog, official docs for all tiers)
├── claude-code-guide (live verification during --discover and --check)
│
├── Tier 1 & 2 - Settings/Memory
│ ├── settings-management
│ └── memory-management
│
├── Tier 2 - Plugin Components
│ ├── skill-development
│ ├── subagent-development
│ ├── command-development
│ ├── hook-management
│ ├── mcp-integration
│ ├── plugin-development
│ ├── output-customization
│ └── status-line-customization
│
├── Tier 3-4 - Auth/Environment
│ ├── settings-management
│ ├── permission-management
│ └── enterprise-security
│
├── Tier 5 - Session/Runtime
│ └── sandbox-configuration
│
└── Tier 6 - Integration (documentation tracking only)
Goal: Minimize tokens while maintaining coverage.
Strategies:
Expected savings: 60-80% compared to running all audits blindly.
The skill handles migration between schema versions:
v1.0 → v2.0: Tiered organization v2.0 → v2.1: Delegation pattern (remove hardcoded lists)
Migration algorithm:
.claude/ecosystem-health.yaml.backupFor detailed implementation guidance:
| Skill | Relationship |
|---|---|
docs-management | MANDATORY - Primary source for ALL dynamic data |
claude-code-guide | Live verification for --discover and --check modes |
skill-development | Skills validation and guidance |
subagent-development | Agents validation and guidance |
command-development | Commands validation and guidance |
settings-management | Settings guidance |
All other *-development skills | Domain-specific validation |
Query: /ecosystem-health
Expected: Creates tracking file with v2.1 schema, shows "never checked" status for all tiers
Success: Tracking file created, 27 components displayed across 6 tiers, NO hardcoded lists in file
Query: /ecosystem-health --check
Expected:
Query: /ecosystem-health --audit
Expected: Audits only stale/never-audited Tier 2 components
Success: Targeted audits run, tracking file updated (audit metadata only)
Query: /ecosystem-health --doc-coverage
Expected:
Query: /ecosystem-health --discover
Expected:
v2.3.0 (2026-01-17): Plugin Overlap Detection
--overlap mode for detecting plugin redundancy and consolidation opportunitiesv2.2.0 (2026-01-16): Tiered Validation Model
--validate (read-only check), --audit-required (shows only major changes)v2.1.0 (2026-01-10): Delegation pattern
v2.0.0 (2026-01-10): Expanded to ALL Claude Code extensibility points
v1.1.0 (2026-01-10): Added discover mode
v1.0.0 (2026-01-10): Initial release
Date: 2026-01-17 Model: claude-opus-4-5-20251101
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience