state-management SKILL.md skillA

state-management from conorluddy/xclaude-plugin is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add conorluddy/xclaude-plugin/state-management@v0.0.1

Pins v0.0.1 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 19 of 19 checks passed
Kind
SKILL.md skill
Repository
conorluddy/xclaude-plugin
Path
skills/state-management/SKILL.md
Versions recorded
2
Latest version
v0.0.1, committed Nov 6, 2025
First version recorded
Nov 6, 2025
Size
15,966 bytes
Repository stars
187
License
MIT

Cache management, configuration best practices, and progressive disclosure patterns for efficient context window usage. Use when working with large responses, optimizing token costs, or managing plugin state across operations.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# State Management Skill

**Optimizing token efficiency and state management in xc-plugin**

## Overview

The xc-plugin implements sophisticated state management through caching, progressive disclosure, and configuration management. This Skill teaches how to leverage these patterns to minimize token usage, improve performance, and maintain clean state across operations.

**Key Benefits:**
- **85-90% token reduction** through progressive disclosure
- **Cache-friendly operations** avoid redundant work
- **Deterministic state** ensures reliable test results
- **Configuration consistency** across development workflows

## When to Use This Skill

Use this Skill when you need to:

1. **Optimize Token Usage**
   - Working with large device lists or build logs
   - Reducing context window consumption
   - Implementing efficient query patterns

2. **Manage Cache State**
   - Understanding when responses are cached
   - Invalidating stale cache entries
   - Querying cached data efficiently

3. **Handle Configuration**
   - Setting up consistent build environments
   - Managing simulator preferences
   - Configuring test execution parameters

4. **Design Efficient Workflows**
…

Read the whole file at its exact version.

How to install

No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_fvhfrnan47a5wje7/202a907b49a3c0754e7846aef00c209ca398c9007e8788e31b0bf7fa944a7432.json

Then /plugin install state-management@markdownregistry-fvhfrnan47a5wje7 in Claude Code. It installs v0.0.1, the one graded A here, pinned to the commit it was graded at, and leaves it there.

The exact contents, by fingerprint
mdr add conorluddy/xclaude-plugin/state-management@sha256:202a907b49a3c075

The line at the top of this page pins the label v0.0.1, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_fvhfrnan47a5wje7.svg)](https://markdownregistry.com/a/art_fvhfrnan47a5wje7)

1 badge image fetches in 30 days. What the badge shows.

Ask from your agent
claude mcp add --transport http markdownregistry https://markdownregistry.com/mcp/registry

Then ask it: what changed in conorluddy/xclaude-plugin/state-management since the version I have? It reads every saved version here, no key and no account. Any agent that speaks MCP can add it.

Got a copy of state-management from somewhere else? Ask it: where did my state-management come from, and what was changed? It names the public original, the version yours is closest to and every changed line. The text is not kept.

Versions

The registry has recorded 2 versions of this file, all committed on Nov 6, 2025.

Watch this file (sign in, one email per new version)

versioncommittedcommitsizeaudit
v0.0.1 latest2025-11-06 29196fb 15,966 BA view · diff
v2.0.02025-11-06 56e74e9 15,966 BA view
Keep it current by itself, install once

Committed this skill to a repository? Install the markdownregistry skill updates app on it, or on all of them. When the registry saves a newer version, a pull request brings your copy to it within minutes, the newest version first, then what changed and any check it newly trips. A copy you edited is never touched, and nothing is deleted.

Install on GitHub

It asks to read and write contents and pull requests, and to read metadata. No workflow file, no Actions setting, nothing runs on your runners. Uninstall it and everything the registry kept about your repository is deleted.

Keep it current by itself

Committed this skill to a repository? Add one workflow file, and when a newer version is saved, a pull request brings your copy to it, the newest version first, then what changed and any check it newly trips. A copy you edited is never touched, and nothing is deleted.

mkdir -p .github/workflows && curl -fsSL https://markdownregistry.com/ci/skill-updates.yml -o .github/workflows/skill-updates.yml

It runs daily on GitHub Actions, no key and no account. Read the workflow before you add it.

Check a whole project

From the root of your project, one line hashes each installed skill's SKILL.md, your AGENTS.md and your CLAUDE.md, and asks the registry once. Only the fingerprints and paths are sent.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --data-binary @- https://markdownregistry.com/api/v1/check-copies

In CI, add --fail-with-body: the answer is 409 when any file is behind, so the step fails and still prints which files.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --fail-with-body --data-binary @- https://markdownregistry.com/api/v1/check-copies

No sha256sum on your machine? shasum -a 256 prints the same lines.

Audit of the latest version

A  19 of 19 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (15966 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No encoded command decoded and run in a shell
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No decoded text run in a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

conorluddy/xclaude-plugin · 187 stars · license MIT · pushed 2026-10-20 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_fvhfrnan47a5wje7
GET https://markdownregistry.com/api/v1/resolve?ref=conorluddy/xclaude-plugin/state-management
GET https://markdownregistry.com/api/v1/blob/202a907b49a3c0754e7846aef00c209ca398c9007e8788e31b0bf7fa944a7432
GET https://markdownregistry.com/api/v1/list?kind=skill

Every file of this kind listed here, most starred first, in pages: send each page's next back as cursor. JSON, no key.

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from conorluddy/xclaude-plugin

xclaude-plugin-marketplace Plugin marketplace
conorluddy/xclaude-plugin · .claude-plugin/marketplace.json · iOS development automation plugin for Claude Code (1 plugin: xclaude-plugin)
v0.4.0 · audit A · 187 stars
CLAUDE.md CLAUDE.md file
conorluddy/xclaude-plugin · CLAUDE.md
git:20251116.2342910 · audit A · 187 stars
accessibility-testing SKILL.md skill
conorluddy/xclaude-plugin · skills/accessibility-testing/SKILL.md · WCAG compliance testing and accessibility quality assurance workflows for iOS apps. Use when validating accessibility…
v0.0.1 · audit A · 187 stars
crash-debugging SKILL.md skill
conorluddy/xclaude-plugin · skills/crash-debugging/SKILL.md · Crash log analysis, symbolication, and debugging workflows for iOS apps. Use when investigating app crashes, analyzing…
v0.0.1 · audit A · 187 stars
ios-testing-patterns SKILL.md skill
conorluddy/xclaude-plugin · skills/ios-testing-patterns/SKILL.md · XCTest and XCUITest execution workflows and flaky test detection patterns
v0.0.1 · audit A · 187 stars
performance-profiling SKILL.md skill
conorluddy/xclaude-plugin · skills/performance-profiling/SKILL.md · Instruments integration and performance analysis workflows for iOS apps. Use when profiling CPU usage, memory…
v0.0.1 · audit A · 187 stars
simulator-workflows SKILL.md skill
conorluddy/xclaude-plugin · skills/simulator-workflows/SKILL.md · iOS Simulator device and app management with simctl. Use when managing simulator devices (boot, create, delete)…
git:20251106.528f277 · audit A · 187 stars
ui-automation-workflows SKILL.md skill
conorluddy/xclaude-plugin · skills/ui-automation-workflows/SKILL.md · Accessibility-first UI automation using IDB. Query accessibility tree (fast, 50 tokens) before screenshots (slow, 170…
git:20251106.528f277 · audit A · 187 stars
xcode-workflows SKILL.md skill
conorluddy/xclaude-plugin · skills/xcode-workflows/SKILL.md · Xcode build system guidance for xcodebuild operations. Use when building iOS projects, running tests, analyzing build…
git:20251108.2d8616c · audit A · 187 stars

Every file in conorluddy/xclaude-plugin

Other files named state-management

state-management SKILL.md skill
a5c-ai/babysitter · library/methodologies/gsd/skills/state-management/SKILL.md · STATE.md reading, writing, and field-level updates. Provides cross-session state persistence via .planning/STATE.md…
v1.0.0 · audit A · 1,931 stars
state-management SKILL.md skill
andreibesleaga/gabbe · plugins/gabbe-architecture/skills/state-management/SKILL.md · Manage client-side state, side effects, and data flow. Use when: state management.
git:20261014.de0823c · audit A · 24 stars
state-management SKILL.md skill
komluk/scaffolding · skills/state-management/SKILL.md · Client state management standards: local-vs-global decisions, store structure, selectors, and re-render performance…
git:20260614.9d809af · audit A · 16 stars
state-management SKILL.md skill
darknecrocities/skillbuilder · skills/state-management/SKILL.md · Declarative state machines, TanStack Query server-state caching, invalidation, optimistic updates, atomic Zustand…
git:20261029.162f89b · audit A · 13 stars
state-management Cursor rule
darknecrocities/skillbuilder · .cursor/rules/state-management.mdc · Declarative state machines, TanStack Query server-state caching, invalidation, optimistic updates, atomic Zustand…
git:20261029.1aa6bef · audit A · 13 stars
state-management SKILL.md skill
aniruddhadas1/oniroute_swarmagents · skills/official/frontend/state-management/SKILL.md · Place state according to ownership, lifetime, synchronization, and consistency. Use when planning or reviewing state…
git:20260804.bc7d3a4 · audit A · 2 stars

Browse by kind, by grade A, or by owner.