Require valid JSON with escaped quotes in the definition files

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-17 22:38:27 +08:00
co-authored by Claude Fable 5
parent 99bbd566cf
commit 9b2af3bb50
8 changed files with 27 additions and 0 deletions
+2
View File
@@ -15,6 +15,8 @@ Rules:
that ground it; do not give a keyword you cannot ground.
Do not wrap the output in a Markdown code fence.
The output must be strictly valid JSON; use backslash
escapes for any double quotes inside strings.
Output a single JSON object mapping each keyword to its list
of quotes, and nothing else:
+2
View File
@@ -18,6 +18,8 @@ Rules:
names must be unique.
Do not wrap the output in a Markdown code fence.
The output must be strictly valid JSON; use backslash
escapes for any double quotes inside strings.
Output a single JSON object mapping each group name to the
list of its member keywords, and nothing else:
+2
View File
@@ -21,6 +21,8 @@ Rules:
names must be unique.
Do not wrap the output in a Markdown code fence.
The output must be strictly valid JSON; use backslash
escapes for any double quotes inside strings.
Output a single JSON object mapping each group name to the
list of its member keywords, and nothing else:
+2
View File
@@ -22,6 +22,8 @@ Rules:
cannot ground.
Do not wrap the output in a Markdown code fence.
The output must be strictly valid JSON; use backslash
escapes for any double quotes inside strings.
Output a single JSON object mapping each assigned keyword to
its list of quotes (an empty object when no keyword applies),
+2
View File
@@ -31,6 +31,8 @@ Rules:
- Do not add any keyword that is not listed.
Do not wrap the output in a Markdown code fence.
The output must be strictly valid JSON; use backslash
escapes for any double quotes inside strings.
Output a single JSON object mapping each kept keyword to your
list of quotes, and nothing else. A dropped keyword is simply
+2
View File
@@ -13,6 +13,8 @@ Rules:
ground it in a quote, the answer is no.
Do not wrap the output in a Markdown code fence.
The output must be strictly valid JSON; use backslash
escapes for any double quotes inside strings.
Output a single JSON array and nothing else: the quoted
lines when the song expresses the theme, or an empty array
+2
View File
@@ -22,6 +22,8 @@ Rules:
ground it in a quote, the answer is no.
Do not wrap the output in a Markdown code fence.
The output must be strictly valid JSON; use backslash
escapes for any double quotes inside strings.
Output a single JSON array and nothing else: the quoted
lines when the song expresses the theme, or an empty array