← Skills

setup-pre-commit

Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, or add commit-time formatting/typechecking/testing.

Agent Skill from mattpocock/skills

Copilot Studio

Passes documented load rules

No documented load rule failed.

Microsoft 365 Copilot Preview, Frontier tenants only

Passes documented load rules

No documented load rule failed.

Warnings (don't change the verdict):

An agent can have at most 8 skills. Custom skills aren't available in tenants that use Microsoft Purview Information Barriers.

Compatible isn't the same as safe. These verdicts only say whether a skill's files follow Microsoft's documented load rules. The checker reads files and never runs them, and it doesn't review what a skill or its scripts actually do. Read a skill's instructions and scripts before you add it to an agent.

Standards signals

Meets the agentskills.io required fields.

FrontmatterPresent and parsed
Spec: frontmatter
nameMeets the spec (1-64 chars, a-z 0-9 hyphens)
Spec: name
descriptionPresent, 1-1,024 characters
Spec: description
compatibilityAbsent or under 500 characters
Spec: compatibility
Name matches folderYes (setup-pre-commit)
Spec: name

Observed from the public SKILL.md at the commit above on 2026-10-23. Not a certification: AAIF and the Agent Skills project don't certify skills. Validate your own skill with skills-ref validate.

Source repomattpocock/skills
Pathskills/misc/setup-pre-commit/SKILL.md
Commit checked5beb35b040e3
Repo licenseMIT
Files2
ScriptsNone
Instructions1,975 characters
Deepest folder1 below the skill folder
Installs (skills.sh)483,785
Rules version2026-10-22

Re-check the latest version How skill checks work

Is this wrong or out of date? Email us. Skills data built 2026-10-23; rules as of 2026-10-22.

Rule-based checks of public files against Microsoft's documented load rules, not tested in Copilot Studio or Microsoft 365 Copilot. Independent project, not affiliated with Microsoft.