agentleFS
wellwelwelwellwelwel/poku/.claude/skills/architecture/SKILL.md

architecture

Skill1.2k starsChanged 5 months agoMITView on GitHub

Architecture deep-dive for poku covering project structure, execution flow, config discovery, runtime detection, and competitive context. Use when navigating the codebase or understanding how components fit together.

We split this skill into the rules it gives an agent

2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 111 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read the src/ tree to understand module organization.

    line 10
  2. Very specific:

    Read the runtime detection and runner resolution in src/parsers/:

    line 41

“Common” is measured: kept by at least 6 in 10 of the 111 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

How the project is organized and where to look. Read the actual directories and source to confirm details, since file lists change over time.

1. Directory Structure

Read the src/ tree to understand module organization. Each directory has a clear responsibility:

  • src/modules/: public surface. The barrel files exposed to consumers are the ones listed under exports in package.json (read it for the current entrypoints). Subfolders hold the essentials (core poku/assert/strict) and the helper APIs (describe, it, test, skip, kill, env, etc.)
  • src/services/: runtime services. The runner, per-file execution, watch mode, and reporters live here
  • src/parsers/: CLI and config parsing. Argument reading, config discovery, runtime detection, and runner resolution
  • src/configs/: global state, including the GLOBAL singleton
  • src/builders/: chainable builders (assert, reporter)
  • src/polyfills/: cross-runtime compatibility shims
  • src/bin/: CLI entry. src/bin/index.ts is the published binary
  • src/@types/: TypeScript type definitions

To find a specific file, read the relevant directory rather than relying on a fixed list here.

2. Execution Flow

Trace the path from CLI invocation to test results:

  1. The CLI entry (src/bin/index.ts) parses args, loads config, and calls poku()
  2. The poku() orchestrator in the essentials module starts the run
  3. The runner service builds a concurrency-bounded queue and iterates the matched files
  4. Each test file is spawned in its own process with shell: false
  5. Child processes inherit POKU_* environment variables set by the parent
  6. The selected reporter renders results

3. Config System

  • Auto-discovered files (in order): poku.config.js, .pokurc.json, .pokurc.jsonc. The discovery logic lives in the options parser under src/parsers/. poku.config.cjs and poku.config.ts are supported only via an explicit --config= flag, not auto-discovery
  • For the available options, read the config types in src/@types/ and the CLI help in src/bin/. They are the source of truth and stay current as options evolve

4. Runtime Detection

Read the runtime detection and runner resolution in src/parsers/:

  • Detection order: POKU_RUNTIME env var, then typeof Deno, then typeof Bun, otherwise default 'node'
  • Runner: Bun (['bun']), Deno (['deno', 'run', ...perms]), Node (['node'], or ['node', '--import=tsx'] for TypeScript files)

5. Competitive Context

Poku differentiates from Jest/Vitest/Mocha/etc. by:

  • No internal test mapping: tests are not registered or mapped internally, only their execution is reported. This is the core architectural decision that makes tests behave as plain JavaScript (see the Philosophy in CLAUDE.md)
  • Zero runtime dependencies
  • Faster than Jest and Vitest in the project's own benchmarks (see benchmark/ for current numbers and the caveats stated there)
  • Process-per-file isolation by default (--isolation=none runs all files in the same process, useful for debugging)
  • Cross-platform (Node/Bun/Deno) zero-config
  • Built-in service management (startService, waitForPort, kill, and related helpers)

Download now (ZIP)

Trending

Less talk lately.about the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 1 mentionMar 2026: 4 mentionsApr 2026: 7 mentionsMay 2026: 5 mentionsJun 2026: 4 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 1 mentionNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the wellwelwel/poku repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about wellwelwel/poku

The biggest 5 of 53 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 53

Talked about on GitHub, Bluesky and Hacker News (53 times).

On GitHub · 50

45 more on GitHub

On Hacker News · 1

  • Other versions126 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 126

    1. anthropics/knowledge-work-plugins★ 34ksame name
    2. iOfficeAI/AionUi★ 34ksame name
    3. vudovn/ag-kit★ 8.2ksame name
    4. vudovn/antigravity-kit★ 8.2ksame name
    5. nativewind/nativewind★ 8.1ksame name
    6. PaulWoitaschek/Voice★ 3.2ksame name
    7. Alwurts/simple-ai★ 755same name
    8. patrickjaja/claude-desktop-extra★ 696same name
    9. ktnyt/cclsp★ 673same name
    10. matrixorigin/Memoria★ 614same name

    116 more not listed

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • Used alongsideProjects with it also use intelligent-routing, bash-linux and 10 more.

    Other files people use alongside this one.

    Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
    • SKB3002Skill

      intelligent-routing

      Automatic agent selection and intelligent task routing. Analyzes user requests and automatically selects the best specialist agent(s) without requiring explicit user mentions.

      Also in 6 projects that use this

    • xenitV1Skill

      bash-linux

      Bash/Linux terminal patterns. Critical commands, piping, error handling, scripting. Use when working on macOS or Linux systems.

      Also in 8 projects that use this

    • xenitV1Skill

      red-team-tactics

      Red team tactics principles based on MITRE ATT&CK. Attack phases, detection evasion, reporting.

      Also in 8 projects that use this

    • xfstudioSkill

      rust-pro

      Master Rust 1.75+ with modern async patterns, advanced type system

      Also in 6 projects that use this

    • +8 more from xenitV1
  • In this repository8 other files it gives its agents.

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.