Feature manifest

From curiositech/some_claude_skills · View interactive version

Feature manifest is an AI agent skill from the GitHub repository curiositech/some_claude_skills. Manage feature manifests for code traceability — create features, validate manifest health, map features to code, update changelogs. Activates for 'feature manifest', 'feature tracking', 'code traceability'. NOT for project management, issue tracking, or git workflow.

How to use this skill

Skill file

Feature Manifest Management

This skill helps you work with the feature manifest system that tracks the relationship between features and their implementations.

When to Use This Skill

Quick Commands

# List all features
npm run feature:info -- --list

# Get details about a feature
npm run feature:info -- <feature-id>

# Find which feature owns a file
npm run feature:info -- --files <filepath>

# Validate all manifests
npm run feature:validate

# Check feature health (staleness, orphans, coverage)
npm run feature:health

# Create a new feature manifest
npm run feature:create

Workflow: Creating a New Feature

  1. Create the manifest first:

```bash

npm run feature:create -- --id=my-feature --name="My Feature"

```

  1. Implement the feature, adding files as you go
  1. Update the manifest with:
  1. Validate before committing:

```bash

npm run feature:validate

```

Workflow: Modifying an Existing Feature

  1. Read the manifest first:

```bash

npm run feature:info -- &lt;feature-id>

```

  1. Make your changes to the implementation files
  1. Update the manifest:
  1. Validate:

```bash

npm run feature:validate

```

Manifest Structure

id: feature-id
name: Human Readable Name
status: complete  # planned | in-progress | complete | deprecated
priority: P1

description: |
  What this feature does and why it exists.

implementation:
  files:
    - src/app/api/feature/route.ts
    - src/lib/feature.ts
  entry_point: src/lib/feature.ts
  database_tables:
    - tableName
  api_routes:
    - POST /api/feature

tests:
  unit:
    - src/lib/__tests__/feature.test.ts
  integration: []
  e2e: []

dependencies:
  internal:
    - features/authentication.yaml
  external:
    - package-name
  env_vars:
    - FEATURE_SECRET
  secrets:
    - feature-api-key

history:
  created: "2024-12-01"
  last_modified: "2024-12-23"

changelog:
  - version: "1.0.0"
    date: "2024-12-23"
    changes:
      - "Initial implementation"

Health Report Interpretation

When running npm run feature:health:

Best Practices

  1. One feature per manifest - Keep them focused
  2. Update on every change - Don't let manifests go stale
  3. Changelog is append-only - Never modify old entries
  4. Include all files - Don't leave orphaned files
  5. Link dependencies - Show which features depend on others
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.