CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

validate-permission-group-item

Audit an existing enterprise permission-group item end-to-end — registry entry, schemas, type, defaults, tolerant parser, admin UI, capability rule, enforcement site, and tests — proving the gate actually refuses rather than assuming it. Use when checking a key in `PERMISSION_GROUP_FIELDS` or a capability in `CAPABILITY_RULES`.

Quality

85%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

77%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The body is an exceptionally concrete, well-sequenced audit procedure — every step carries executable commands, named code sites, and validation with a proof-by-removal feedback loop. Its weaknesses are density and monolithicism: a ~5k-token single file with repeated findings and rationale that the sibling skill already owns, much of which would serve better as one-level-deep reference files.

Suggestions

State the "a 'Hide the…' hint on a 'capability' key is a lie an admin acts on" finding once (Step 1) and merely reference it from the Report Format ranking and closing line; the current triple statement is the largest single trim.

Compress the Known gaps section to a one-line list of gap names, pointing to add-permission-group-item for the reasoning it already says lives there — the eight full-rationale bullets duplicate another skill's content.

Move the stable catalogues — the Step 5 classification details, the 'Who the gate runs against' subject-routing rules, and the Known gaps — into a references/ file (e.g. references/enforcement-catalogue.md) linked one level deep, keeping SKILL.md as the sequenced checklist.

DimensionReasoningScore

Conciseness

Nothing explains concepts Claude already knows — every line is codebase-specific, which is well above the verbose anchor — but at ~5k tokens the body could clearly be tightened: the "hint saying hide on a capability key is a lie" finding is argued in full in Step 1, again in the Report Format ranking, and again in the closing paragraph, and the Known gaps section duplicates rationale it itself says "add-permission-group-item carries in full". Fits the "mostly efficient but could be tightened" anchor better than anchor 4's "minor instances".

3 / 5

Actionability

Guidance is fully executable throughout: copy-paste greps with only the config key parameterized ("grep -rn \"<configKey>\" apps/sim --include='*.ts'…"), concrete check commands ("bun run check:permission-group-enforcement"), exact success-line shapes to compare against, named files, functions, and test fixtures for every step, and a prescribed report format. Matches the copy-paste-ready anchor with the common cases covered.

5 / 5

Workflow Clarity

Steps 1–7 are explicitly sequenced with validation checkpoints: Step 5 mandates proof ("write a failing case, or remove the gate… and confirm an existing test goes red… Restore afterward"), pre-checks the fixture's `workspaceOrganizationId` for vacuous passes, and Step 7 says "Read the output, not the exit codes" with the expected success lines and a table of what each audit catches — feedback loops for a destructive verification step are exactly the top anchor.

5 / 5

Progressive Disclosure

Sectioning is good (numbered steps, headed subsections) and the one reference — "add-permission-group-item owns the procedure and the rationale… Read it for *why*" — is clearly signaled and one level deep. But there are no bundle files at all: ~150 lines of dense material that clearly belongs in separate references (the Step 5 classification catalogue, the subject-routing rules, the Known gaps rationale) are all inlined in SKILL.md, which is the anchor-3 condition of content that should be separate sitting inline.

3 / 5

Total

16

/

20

Passed

Description

88%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description: it names a comprehensive, concrete audit pipeline, states the skill's distinguishing philosophy (proving refusal rather than assuming it), and carries an explicit 'Use when' clause anchored to the two registries a user would actually name. The only refinements are adding a few natural synonyms and sharpening the boundary against the add-permission-group-item sibling.

DimensionReasoningScore

Specificity

"Audit an existing enterprise permission-group item end-to-end — registry entry, schemas, type, defaults, tolerant parser, admin UI, capability rule, enforcement site, and tests — proving the gate actually refuses" enumerates the entire audit pipeline as concrete actions, matching the comprehensive-coverage anchor. It is not 4 because there are no minor gaps — every stage of the audit is named plus the distinguishing action (proving the refusal).

5 / 5

Completeness

The description explicitly answers both questions: what ("Audit an existing enterprise permission-group item end-to-end… proving the gate actually refuses rather than assuming it") and when ("Use when checking a key in `PERMISSION_GROUP_FIELDS` or a capability in `CAPABILITY_RULES`") with concrete trigger phrases. Matches the top anchor exactly; the 'when' clause is explicit, not weakly implied as at 4.

5 / 5

Trigger Term Quality

"Use when checking a key in `PERMISSION_GROUP_FIELDS` or a capability in `CAPABILITY_RULES`" plus "permission-group item", "audit", "admin UI", "enforcement" give good natural-phrase coverage for someone working in this codebase. It falls short of 5 because synonyms a user might equally say — e.g. "access control", "enterprise settings", "admin permission" — are absent.

4 / 5

Distinctiveness Conflict Risk

"Audit an existing… item" plus the named registries carve a clear niche that would not fire for unrelated skills. It is not 5 because the sibling `add-permission-group-item` skill operates on the same `PERMISSION_GROUP_FIELDS`/`CAPABILITY_RULES` triggers, so there is minor overlap risk with that closely related skill — exactly the anchor-4 condition.

4 / 5

Total

18

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

15

/

16

Passed

Repository

simstudioai/sim

Path

.agents/skills/validate-permission-group-item/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.