Skills

Scaffold

Use when starting hyperflow in a new project, refreshing the .hyperflow/ cache, or...

Install

npx skills add jeremylongshore/tons-of-skills-marketplace --skill scaffold -g -a claude-code -y
Category
AI and agents
Updated
3d ago
License
MIT
Context cost
Mediumabout 2,939 tokens
Runs scripts
No, instructions only

What it does

Use when starting hyperflow in a new project, refreshing the .hyperflow/ cache, or installing auto-detection shims (AGENTS.md, CLAUDE.md). One-shot project setup; does not start the spec → scope → dispatch chain. Trigger with /hyperflow:scaffold, "init hyperflow", "set up hyperflow", "refresh hyperflow", "install hyperflow shims".

Scaffold

One-shot project setup. Analyzes the codebase, builds the .hyperflow/ cache, seeds the memory skeleton, and optionally installs detection shims for other AI tools. Does not start the plan → dispatch chain, invoke /hyperflow:plan when you're ready for that.

Step 1, Analysis Cache

Check for .hyperflow/ at project root.

If absent, dispatch parallel searchers (single message, six Agent calls):

LabelFile generatedDiscovers
Searcher, analyzing tech stackprofile.mdName, language, framework, build commands
Searcher, mapping folder structurearchitecture.mdDirs, patterns, routing, data flow
Searcher, extracting conventionsconventions.mdNaming, style, linting rules
Searcher, scanning dependenciesdependencies.mdUI lib, state, data fetching, DB, auth
Searcher, auditing test setuptesting.mdRunner, E2E, patterns, commands
Searcher, reading git workflowgit-workflow.mdBranches, commits, CI/CD, PR conventions

See project-analysis.md for what each file captures.

If present, staleness check: Compute SHA256 of tracked config files, compare against .hyperflow/.checksums. Refresh only stale files. Print Refreshing, <comma-separated list of stale files>.

After analysis:

  • Write .hyperflow/.checksums (SHA256 of package.json, tsconfig.json, eslint/biome config, etc.)
  • Write .hyperflow/.version (the current plugin version from skills/hyperflow/VERSION) so the cache is stamped current. The session-start migrator (scripts/migrate-cache.py) reads this marker on later sessions and brings an older cache forward when the plugin version moves, a missing/older marker triggers an idempotent, additive migration (new memory files, refreshed doctrine copy).
  • Append to .gitignore if .hyperflow/ is not already excluded

Step 2, Memory Skeleton

Create .hyperflow/memory/ if absent:

Read the whole SKILL.md on GitHub

More in AI and agents