Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .cursorrules
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
- Static Site Generator: Jekyll
- Hosting: GitHub Pages



## Build Commands
- `bundle install`: Install dependencies
- `bundle exec jekyll serve`: Run development server
Expand Down
17 changes: 11 additions & 6 deletions .github/workflows/csv_linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,21 @@ jobs:
with open("prompts.csv", "r", encoding="utf-8") as f:
reader = csv.reader(f)
headers = next(reader)
if headers != ["act", "prompt", "for_devs"]:
print("Error: CSV headers must be exactly [act, prompt, for_devs]")
if headers != ["act", "prompt", "for_devs", "type"]:
print("Error: CSV headers must be exactly [act, prompt, for_devs, type]")
exit(1)
for row_num, row in enumerate(reader, 3):
if len(row) != 3:
print(f"Error: Row {row_num} has {len(row)} columns, expected 2")
valid_types = ["TEXT", "JSON"]
for row_num, row in enumerate(reader, 2):
if len(row) != 4:
print(f"Error: Row {row_num} has {len(row)} columns, expected 4")
exit(1)
if not row[0] or not row[1] or not row[2]:
if not row[0] or not row[1] or not row[2] or not row[3]:
print(f"Error: Row {row_num} has empty values")
exit(1)
if row[3] not in valid_types:
print(f"Error: Row {row_num} has invalid type \"{row[3]}\". Must be TEXT or JSON")
exit(1)
print("CSV format OK")
'; then
echo "::error::CSV format check failed"
exit 1
Expand Down
47 changes: 15 additions & 32 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,23 +1,19 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (8.0.2)
activesupport (7.1.4.2)
base64
benchmark (>= 0.3)
bigdecimal
concurrent-ruby (~> 1.0, >= 1.3.1)
concurrent-ruby (~> 1.0, >= 1.0.2)
connection_pool (>= 2.2.5)
drb
i18n (>= 1.6, < 2)
logger (>= 1.4.2)
minitest (>= 5.1)
securerandom (>= 0.3)
tzinfo (~> 2.0, >= 2.0.5)
uri (>= 0.13.1)
mutex_m
tzinfo (~> 2.0)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
base64 (0.2.0)
benchmark (0.4.0)
bigdecimal (3.1.9)
coffee-script (2.4.1)
coffee-script-source
Expand Down Expand Up @@ -46,14 +42,7 @@ GEM
logger
faraday-net_http (3.4.0)
net-http (>= 0.5.0)
ffi (1.17.2-aarch64-linux-gnu)
ffi (1.17.2-aarch64-linux-musl)
ffi (1.17.2-arm-linux-gnu)
ffi (1.17.2-arm-linux-musl)
ffi (1.17.2-arm64-darwin)
ffi (1.17.2-x86_64-darwin)
ffi (1.17.2-x86_64-linux-gnu)
ffi (1.17.2-x86_64-linux-musl)
ffi (1.17.2)
forwardable-extended (2.6.0)
gemoji (4.1.0)
github-pages (232)
Expand Down Expand Up @@ -240,23 +229,18 @@ GEM
jekyll-feed (~> 0.9)
jekyll-seo-tag (~> 2.1)
minitest (5.25.5)
mutex_m (0.3.0)
net-http (0.6.0)
uri
nokogiri (1.18.8-aarch64-linux-gnu)
nokogiri (1.17.2-aarch64-linux)
racc (~> 1.4)
nokogiri (1.18.8-aarch64-linux-musl)
nokogiri (1.17.2-arm-linux)
racc (~> 1.4)
nokogiri (1.18.8-arm-linux-gnu)
nokogiri (1.17.2-arm64-darwin)
racc (~> 1.4)
nokogiri (1.18.8-arm-linux-musl)
nokogiri (1.17.2-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.18.8-arm64-darwin)
racc (~> 1.4)
nokogiri (1.18.8-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.18.8-x86_64-linux-gnu)
racc (~> 1.4)
nokogiri (1.18.8-x86_64-linux-musl)
nokogiri (1.17.2-x86_64-linux)
racc (~> 1.4)
octokit (4.25.1)
faraday (>= 1, < 3)
Expand All @@ -280,7 +264,6 @@ GEM
sawyer (0.9.2)
addressable (>= 2.3.5)
faraday (>= 0.17.3, < 3)
securerandom (0.4.1)
simpleidn (0.2.3)
terminal-table (1.8.0)
unicode-display_width (~> 1.1, >= 1.1.1)
Expand All @@ -293,18 +276,18 @@ GEM
webrick (1.9.1)

PLATFORMS
aarch64-linux-gnu
aarch64-linux
aarch64-linux-musl
arm-linux-gnu
arm-linux
arm-linux-musl
arm64-darwin
x86_64-darwin
x86_64-linux-gnu
x86_64-linux
x86_64-linux-musl

DEPENDENCIES
github-pages
jekyll

BUNDLED WITH
2.6.2
2.5.23
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2788,6 +2788,24 @@ Contributed by: [@ErdagEge](https://github.com/ErdagEge)
> Your tone should be friendly, patient and curiosity-driven-making difficult topics feel
> intuitive, engaging and interesting.

## Act as Code Review Assistant

Contributed by: [@f](https://github.com/f)

> {"role": "Code Review Assistant", "context": {"language": "JavaScript", "framework": "React", "focus_areas": ["performance", "security", "best_practices"]}, "review_format": {"severity": "high\|medium\|low", "category": "string", "line_number": "number", "suggestion": "string", "code_example": "string"}, "instructions": "Review the provided code and return findings in the specified JSON format"}

## Act as Data Transformer

Contributed by: [@f](https://github.com/f)

> {"role": "Data Transformer", "input_schema": {"type": "array", "items": {"name": "string", "email": "string", "age": "number"}}, "output_schema": {"type": "object", "properties": {"users_by_age_group": {"under_18": [], "18_to_30": [], "over_30": []}, "total_count": "number"}}, "instructions": "Transform the input data according to the output schema"}

## Act as Story Generator

Contributed by: [@f](https://github.com/f)

> {"role": "Story Generator", "parameters": {"genre": "string (e.g., fantasy, sci-fi, mystery, romance, horror)", "length": "short/medium/long", "tone": "string (e.g., dark, humorous, inspirational)", "protagonist": "string (optional description)", "setting": "string (optional setting description)"}, "output_format": {"title": "string", "story": "string", "characters": ["string"], "themes": ["string"]}, "instructions": "Generate a creative story based on the provided parameters. Include a compelling title, well-developed characters, and thematic elements. Return the story in the specified JSON format."}

## Contributors 😍

Many thanks to these AI whisperers:
Expand Down
Loading