bd-attribute

Community

Declare a new data attribute across engines.

AuthorLonsdale201
Version1.0.0
Installs0

System Documentation

What problem does it solve?

When adding a new declarative attribute to BetterData, multiple engines must be wired (hydration, storage projection, REST schema, and presentation). Without consistent wiring, attributes can be ignored or cause incomplete behavior.

Core Features & Use Cases

  • Provides a pure data carrier under src/Attribute with constructor-promoted public properties.
  • Guides coordinated wiring across AttributeDrivenHydrator, SinkProjection, OptionSink, RestSchemaBuilder, and Presenter.
  • Includes documentation and unit-test patterns to ensure end-to-end correctness when introducing new attributes.

Quick Start

Create a new final readonly attribute under src/Attribute with constructor-promoted public properties and wire it into all engines (hydrator, sink, rest schema, and presenter) and add unit tests to cover end-to-end behavior.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: bd-attribute
Download link: https://github.com/Lonsdale201/wp-agent-skills/archive/main.zip#bd-attribute

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.