Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(#64) #67

Merged
merged 8 commits into from Mar 26, 2024
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 8 additions & 0 deletions .pdd
@@ -0,0 +1,8 @@
--source=.
--verbose
--exclude src/pdd-prompt.ts
--exclude target/**
--exclude xargs/**
--rule min-words:20
--rule min-estimate:15
--rule max-estimate:90
3 changes: 3 additions & 0 deletions src/pdd-prompt.ts
Expand Up @@ -45,9 +45,12 @@ export class PddPrompt implements Scalar<string> {
Take a look at this code snippet.
Pay attention only to the code to which outlined 'todo' connected with and the outlined todo formulation.
Ignore any other information such as LICENSE, other todos and irrelevant to the outlined todo code.
Please ignore '@todo #?:?min' syntax, pay attention only to the message itself.
The todo message must deliver a clear state of reason of what needs to be done by other codebase contributor.
Please review it and generate a summary about quality issues related to this todo message formulation.
The summary must include only star (*), no indent bullet points with quality problems that only this todo message has, and context tips on how to fix them, so author of this report can improve it.
Number of suggestions must be 3 at max.
Maximum number of suggestions must be 3 bullet points.
Focus on whats wrong or confuses you in this todo.
Don't generate any other information.
If you see that message is clear, then just say "Quality is awesome".
Expand Down
1 change: 1 addition & 0 deletions src/user-prompt.ts
Expand Up @@ -45,6 +45,7 @@ export class UserPrompt {
return `
Please strictly review the following bug report and generate a summary with quality problems related to this report formulation.
The summary must include only star (*), no indent bullet points with quality problems that only this report has and tips on how to fix them, so author of this report can improve it.
Maximum number of suggestions must be 3 bullet points.
Don't suggest how to fix the bug, instead focus only on problems with bug report formulation.
If you see that bug report don't have quality problems with it's formulation, then just say "Quality is awesome".
Don't generate any other info.
Expand Down