harden

Audit and fix error handling, logging, and input validation gaps in codebases.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/oobagi/jflow --skill harden-oobagi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: harden
Source: https://github.com/oobagi/jflow/tree/main/skills/harden
Command: npx skills add https://github.com/oobagi/jflow --skill harden-oobagi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyze and implement code safety systems — structured error logging, input validation, error boundaries, and graceful degradation. Use "audit" for report-only mode.

Core Features & Use Cases

  • Audits and fixes error handling gaps across projects.
  • Adds global error handling, improved logging, input validation, and boundary protections.
  • Works standalone or with /autopilot; supports audit-only mode and fix mode.

Quick Start

Run harden to scan the project and automatically apply safety improvements in the default fix mode.

Frequently Asked Questions about harden

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

FAQPage Schema
How do I automatically add error handling and input validation to an existing codebase?

You can automatically add error handling and input validation by running a security audit tool that scans your codebase for safety gaps and implements structured logging, error boundaries, and graceful degradation in fix mode.

What is the best way to audit a multi-language project for missing error boundaries and logging gaps?

The best way to audit multi-language projects for error boundaries and logging gaps is using an audit-only mode that inspects existing project conventions and reports safety vulnerabilities without applying automated code fixes.

Can I run an automated code safety audit without introducing breaking changes to my frameworks?

Yes, you can run automated code safety audits without breaking changes because the tool inspects existing logging and error patterns to apply boundary protection techniques that follow your current project conventions.

How does automatic code hardening handle structured logging and graceful degradation?

Automatic code hardening handles structured logging and graceful degradation by identifying unprotected code boundaries and injecting standardized error handling and logging mechanisms that align with your existing framework patterns.

Do I need to manually refactor code to improve security and input validation across different frameworks?

You do not need to manually refactor code for security and input validation because automated tools can detect missing safety protections and apply robust error handling across multiple languages and frameworks directly.

What are the limitations of using automated error handling and boundary protection in fix mode?

The limitation of automated error handling in fix mode is that it relies on inspecting existing project patterns, meaning highly unconventional or deeply nested legacy architectures may require manual review to ensure correct boundary protection.