Harness-engineering gof-state-pattern

name: gof-state-pattern

install
source · Clone the upstream repo
git clone https://github.com/Intense-Visions/harness-engineering
manifest: agents/skills/claude-code/gof-state-pattern/skill.yaml
source content

name: gof-state-pattern version: "1.0.0" description: Replace conditional logic with state objects that delegate behavior to the current state stability: static cognitive_mode: advisory-guide type: knowledge tier: 3 triggers:

  • manual platforms:
  • claude-code
  • gemini-cli
  • cursor
  • codex tools: [] paths:
  • "**/*.ts"
  • "tsconfig.json" related_skills:
  • ts-discriminated-unions
  • ts-class-patterns
  • gof-strategy-pattern stack_signals:
  • typescript keywords:
  • state-pattern
  • state-machine
  • context-delegation
  • eliminating-conditionals metadata: author: community upstream: refactoring.guru/design-patterns/state state: persistent: false files: [] depends_on: []