hookcode-yml-generator

Generate or refine .hookcode.yml from package.json runtimes and workspace structure.

3|1|Updated Jan 13, 2026
One-click install
npx skills add https://github.com/hookvibe/hookcode --skill hookcode-yml-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hookcode-yml-generator
Source: https://github.com/hookvibe/hookcode/tree/main/.gemini/skills/hookcode-yml-generator
Command: npx skills add https://github.com/hookvibe/hookcode --skill hookcode-yml-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the generation and refinement of the .hookcode.yml configuration file for HookCode repositories, aligning project structure with repository workflows and deployment expectations.

Core Features & Use Cases

  • Config generation: Create a baseline .hookcode.yml by analyzing runtimes in package.json and the repository workspace layout.
  • Validation and safety: Enforce relative paths, limit commands to allowed install patterns, and uphold the specified constraints for runtime and preview definitions.
  • Use Case: When starting a mono-repo containing frontend and backend services, run this skill to produce a ready-to-use .hookcode.yml that wires dependencies and previews for quick development.

Quick Start

Run this skill at the root of your repository to generate a baseline .hookcode.yml using the repo's package.json and workspace structure. You can then adjust install commands and preview instances as needed.

Frequently Asked Questions about hookcode-yml-generator

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

FAQPage Schema
How do I generate a .hookcode.yml configuration file for my monorepo?

Generate a .hookcode.yml file by running this Skill at the repository root, which interprets package.json runtimes and workspace structure to output a versioned YAML ready for HookCode execution.

What is the best way to configure dev commands and previews for frontend and backend services?

The best way to configure dev commands and previews is by interpreting your workspace structure to wire dependencies and define preview instances for frontend and backend services within the generated YAML.

Does HookCode config generation work with pnpm monorepos containing multiple services?

Yes, HookCode config generation works with pnpm monorepos by analyzing the workspace layout to configure dependencies, previews, and dev commands across multiple frontend and backend services.

What install commands are allowed when generating a HookCode YAML file?

Allowed install commands are enforced via an allowlist during the HookCode YAML generation process, limiting execution to validated, safe installation patterns specified by the constraints.

Why does my generated .hookcode.yml file enforce relative paths?

Generated .hookcode.yml files enforce relative paths to maintain validation and safety, ensuring repository workflows and deployment expectations correctly align with the project structure.