CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

postcss-best-practices

This reference covers PostCSS setup, plugin selection and ordering, integration with Webpack, Vite, and Next.js, and production optimization. It also provides modern CSS examples, project organization guidance, and troubleshooting tips such as checking source maps and plugin order.

Quality

59%

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

Fix and improve this skill with Tessl

tessl review fix ./postcss-best-practices/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Scored by GLM 5.3

Content

53%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 skill body is highly actionable — every section ships executable config and commands — but it is a monolithic reference document: verbose, redundant across sections, and with no progressive disclosure into bundle files despite ample material that warrants them. Trimming known-concept explanations and splitting plugin/feature references into separate files would substantially improve it.

Suggestions

Move plugin-specific configurations (postcss-custom-media, postcss-mixins, postcss-simple-vars) and the Modern CSS Features examples into references/ files, keeping SKILL.md as a concise overview with clearly signaled one-level-deep links.

Delete the 'What is PostCSS' explainer and the duplicated postcss.config.js boilerplate (repeat the full config once and show only plugin-specific deltas afterwards), and drop the 'Common Plugin Combinations' section that restates earlier configs.

Add an explicit validation checkpoint to the setup workflow (e.g., run `postcss src/main.css -o dist/main.css` and verify the output contains expected prefixes/minification before proceeding).

DimensionReasoningScore

Conciseness

The 'What is PostCSS' section explains concepts Claude already knows, the full postcss.config.js is repeated nearly verbatim in each plugin section, and 'Common Plugin Combinations' plus duplicate cssnano/preset-env blocks restate earlier content. This is noticeably verbose with several padded sections rather than 'some unnecessary explanation' (anchor 3).

2 / 5

Actionability

The body is fully executable throughout: npm install commands, complete postcss.config.js files, Webpack/Vite/Next.js integration snippets, and input/output CSS examples are all copy-paste ready and cover the common cases. It clearly matches the top anchor.

5 / 5

Workflow Clarity

A setup sequence is present (installation → configuration → build-tool integration → debugging) and the debugging checklist gives an implicit verification path, but explicit checkpoints (e.g., verifying build output or comparing pre/post CSS) are missing. This lands between 'sequence present but checkpoints missing or implicit' and the clearer validated sequence of anchor 4.

3 / 5

Progressive Disclosure

No references/, scripts/, or assets/ files exist, and roughly 700 lines of plugin configurations and CSS feature examples that clearly belong in separate reference files are inlined in SKILL.md. Section headers provide some structure (so not a 1), but the core failure — content that should live in one-level-deep reference files inlined wholesale — matches anchor 2.

2 / 5

Total

12

/

20

Passed

Description

48%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.

The description identifies its PostCSS niche clearly but reads as a topic label rather than a capability statement: it lists no concrete actions and provides no 'use when' trigger guidance. Adding specific capabilities and explicit trigger conditions would move it from mediocre to strong.

Suggestions

Add 2-3 concrete actions, e.g. 'Configure postcss.config.js with plugins like autoprefixer, postcss-preset-env, and cssnano; integrate PostCSS with Webpack, Vite, and Next.js; optimize and minify CSS for production.'

Append an explicit trigger clause, e.g. 'Use when setting up or debugging PostCSS, configuring CSS build pipelines, or when the user mentions autoprefixer, vendor prefixes, cssnano, or postcss.config.js.'

Include natural synonyms and file extensions users would actually say (postcss.config.js, CSS pipeline, vendor prefixing, CSS minification) to improve trigger-term coverage.

DimensionReasoningScore

Specificity

The description names the domain ("PostCSS best practices and configuration guidelines") but its actions — "modern CSS processing and optimization" — are generic topic labels rather than concrete actions like configuring plugins or minifying output. It fits the anchor 'names the domain but actions are minimal or generic' better than anchor 3, which requires 1-2 genuinely concrete actions.

2 / 5

Completeness

It answers 'what' (best practices and configuration guidelines for CSS processing/optimization) but contains no 'Use when...' clause or equivalent explicit trigger guidance, which caps completeness at 3 per the judging guidelines. It is not a 4 because the 'when' is entirely absent rather than merely implicit-but-present.

3 / 5

Trigger Term Quality

It includes relevant keywords ("PostCSS", "CSS", "configuration") but misses natural variations users would say, such as "autoprefixer", "vendor prefixes", "cssnano", "CSS pipeline", or "postcss.config.js". This matches 'some relevant keywords but missing common variations or synonyms'.

3 / 5

Distinctiveness Conflict Risk

Naming PostCSS carves out a clear niche with minimal conflict risk, but the description overlaps slightly with general CSS-tooling, Tailwind, and build-configuration skills and lacks trigger phrases that sharpen the boundary. 'Mostly distinct; minor overlap risk with closely related skills' is the best fit.

4 / 5

Total

12

/

20

Passed

Validation

87%

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

Validation — 14 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

skill_md_line_count

SKILL.md is long (711 lines); consider splitting into references/ and linking

Warning

metadata_version

'metadata.version' is missing

Warning

Total

14

/

16

Passed

Repository

Mindrally/skills

Path

postcss-best-practices/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.