hoon-style-guide

Guide Hoon code style for naming, formatting, and organization.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/toplyr-narfur/urbit-skills --skill hoon-style-guide
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hoon-style-guide
Source: https://github.com/toplyr-narfur/urbit-skills/tree/main/skills/hoon-style-guide
Command: npx skills add https://github.com/toplyr-narfur/urbit-skills --skill hoon-style-guide

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a comprehensive guide to writing clean, idiomatic, and maintainable Hoon code, ensuring consistency and quality across projects.

Core Features & Use Cases

  • Naming Conventions: Standardizes arm, type, variable, and constant naming.
  • Code Formatting: Details indentation, alignment, and line length best practices.
  • Documentation: Emphasizes clear file headers, arm documentation, and inline comments.
  • Organization: Guides on structuring code logically within files and across the project.
  • Idiomatic Patterns: Highlights common, efficient Hoon patterns and anti-patterns to avoid.
  • Use Case: When starting a new Hoon module or reviewing existing code, consult this guide to ensure adherence to community standards for readability and maintainability.

Quick Start

Follow the Hoon style guide for writing clean, idiomatic, and maintainable Hoon code.

Frequently Asked Questions about hoon-style-guide

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

FAQPage Schema
What are the coding standards for writing idiomatic Hoon code on Urbit?

To write maintainable Hoon code, standardize arm, type, variable, and constant naming, apply consistent indentation and line length, document file headers and arms, and organize code logically within files and across the project.

What are common Hoon anti-patterns to avoid when building Urbit apps?

Common Hoon anti-patterns include inconsistent naming, poor code organization, missing documentation, and inefficient structural patterns that reduce readability. The style guide highlights these to help developers avoid maintainability issues.

How do I format and document Hoon modules for better code quality?

Format Hoon modules using consistent indentation, alignment, and line length, and document them with clear file headers, arm documentation, and inline comments. This ensures code readability and adherence to community standards.

Can I use this Hoon style guide to establish team coding standards?

Yes, you can use this style guide to establish team coding standards for Hoon development. It provides comprehensive conventions for naming, formatting, documentation, and organization to ensure consistent code quality across projects.

When should I consult a Hoon style guide during development?

Consult a Hoon style guide when starting a new Hoon module, reviewing existing code, or establishing team standards. It ensures adherence to community conventions for readability and maintainability throughout the development process.