# Standards Config

> Apply when setting up a new project or when project config (standards.json) is absent. Documents the standards.json schema, what each field activates, and disabled_rules transparency.

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

## Install

```sh
agentstack add skill-pixelcrafts-app-agent-skills-standards-config
```

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

## About

# Standards Config

`standards.json` tells verification which skills apply to this project (so it doesn't guess from file types). Lives at `/standards.json` (`.claude/`/`.kimi/`/`.agent/`/project root); committed to the repo, reviewed in PRs.

## Schema

```json
{
  "stacks": ["web", "api"],
  "features": { "auth": "jwt-refresh", "realtime": false, "i18n": false, "payments": false },
  "disabled_rules": []
}
```

**`stacks[]`** — project-mandatory domains: `web` → web-standards · `mobile` → mobile-standards · `flutter` → flutter-standards · `api` → api-standards. Two+ stacks auto-activate `cross-stack-contracts`.

**`features{}`** — conditional skills: `auth` (`jwt-refresh`/`oauth`/`session`/`true`/`false`) → `api-design` auth contract · `realtime` → `websockets` · `i18n` → `i18n` · `payments` → future. When `false`, the skill is inactive; if its trigger patterns appear in code anyway, verification emits **INFO, not FAIL**.

## `features.aesthetic` — the project's declared aesthetic

Universal design rules (platform `design` R-rules, `design-system`) are always enforced; per-aesthetic specifics are INFO unless the project commits here. Absent/`active:null` → only universals enforced (no project ships under an enforced aesthetic by accident).

```json
"aesthetic": {
  "active": "soft-clay",
  "definitions": {
    "soft-clay": {
      "bans": ["gradient-text", "neon-accents"]   // pattern keys → FAIL on match
    },
    "alt-considered:utility-brutalist": { "...": "documents alternatives; not enforced" }
  }
}
```

Exactly one `active` aesthetic enforced; other definitions are an audit trail. Switching is one config edit, not a code change.

## `disabled_rules[]`

Escape hatch — each entry needs a reason: `{ "rule": "flutter-standards:observability", "reason": "..." }`. **Every verification report surfaces all disabled rules + reasons** (bypasses are never silent); a disabled rule with no reason → `WARN: add reason or re-enable`. Disabled ≠ deleted.

## Auto-generation (when planning finds no standards.json)

Detect stacks (extensions `.tsx`→web/`.dart`→flutter, `@nestjs`→api; manifests) and features (auth guards, socket imports, i18n packages) → present a draft inline → ask "correct?" → write on confirm; if skipped, note absence in the plan and fall back to auto-detection with an INFO notice. Manual review required before the file is authoritative.

## Maintenance

Update when a stack/feature is added. Don't delete a removed feature's key — set `false` so the absence is explicit. Verification reads `standards.json` in Step 0 as the authoritative source for project-mandatory skills; auto-detection is a fallback.

## Source & license

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

- **Author:** [pixelcrafts-app](https://github.com/pixelcrafts-app)
- **Source:** [pixelcrafts-app/agent-skills](https://github.com/pixelcrafts-app/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-pixelcrafts-app-agent-skills-standards-config
- Seller: https://agentstack.voostack.com/s/pixelcrafts-app
- 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%.
