agentsclimarketplace

Hs plan

Skill danielleit241/hs-skills/skills/hs-plan

Plan implementations, design architectures, create technical roadmaps with detailed phases. Use for feature planning, system design, solution architecture, implementation strategy, phase documentation.From its SKILL.md

Install
npx -y skills add danielleit241/hs-skills --skill hs-plan

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • 22 days oldThe repository was created 22 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its file declares

Copied from the file, not written here

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

9.0 KB, ~2.0k tokens by cl100k_base, as published. Nobody here has run it

Planning

Create detailed technical implementation plans through research, codebase analysis, solution design, and comprehensive documentation.

IMPORTANT: Before you start, read root .hs.jsonartifacts.plans.directory, then scan unfinished plans there and read plan.md. If there are relevant plans with your upcoming plan, update them as well. If clarification is needed, ask the user before planning.

Cross-Plan Dependency Detection

During the pre-creation scan, detect and mark blocking relationships between plans:

  1. Scan — Read plan.md frontmatter of each unfinished plan (status != completed/cancelled)
  2. Compare scope — Check overlapping files, shared dependencies, same feature area
  3. Classify relationship:
    • New plan needs output of existing plan → new plan blockedBy: [existing-plan-dir]
    • New plan changes something existing plan depends on → existing plan blockedBy: [new-plan-dir], new plan blocks: [existing-plan-dir]
    • Mutual dependency → both plans reference each other in blockedBy/blocks
  4. Bidirectional update — When relationship detected, update BOTH plan.md files' frontmatter
  5. Ambiguous? → Present the detected overlap and MUST ask the user for the relationship type (blocks/blockedBy/none) before continuing.

Frontmatter fields (relative plan dir paths):

blockedBy: [260301-1200-auth-system] # This plan waits on these plans
blocks: [260228-0900-user-dashboard] # This plan blocks these plans

Status interaction: A plan with blockedBy entries where ANY blocker is not completed → plan status should note blocked in its overview. When all blockers complete, the blocked plan becomes unblocked automatically on next scan.

Default (No Arguments)

If invoked with a task description, proceed with planning workflow. If invoked WITHOUT arguments or with unclear intent, MUST ask the user to select an available operation:

OperationDescription
(default)Create implementation plan for a task
archiveWrite journal entry & archive plans
red-teamAdversarial plan review
validateCritical questions interview

Ask: “What would you like to do?”. Do not infer an operation.

Workflow Modes

Default: --auto (analyze task complexity and auto-pick mode).

FlagModeResearchRed TeamValidationCook Flag
--autoAuto-detectFollows modeFollows modeFollows modeFollows mode
--fastFastSkipSkipSkip--auto
--hardHard2 researchersYesOptional(none)
--parallelParallel2 researchersYesOptional--parallel
--twoTwo approaches2+ researchersAfter selectionAfter selection(none)

Add --no-tasks to skip task hydration in any mode.

Load: references/workflow-modes.md for auto-detection logic, per-mode workflows, context reminders.

When to Use

  • Planning new feature implementations
  • Architecting system designs
  • Evaluating technical approaches
  • Creating implementation roadmaps
  • Breaking down complex requirements

Core Responsibilities & Rules

Always honoring YAGNI, KISS, and DRY principles. Be honest, be brutal, straight to the point, and be concise.

0. Scope Challenge

Load: references/scope-challenge.md Skip if: --fast mode or trivial task (single file fix, <20 word description)

1. Research & Analysis

Load: references/research-phase.md Skip if: Fast mode or provided with researcher reports

2. Codebase Understanding

Load: references/codebase-understanding.md Skip if: Provided with scout reports

3. Solution Design

Load: references/solution-design.md

4. Plan Creation & Organization

Load: references/plan-organization.md

5. Task Breakdown & Output Standards

Load: references/output-standards.md

Process Flow (Authoritative)

flowchart TD
    A[Pre-Creation Check] --> B[Cross-Plan Scan]
    B --> C[Scope Challenge]
    C --> D[Mode Detection]
    D -->|fast| E[Skip Research]
    D -->|hard/parallel/two| F[Spawn Researchers]
    E --> G[Codebase Analysis]
    F --> G
    G --> H[Write Plan via Planner]
    H --> I{Red Team?}
    I -->|Yes| J[Red Team Review]
    I -->|No| K{Validate?}
    J --> K
    K -->|Yes| L[Validation Interview]
    K -->|No| M[Hydrate Tasks]
    L --> M
    M --> N[Output Cook Command]
    N --> O[Journal]

This diagram is the authoritative workflow. Prose sections below provide detail for each node.

Workflow Process

  1. Pre-Creation Check → Check Plan Context for active/suggested/none 1b. Cross-Plan Scan → Scan unfinished plans, detect blockedBy/blocks relationships, update both plans 1c. Scope Challenge → Run Step 0 scope questions, select mode (see references/scope-challenge.md) Skip if: --fast mode or trivial task
  2. Mode Detection → Auto-detect or use explicit flag (see workflow-modes.md)
  3. Research Phase → Spawn researchers (skip in fast mode)
  4. Codebase Analysis → Read docs, scout if needed
  5. Plan Documentation → Write comprehensive plan via planner subagent
  6. Red Team Review → Run /hs:plan red-team {plan-path} (hard/parallel/two modes)
  7. Post-Plan Validation → Run /hs:plan validate {plan-path} (hard/parallel/two modes)
  8. Hydrate Tasks → Create Claude Tasks from phases (default on, --no-tasks to skip)
  9. Context Reminder → Output cook command with absolute path (MANDATORY)
  10. Journal → Run /hs:journal to write a concise technical journal entry upon completion

Output Requirements

IMPORTANT: Invoke "/hs:project-organization" skill to organize the outputs.

  • DO NOT implement code - only create plans
  • Respond with plan file path and summary
  • Ensure self-contained plans with necessary context
  • Include code snippets/pseudocode when clarifying
  • Fully respect the ./docs/development-rules.md file

Task Management

Plan files = persistent. Tasks = session-scoped. Hydration bridges the gap.

Default: Auto-hydrate tasks after plan files are written. Skip with --no-tasks. 3-Task Rule: <3 phases → skip task creation. Record progress when the runtime supports it. Plan files remain the source of truth; tracking is an optimization, not a requirement or completion criterion.

Load: references/task-management.md for runtime-neutral hydration and cook handoff protocol.

Hydration Workflow

  1. Write plan.md + phase files (persistent layer)
  2. When supported, record each phase and its dependency metadata.
  3. When supported, record critical/high-risk steps within phases.
  4. Metadata: phase, priority, effort, planDir, phaseFile
  5. Cook reads plan files directly and may rehydrate optional tracking in a new session.

Active Plan State

Check ## Plan Context injected by hooks:

  • "Plan: {path}" → Active plan. Ask "Continue? [Y/n]"
  • "Suggested: {path}" → Branch hint only. Ask if activate or create new.
  • "Plan: none" → Create new using Plan dir: from ## Naming

After creating a plan, update active-plan state only when the current platform provides such a mechanism; the plan itself remains in the configured artifact directory. Reports: Active plans → plan-specific path. Suggested → default path.

Important

DO NOT create plans or reports in USER directory. MUST create plans or reports in THE CURRENT WORKING PROJECT DIRECTORY.

Subcommands

SubcommandReferencePurpose
/hs:plan archivereferences/archive-workflow.mdArchive plans + write journal entries
/hs:plan red-teamreferences/red-team-workflow.mdAdversarial plan review with hostile reviewers
/hs:plan validatereferences/validate-workflow.mdValidate plan with critical questions interview

Quality Standards

  • Thorough and specific, consider long-term maintainability
  • Research thoroughly when uncertain
  • Address security and performance concerns
  • Detailed enough for junior developers
  • Validate against existing codebase patterns

Remember: Plan quality determines implementation success. Be comprehensive and consider all solution aspects.

Keep looking

Skills are one crate of 326,736. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.