MCPcopy Create free account

hub / github.com/Piebald-AI/claude-code-system-prompts / functions

Functions19 in github.com/Piebald-AI/claude-code-system-prompts

↓ 4 callersFunctionreadFileSync
(file)
tools/updatePrompts.js:33
↓ 3 callersFunctionnameToFilename
(name)
tools/promptMarkdownUtils.mjs:14
↓ 2 callersFunctionassertUniquePromptFilenames
(prompts)
tools/promptMarkdownUtils.mjs:85
↓ 2 callersFunctiondecodeSourceEscapes
(value)
tools/promptMarkdownUtils.mjs:58
↓ 2 callersFunctionparseYamlString
(value)
tools/promptMarkdownUtils.mjs:44
↓ 2 callersFunctionrenderPromptFrontmatter
(prompt)
tools/promptMarkdownUtils.mjs:103
↓ 2 callersFunctionwriteFileSync
(file, content)
tools/updatePrompts.js:38
↓ 2 callersFunctionyamlString
(value)
tools/promptMarkdownUtils.mjs:33
↓ 1 callersFunctioncategorizePrompt
* Categorize prompts based on their name
tools/updatePrompts.js:209
↓ 1 callersFunctioncountTokens
* Count tokens using Anthropic's token counting API
tools/updatePrompts.js:46
↓ 1 callersFunctioncountTokensBatch
* Batch count tokens for multiple prompts with rate limiting
tools/updatePrompts.js:112
↓ 1 callersFunctioncreateMarkdownContent
* Create markdown file content with HTML comment metadata
tools/updatePrompts.js:170
↓ 1 callersFunctioncreateReadmeEntry
* Update or create README entry for a prompt
tools/updatePrompts.js:246
↓ 1 callersFunctiongetNpmReleaseDate
* Fetch release date from npm for a specific version
tools/updatePrompts.js:77
↓ 1 callersFunctionparseMarkdownFile
* Parse existing markdown file to extract metadata
tools/updatePrompts.js:185
↓ 1 callersFunctionparseReadmeTokenCounts
* Parse existing token counts from README
tools/updatePrompts.js:258
↓ 1 callersFunctionreconstructPrompt
* Reconstruct the full prompt content from pieces and identifiers
tools/updatePrompts.js:143
↓ 1 callersFunctionupdateFromJSON
* Main update function
tools/updatePrompts.js:279
↓ 1 callersFunctionupdateReadme
* Update README.md with new prompt information
tools/updatePrompts.js:399