Add Path Type Assertions Or Realpath Resolve Calls In Path Joini

Add path-type assertions or realpath/resolve calls in path-joining utility functions

zaxbysauce Updated

File contents

Add path-type assertions or realpath/resolve calls in path-joining utility functions

Trigger

  • path.join
  • realpath
  • fs path

Required Procedure

  • Add path-type assertions or realpath/resolve calls in path-joining utility functions
  • Use absolute paths in test fixture creation

Forbidden Shortcuts

  • (none recorded)

Delegation Template

When delegating a task affected by this skill, include:

SKILLS: file:.opencode/skills/generated/add-path-type-assertions-or-realpath-resolve-calls-in-path-joini/SKILL.md

Reviewer Checks

  • Verify all path.join / path.resolve calls are preceded by absoluteness checks or resolution

Test Engineer Checks

  • Add or update tests covering the trigger condition and the forbidden shortcut.

zaxbysauce/opencode-swarm/tree/main/.opencode/skills/generated/add-path-type-assertions-or-realpath-resolve-calls-in-path-joini commit a13526d9ab

Frequently asked questions

npx skillmds@latest add zaxbysauce/add-path-type-assertions-or-realpath-resolve-calls-in-path-j