hf-build

Enforce test-driven development and evidence logging during HarnessFlow build stages.

51|23|Updated Apr 16, 2026
One-click install
npx skills add https://github.com/hujianbest/harness-flow --skill hf-build
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hf-build
Source: https://github.com/hujianbest/harness-flow/tree/main/skills/hf-build
Command: npx skills add https://github.com/hujianbest/harness-flow --skill hf-build

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill ensures the stability of the build stage in the HarnessFlow workflow by enforcing a strict TDD (Test-Driven Development) discipline, reducing the risk of deployment issues.

Core Features & Use Cases

  • Test-Driven Development: Enforces a 'red-green-refactor' cycle for every task, ensuring each piece of code is tested and validated.
  • Evidence Logging: Requires all tests and builds to be logged with evidence, providing a clear audit trail.
  • Stage Transition Control: Prevents moving to the next stage unless the current stage's criteria are met, ensuring a robust build process.

Quick Start

Execute the 'hf_gate.py run' command with the appropriate feature and label to initiate a build stage and log evidence.

Frequently Asked Questions about hf-build

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

FAQPage Schema
How do I enforce test-driven development during the build stage?

You enforce test-driven development during the build stage by running the HarnessFlow gate scripts, which mandate a red-green-refactor cycle and require execution evidence for each code change.

What is the best way to maintain an audit trail for test execution in a deployment pipeline?

You maintain an audit trail for test execution by using a build stage discipline process that logs all tests and builds with evidence, ensuring a clear record for deployment stability.

How do I prevent stage transitions in a workflow unless code review criteria are met?

You prevent stage transitions in a workflow unless code review criteria are met by implementing stage transition control scripts that block progression until all current stage criteria are validated.

Do I need Python scripts to run stage checks and log evidence for code changes?

Yes, you need Python scripts to run stage checks and log evidence for code changes, as the build stage enforcement requires Python scripts for executing checks and generating audit logs.

How do I start a build stage and log evidence using the command line?

To start a build stage and log evidence using the command line, execute the 'hf_gate.py run' command with the appropriate feature and label to initiate the stage and record execution proof.