Preliminary Checks
Scope
Existing plugin / agent / skill / command (improvement)
Target component (if scope is plugin/agent/skill/command)
javascript-testing-patterns
Problem description
the example
|
export function divide(a: number, b: number): number { |
is suppose to give examples to test pure functions however the divide function is not pure since its throwing an error
Proposed solution
the divide function example can be an example of impure functions
Use cases
not that important since most LLM's would understand this , but to make the skill a bit more idiomatic thats all
Alternatives considered
NA
Additional context
No response
Preliminary Checks
Scope
Existing plugin / agent / skill / command (improvement)
Target component (if scope is plugin/agent/skill/command)
javascript-testing-patterns
Problem description
the example
agents/plugins/javascript-typescript/skills/javascript-testing-patterns/SKILL.md
Line 87 in 4236bb9
Proposed solution
the divide function example can be an example of impure functions
Use cases
not that important since most LLM's would understand this , but to make the skill a bit more idiomatic thats all
Alternatives considered
NA
Additional context
No response