mirror of
https://github.com/Piebald-AI/claude-code-system-prompts.git
synced 2026-05-30 05:35:24 +08:00
Remove ^a-z0-9_-
This commit is contained in:
parent
20173cad5e
commit
a813a9ab8d
@ -1,6 +1,6 @@
|
||||
# Claude Code System Prompts
|
||||
|
||||
This repository contains an up-to-date list of all Claude Code's various system prompts and their associated token counts as of **[Claude Code v2.0.49](https://www.npmjs.com/package/@anthropic-ai/claude-code/v/2.0.49) (November 20th, 2025).** It also contains a [**CHANGELOG.md**](./CHANGELOG.md) for the system prompts across 30 versions since v2.0.14.
|
||||
This repository contains an up-to-date list of all Claude Code's various system prompts and their associated token counts as of **[Claude Code v2.0.49](https://www.npmjs.com/package/@anthropic-ai/claude-code/v/2.0.49) (November 20th, 2025).** It also contains a [**CHANGELOG.md**](./CHANGELOG.md) for the system prompts across 31 versions since v2.0.14.
|
||||
|
||||
Why multiple "system prompts?"
|
||||
|
||||
@ -68,7 +68,7 @@ Sub-agents and utilities.
|
||||
|
||||
Misc large strings.
|
||||
|
||||
- [Data: GitHub Actions workflow for @claude mentions](./system-prompts/data-github-actions-workflow-for-@claude-mentions.md) (**531** tks) - GitHub Actions workflow template for triggering Claude Code via @claude mentions.
|
||||
- [Data: GitHub Actions workflow for @claude mentions](./system-prompts/data-github-actions-workflow-for-claude-mentions.md) (**531** tks) - GitHub Actions workflow template for triggering Claude Code via @claude mentions.
|
||||
- [Data: GitHub Actions workflow for automated code review (beta)](./system-prompts/data-github-actions-workflow-for-automated-code-review-beta.md) (**573** tks) - GitHub Actions workflow template for automated Claude Code reviews using direct_prompt.
|
||||
- [Data: GitHub App installation PR description](./system-prompts/data-github-app-installation-pr-description.md) (**424** tks) - Template for PR description when installing Claude Code GitHub App integration.
|
||||
-->
|
||||
|
||||
@ -151,10 +151,8 @@ function nameToFilename(name) {
|
||||
// Convert to lowercase and replace special chars
|
||||
const filename = namePart
|
||||
.toLowerCase()
|
||||
.replace(/\./g, '') // Remove dots
|
||||
.replace(/\s+/g, '-') // Spaces to hyphens
|
||||
.replace(/[()]/g, '') // Remove parentheses
|
||||
.replace(/\//g, '-') // Slashes to hyphens
|
||||
.replace(/[^a-z0-9_-]/g, '') // Remove any char not a-z, 0-9, _, or -
|
||||
.replace(/-+/g, '-') // Collapse multiple hyphens
|
||||
.replace(/^-|-$/g, ''); // Trim hyphens from start/end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user