This skill helps you organize VS Code tasks.json files for consistency and
developer experience improvements.
Analysis Steps
- •Check for available scripts Check for common task types: dev/run, build,
test, lint, format in the language ecosystem (eg JavaScript/TypeScript check
package.jsonscripts) - •Identify inconsistencies in the task.json analyze property ordering, naming conventions, and missing properties. The output should be a list of recommended improvements to ensure consistency and enhance developer experience.
- •Review task grouping — VS Code supports
build,test, ornonegroups
Improvements to Apply
Property Ordering
Standardize all tasks with consistent property order: label → type →
command → group → icon → detail → options → problemMatcher
Naming Conventions
- •Use consistent label format (e.g.,
Title Case) - •Match casing across all tasks
Icons
All tasks should have an icon, if already present ensure consistency in style and color (based on task category) and that the icon is appropriate and intuitive.
If missing, add semantic icons with appropriate colors using these defaults:
- •Dev/Run tasks: green (
terminal.ansiGreen) withrunorglobeicons - •Build tasks: cyan (
terminal.ansiCyan) withtoolsicon - •Test tasks: magenta (
terminal.ansiMagenta) withbeaker,browser, oreyeicons - •Lint tasks: yellow (
terminal.ansiYellow) withsearchicon - •Format tasks: blue (
terminal.ansiBlue) withsymbol-colororwandicons
Details
Add descriptive detail text explaining each task's purpose
Problem Matchers
Add appropriate problem matchers for error detection based on language ecosystem and task type:
- •JavaScript/TypeScript:
$tsc,$eslint-stylish
Cleanup
- •Remove redundant
options.cwdif defaulting to workspace folder - •Fix any JSON syntax errors (trailing commas, etc.)