Skip to content
Back to skills

Context Shards

ASecurity

Build and use per-sequence project context shards so an agent can work on a feature film without loading the whole project state.

  • 2 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 9, 2026
ai-agents

Security analysis

A100/100

Scanned September 9, 2026

npx -y skills add badgids/Story-Film-Skills --skill context-shards --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Context Shards?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Context Shards
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/badgids-context-shards/badge)](https://www.skillsdirectory.com/skills/badgids-context-shards)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: context-shards
description: Build and use per-sequence project context shards so an agent can work on a feature film without loading the whole project state.
disable-model-invocation: true
author: Alan Guice (Badgids)
license: Apache-2.0
---

# Context Shards

## Use

1. Read `../../references/CONTEXT_SHARDS.md`.
2. Read the current durable project state before you make a decision.
3. Work on the smallest valid `SEQ-###`, job frontier, or global gate.
4. Use `../../scripts/context_shards.py` for deterministic state changes or checks.
5. Save the result before you continue.
6. If the result blocks progress, keep the current Todo target blocked until the problem is fixed.

## Rules

- Do not load the full feature-film state when a sequence shard is sufficient. A shard includes the relevant canon and current story-state subset needed for its related character/location/prop IDs.
- Do not treat a shard as a second canon; authoritative project files still win.
- Do not infer completion from file existence alone.
- Do not hide an exception. Record the exception and the reason.
- Preserve stable IDs and project-relative paths.
- Use global checks only when the check needs global evidence.

## Done

The requested feature-scale state is written, validated, and traceable from durable project files.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…