hkit

Spec-driven AI Engineering Framework

Private personal project

hkit is an additive framework around GitHub Spec Kit. It connects specification, clarification, planning, task breakdown, implementation, review, architecture decisions, verification, and delivery across Claude Code, Codex, and other coding agents. It is not an official GitHub Spec Kit fork and does not imply upstream endorsement.

Role Design and implementation

hkit

Waiting for a person at Specify. Is the specification clear enough to plan from? A person decides before planning starts.

Specification, planning, implementation, and delivery each have explicit review points outside the model's judgment.

The problem

Long AI coding sessions can produce changes that are hard to review, test, or hand off. hkit structures the work into planned stages with human gates and evidence-based outputs.

How it fits together

hkit workflow
Review · Acceptance criteria · Tests
Specify
Clarify
Plan
Tasks
Implement
Review
Verify
Deliver

Claude Code · Codex · MCP · Skills · Hooks · Worktrees

Additive framework around GitHub Spec Kit (not an official fork)

Step through the workflow

8 stages. 4 of them are human gates, where the run waits for a person.

hkit workflow demo, not a real run

  1. Specifyhuman gate

    doesProduces the specification.

    checksIs the specification clear enough to plan from? A person decides before planning starts.

  2. Clarify

    doesProduces the clarified specification.

    checksNo human gate. The next stage can verify against the clarified specification.

  3. Planhuman gate

    doesProduces the plan.

    checksDoes the plan cover the specification? A person decides before tasks are cut.

  4. Tasks

    doesProduces the task list.

    checksNo human gate. The next stage can verify against the task list.

  5. Implementhuman gate

    doesProduces the change.

    checksReview routing before changes are accepted. Behavioral quality gates and negative controls on agent outputs.

  6. Review

    doesProduces the review notes.

    checksNo human gate. The next stage can verify against the review notes.

  7. Verify

    doesProduces the verification evidence.

    checksNo human gate. The next stage can verify against the verification evidence.

  8. Deliverhuman gate

    doesProduces the delivery.

    checksDoes the delivery match what was specified? A person signs it off.

What I worked on

  • Built specification, planning, implementation, review, and delivery workflows.
  • Added behavioral quality gates and negative controls.
  • Created architecture decision record capture.
  • Implemented review routing and agent handoffs.
  • Added session hooks and worktree isolation.
  • Shared instructions across coding agents.
  • Built Markdown to HTML/PDF delivery with Mermaid diagrams.
  • Supported Arabic RTL output and redacted client deliverables.

Decisions and trade-offs

Additive around Spec Kit

The framework wraps untouched upstream Spec Kit assets rather than forking or modifying them.

Human gates at each stage

Specification, planning, implementation, and delivery each have explicit review points outside the model's judgment.

Evidence-based handoffs

Each stage produces artifacts that the next stage can verify against, not just chat history.

Testing and verification

  • Behavioral quality gates and negative controls on agent outputs.
  • Review routing before changes are accepted.
  • Structured handoff artifacts between workflow stages.

Tools and workflow

Workflow

Specification, Clarification, Planning, Task decomposition, Implementation, Review, Verification, Delivery

Agent tooling

Claude Code, OpenAI Codex, MCP, Subagents, Custom skills, Hooks, Git worktrees

Output

Markdown, Mermaid diagrams, HTML/PDF delivery, Arabic RTL

Private personal project. No public repository link at this time.

Next project

ZadPOS

Offline Arabic Point of Sale

Get in touch

Email is the best way to reach me.

Ask for my CV on LinkedIn or by email.