sw-guard

Detect project stacks and implement automated quality checks across development workflows.

9|1|Updated Feb 9, 2026
One-click install
npx skills add https://github.com/Obsidian-Owl/specwright --skill sw-guard
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sw-guard
Source: https://github.com/Obsidian-Owl/specwright/tree/main/skills/sw-guard
Command: npx skills add https://github.com/Obsidian-Owl/specwright --skill sw-guard

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you establish and enforce automated quality checks across your development workflow, ensuring code consistency, security, and correctness at every stage.

Core Features & Use Cases

  • Stack Detection: Automatically identifies your project's programming languages, frameworks, and tools.
  • Guardrail Implementation: Interactively guides you to set up checks for session, commit, push, and CI/CD pipelines.
  • Preserves Existing Setups: Detects and integrates with your current tools and configurations, avoiding conflicts.
  • Use Case: After initializing a new Node.js project with Express, this Skill can help you set up ESLint for code linting, Prettier for formatting, and Husky for pre-commit hooks, all tailored to your project's needs.

Quick Start

Use the sw-guard skill to set up automated quality checks for my project.

Frequently Asked Questions about sw-guard

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

FAQPage Schema
How do I set up automated quality checks across my CI/CD pipeline and git hooks?

Automated quality checks can be established by scanning dependency manifests, git hooks, and CI workflows to preserve existing configurations and interactively recommend tailored checks for session, commit, push, and CI/CD layers.

What are the best guardrails to enforce code consistency and security during development?

Effective guardrails involve implementing tailored quality checks based on your detected project stack, enforcing code consistency, security, and correctness at every stage from local sessions to continuous integration pipelines.

Can I implement linting and formatting tools without breaking my existing CI workflows?

Yes, the process detects and integrates with your current tools and configurations by scanning existing dependency manifests and CI workflows, avoiding conflicts while setting up new quality checks.

How does stack detection work when configuring code quality automation?

Stack detection automatically identifies your project's programming languages, frameworks, and tools by scanning dependency manifests, which then guides the recommendation of tailored guardrails based on user preferences.

Do I need to manually configure pre-commit hooks for my Node.js project?

No, you can interactively set up pre-commit hooks and other quality checks tailored to your project's needs, as the tool detects your stack and existing configurations to recommend appropriate setups.