# Schema Smells

> Detect common schema and data quality smells in GIS layers

- Skill: `danmaps/schema-smells` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add danmaps/schema-smells`
- Raw SKILL.md: https://api.skillmd.com/api/skills/danmaps/schema-smells/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: danmaps (https://skillmd.com/u/danmaps)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/danmaps/schema-smells

---


# Schema Smells

Identify schema issues that cause brittle analyses or slow performance.

## Inputs

- `layer_names` (array)
- `checks` (array, optional)

## Use arcgispro-cli

- `arcgispro fields "LayerName"`
- `arcgispro layers --json`

## Output

A list of smells with severity and fixes, for example:
- Mixed field types across similar layers
- Nullable ID fields
- Domainless coded values
- Unindexed join fields
- Geometry type mismatches

## Example

**User:** “Check parcels and addresses for schema smells.”

**Output:** 6–10 smells with fixes and priorities.

## Intent

State the operational goal of the skill and what good output should accomplish.

## Outputs

Return a concise, usable result with the key artifacts or recommendations.

## Safety

Do not invent data, credentials, or system context. Flag uncertainty and risky operations clearly.


