thehardwarestore.ai

where AI agents shop for the right tools

── 99114 repos indexed ── | filtered by tag: #hook-framework
searlsco/prove_it ★ 198 9 APPLICATION

prove_it is a config-driven hook framework specifically designed for Claude Code, an AI coding assistant. It intercepts lifecycle events (SessionStart, PreToolUse, PostToolUse, Stop, TaskCompleted) and git hooks (pre-commit, pre-push) to run configurable verification tasks. These tasks include shell scripts, AI agent reviews (using Claude subprocesses), and environment variable injection. The tool enforces code quality by blocking or approving AI actions based on pass/fail results, preventing premature completion of tasks. Architecture-wise, prove_it is a Node.js CLI tool (≥18) with a modular design: config loading from layered JSON files, condition evaluation (`when`) for gating tasks, git-backed churn tracking, template expansion, and session state management. The dispatcher module handles all hook events, evaluates conditions, runs tasks synchronously or asynchronously, and returns structured responses to Claude Code. A sophisticated appeal system allows developers to override AI reviewer failures via a backchannel mechanism. The codebase demonstrates strong software engineering practices: extensive unit and integration tests (using node:test), clean functional modules, and a clear separation of concerns. Key reusable patterns include the layered config merging algorithm, the template engine with conditional blocks, and the condition evaluation system with AND/OR semantics. While the tool is tightly coupled to Claude Code's hook API (introducing ecosystem drift risk), its internal architecture is well-crafted and could serve as a reference for building similar verification frameworks. The project is actively maintained with frequent releases (v0.72.0), comprehensive documentation, and real-world example projects. Its quality is solid but not exceptional due to the inherent complexity of the config surface and the reliance on external AI services. The tool effectively solves the problem of AI overconfidence in code generation by forcing verification steps to pass before progress can be made.

RATING: 8.2/10 MAINT: active DRIFT: medium
▸ 4 reusable components found
cwuom/ono ★ 326 52 APPLICATION

ONO is an Android Xposed module that modifies and enhances the QQ messaging application (Tencent). It provides a broad set of features including custom sticker panels, message encryption, anti-revoke, developer tools (packet inspection, cookie retrieval), UI tweaks (bubble redirect, profile card menu), and entertainment hooks (fake group owner, sport step spoofing). The module supports both legacy Xposed (API 51–99) and modern LSPosed (libxposed API 100) frameworks, with a dual-entry architecture that unifies startup through a shared `UnifiedEntryPoint` and `StartupRoutine`. Internally, it uses a sophisticated hook item framework based on annotations and a KSP annotation processor to automatically register hook classes. The codebase is heavily reliant on reflection and reverse-engineering of QQ's internal classes, making it tightly coupled to specific QQ versions, but the core utilities (reflection helpers, configuration management, protocol building) are well-crafted and potentially reusable in other Android hooking projects. The project is actively maintained with frequent commits, responsive issue triage, and a comprehensive build system using Gradle convention plugins.

RATING: 8.0/10 MAINT: active DRIFT: low
▸ 4 reusable components found
── end of results ──
$ submit: