Skip to main content

fp-refactor

Guides developers in refactoring TypeScript code to functional programming patterns using fp-ts for improved error handling and code clarity.

Install this skill

or
30/100

Security score

The fp-refactor skill was audited on May 13, 2026 and we found 6 security issues across 1 threat category, including 4 high-severity. Review the findings below before installing.

Categories Tested

Security Issues

medium line 53

Template literal with variable interpolation in command context

SourceSKILL.md
53throw new Error(`Invalid JSON: ${error}`);
medium line 104

Template literal with variable interpolation in command context

SourceSKILL.md
104E.mapLeft((e) => new Error(`Invalid JSON: ${e}`))
high line 155

Template literal with variable interpolation in command context

SourceSKILL.md
155const response = await fetch(`/api/users/${id}`);
high line 157

Template literal with variable interpolation in command context

SourceSKILL.md
157throw new Error(`HTTP error: ${response.status}`);
high line 162

Template literal with variable interpolation in command context

SourceSKILL.md
162throw new Error(`Failed to fetch user: ${error}`);
high line 168

Template literal with variable interpolation in command context

SourceSKILL.md
168const response = await fetch(`/api/users/${userId}/posts`);
Scanned on May 13, 2026
View Security Dashboard
Installation guide →