# Design Blade Component

> Use when creating or refactoring Blade components, partials, and reusable view pieces.

- **Type:** Skill
- **Install:** `agentstack add skill-alizharb-agent-skills-design-blade-component`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [AlizHarb](https://agentstack.voostack.com/s/alizharb)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [AlizHarb](https://github.com/AlizHarb)
- **Source:** https://github.com/AlizHarb/agent-skills/tree/main/resources/boost/skills/design-blade-component

## Install

```sh
agentstack add skill-alizharb-agent-skills-design-blade-component
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Design Blade Component

## When To Use

Use this skill when a Blade view is getting repetitive, too large, or hard to reuse across the app.

## Inputs Needed

- UI purpose, repeated markup, slots, props, localization needs, accessibility concerns, and tests.

## Workflow

1. Inspect existing Blade components and partials.
2. Decide whether the UI belongs in a class-based component, anonymous component, or partial.
3. Prefer the smallest reusable unit that removes duplication.
4. Keep component APIs small and obvious.
5. Localize labels and messages.
6. Keep presentation logic out of the template whenever possible.
7. Add tests when the component drives behavior or important UI states.

## Files That May Be Created

- Blade component classes, component views, partials, and tests.

## Files That May Be Modified

- Existing views, translation files, and tests.

## Architecture Rules

- Blade should render presentation only.
- Shared markup belongs in shared components instead of repeated snippets.
- Keep templates small enough that they remain easy to scan.

## Testing Requirements

- Test rendering, visible states, localization, and accessibility-sensitive behavior when relevant.

## Review Checklist

- Is the component reusable?
- Is the public API small?
- Would a partial or slot make the code cleaner?

## Common Mistakes to Avoid

- Duplicating the same markup across many views.
- Putting business logic in the template.
- Creating a component when a simple partial would be clearer.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [AlizHarb](https://github.com/AlizHarb)
- **Source:** [AlizHarb/agent-skills](https://github.com/AlizHarb/agent-skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-alizharb-agent-skills-design-blade-component
- Seller: https://agentstack.voostack.com/s/alizharb
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
