repo-workflow

Automate repository validation and commit hygiene with lint, typecheck, tests, and conventional commits.

Updated Jan 20, 2025
One-click install
npx skills add https://github.com/Nosto/web-components --skill repo-workflow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: repo-workflow
Source: https://github.com/Nosto/web-components/tree/main/.agents/skills/repo-workflow
Command: npx skills add https://github.com/Nosto/web-components --skill repo-workflow

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill standardizes and automates repository validation and commit hygiene to prevent invalid changes from being merged.

Core Features & Use Cases

  • Validates code changes with lint, typecheck, and tests before commit.
  • Enforces Storybook validation for UI components and ensures documentation consistency.
  • Enforces conventional commits and provides guidance on commit messaging to maintain changelog accuracy.

Quick Start

Run the required validation steps locally before committing changes.

Frequently Asked Questions about repo-workflow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate repository validation and linting before committing code?

To automate repository validation before committing, this Skill runs required commands like npm run lint, npm run typecheck, and npm test to ensure code changes are clean and valid.

How do I enforce conventional commits and Storybook validation in my repository?

To enforce conventional commits and Storybook validation, this Skill checks commit messages against guidelines and validates UI components to maintain documentation consistency before merging.

Can I skip repository checks and verification when committing changes?

Yes, you can skip repository verification when necessary by using the --no-verify flag, allowing you to bypass the automated lint, typecheck, and test checks during specific commits.

What is the best way to maintain commit hygiene and prevent invalid code merges?

The best way to maintain commit hygiene is to standardize validation using this Skill, which automatically runs lint, typecheck, tests, and Storybook validation to prevent invalid repository changes.

Does this repository validation Skill require any specific dependencies or components?

No, this repository validation Skill does not require any specific dependencies or components to function, making it applicable to any software project needing commit hygiene automation.

Why do I need to run lint-fix and typecheck before a commit?

You need to run lint-fix and typecheck before a commit to automatically resolve code formatting issues and verify type safety, ensuring that only valid, clean changes are committed to the repository.