Skip to content

Conversation

@ksylvan
Copy link
Collaborator

@ksylvan ksylvan commented Jan 17, 2026

Summary

Adds metadata for the greybeard_secure_prompt_engineer pattern and refactors pattern description handling to use npm prebuild hooks instead of maintaining duplicate files.

Changes

  • Pattern metadata:

    • Added greybeard_secure_prompt_engineer to pattern_explanations.md, pattern_descriptions.json, and suggest_pattern files
    • Pattern creates secure system prompts with injection test suites and evaluation rubrics
  • Build process:

  • Removed duplicate web/static/data/pattern_descriptions.json (now gitignored)

  • Added prebuild/predev npm hooks to copy pattern_descriptions.json fromscripts/ to web/static/data/

  • Removed update_web_static() from extract_patterns.py

Test plan

  • Verified npm run build copies pattern_descriptions.json correctly
  • Verified npm run dev works with predev hook
  • Confirmed greybeard pattern appears in suggest_pattern recommendations

- Add greybeard_secure_prompt_engineer pattern to create secure system prompts
- Update pattern explanations and renumber existing entries
- Refactor build process to use npm hooks for copying JSON files
- Remove manual web static file copying from extract script
- Update .gitignore to exclude generated data and tmp directories
- Modify suggest_pattern categories to include new security pattern
- Delete redundant web static data file, rely on build hooks
@ksylvan ksylvan merged commit 2eafa75 into danielmiessler:main Jan 17, 2026
1 check passed
@ksylvan ksylvan deleted the kayvan/fix-suggest-pattern branch January 17, 2026 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant