name: field-library-management description: Use when adding or updating decision fields, template field assignments, or field-library seed data, including prompt metadata and verification through field/template commands.
Field Library Management
Use this workflow when changing the field library or template composition.
Workflow
- Read
docs/field-library-architecture.md. - Update field definitions in the field-library seed source.
- Update template assignments in the template seed source.
- Keep field definitions reusable; do not hardcode template-specific copies.
- If extraction behavior changes, bump the field prompt version.
- Run the relevant seed/setup command if the repo uses one.
- Verify the new field and template composition through CLI or tests.
Rules
- Never hardcode field lists in application logic.
- Prefer reusable field definitions over template-specific duplication.
- Treat the database-backed field library as the source of truth.
Checks
decision-logger field list
decision-logger field show <field-id>
decision-logger template show <template-id>
References
docs/field-library-architecture.mddocs/prompt-engineering.md.claude/skills/field-library-management.md