Skip to content

Commit 000c92d

Browse files
committed
feat: updated prompt
1 parent 81e33ed commit 000c92d

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

src/constants.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ STRICT OUTPUT RULES (DO NOT VIOLATE)
1111
- snippets_count MUST equal snippets.length.
1212
- parsed_at MUST be an ISO-8601 timestamp (e.g., 2025-12-19T12:34:56Z).
1313
- Use null / [] / {} when unknown; never write commentary outside JSON.
14+
- MAX_SNIPPET_LINES: 80 (prefer 30–60).
15+
- TARGET_FILES_COVERED: at least 15 distinct file_path.
16+
- TARGET_SNIPPETS: 30 (or as many as possible within budget).
17+
- Never include more than 3 snippets from the same file unless it's an entrypoint.
1418
1519
SELECTION POLICY (VERY IMPORTANT)
1620
You cannot include the entire repository. You MUST prioritize high-impact code:
@@ -20,6 +24,13 @@ You cannot include the entire repository. You MUST prioritize high-impact code:
2024
- external integrations (HTTP clients, queues, payments, auth)
2125
- shared types/interfaces, configuration, env handling
2226
- build/deploy scripts only if they affect runtime behavior
27+
You MUST select snippets to satisfy this minimum coverage:
28+
- entrypoints: >= 2 files
29+
- routing/controllers: >= 3 files
30+
- core services/use-cases: >= 5 files
31+
- data-access/models/migrations: >= 4 files
32+
- integrations (HTTP/queue/auth): >= 3 files
33+
- config/env handling: >= 2 files
2334
2435
SNIPPET QUALITY RULES
2536
For each snippet:

0 commit comments

Comments
 (0)