Skip to content
Open
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
203 changes: 73 additions & 130 deletions src/agents/definitions/proposal-document-generator.js
Original file line number Diff line number Diff line change
@@ -1,130 +1,73 @@
export default {
id: "proposal-document-generator",
createdAt: "2026-05-15",

name: "Proposal Document Generator",

description:
"Generate professional client proposal documents with project overview, pricing, timeline, deliverables, and next steps.",

category: "Sales",

icon: "FileText",

provider: "any",
defaultProvider: "openai",
model: "gpt-4o",

exampleInputs: {
clientName: "BrightPath Healthcare",

projectType:
"AI-powered CRM implementation for patient engagement",

clientProblem:
"The client struggles with missed patient follow-ups and manual scheduling workflows.",

proposedSolution:
"Implement an AI-powered CRM platform with automated reminders, appointment scheduling, and workflow dashboards.",

pricing:
"$12,000 implementation + $500/month subscription",

timeline:
"6 weeks",
},

inputs: [
{
id: "clientName",
label: "Client name",
type: "text",
placeholder: "e.g. Acme Corp",
required: true,
},

{
id: "projectType",
label: "Project type",
type: "text",
placeholder: "Describe the project type...",
required: true,
},

{
id: "clientProblem",
label: "Client problem or challenge",
type: "textarea",
placeholder:
"Describe the client's current pain points...",
required: true,
},

{
id: "proposedSolution",
label: "Proposed solution",
type: "textarea",
placeholder:
"Describe your proposed solution...",
required: true,
},

{
id: "pricing",
label: "Pricing",
type: "text",
placeholder: "e.g. $5000 fixed project",
required: true,
},

{
id: "timeline",
label: "Project timeline",
type: "text",
placeholder: "e.g. 4 weeks",
required: true,
},
],

systemPrompt: `You are an expert business consultant and proposal writer.

Generate a professional proposal document.

The output should include:

# Proposal Document

## Executive Summary
Summarize the client's problem and the proposed solution.

## Client Challenges
Clearly explain the business pain points.

## Proposed Solution
Explain how the solution solves the problem.

## Deliverables
Provide a structured list of deliverables.

## Timeline
Provide a realistic implementation timeline.

## Pricing
Present pricing clearly and professionally.

## Expected Outcomes
Explain measurable business benefits.

## Next Steps
Explain what should happen after proposal approval.

Rules:
- Use professional business language
- Keep the proposal concise but detailed
- Use markdown formatting
- Make the proposal client-friendly
- Focus on clarity and business value
- Avoid generic filler text`,

outputType: "markdown",
};
export default {
id: "proposal-document-generator",
createdAt: "2026-06-27",
name: "Proposal Document Generator",
description:
"Generate professional proposal documents for projects,free lancing, businesses,research and grants",
Comment on lines +5 to +6

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Fix the user-facing description copy.

This string will read unpolished in the agent picker because of the missing spaces and the free lancing typo.

Suggested fix
   description:
-    "Generate professional proposal documents for projects,free lancing, businesses,research and grants",
+    "Generate professional proposal documents for projects, freelancing, businesses, research, and grants",
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
description:
"Generate professional proposal documents for projects,free lancing, businesses,research and grants",
description:
"Generate professional proposal documents for projects, freelancing, businesses, research, and grants",
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/agents/definitions/proposal-document-generator.js` around lines 5 - 6,
Update the user-facing description in proposal-document-generator so it reads
cleanly in the agent picker: fix the missing spaces after commas and correct the
“free lancing” wording. Use the description field in the proposal document
generator definition as the target, and keep the copy polished and professional.

category: "Engineering",
icon: "FileText",
provider: "any",
defaultProvider: "anthropic",
model: "claude-sonnet-4-6",
exampleInputs: {
clientName: "TEC Retail",
clientProblem: "The company needs a modern e-commerce website to increase online sales.",
proposedSolution: "Develop a responsive e-commerce platform with payment integration and inventory management.",
pricing: "$20000",
timeline: "3 months",
},
inputs: [
{
id: "clientName",
label: "Client Name",
type: "text",
placeholder: "Enter the client's name or company name",
required: true,
},
{
id: "clientProblem",
label: "Client Problem",
type: "textarea",
placeholder:
"Describe the client's problem or requirements.",
required: true,
},
{
id: "proposedSolution",
label: "Proposed Solution",
type: "textarea",
placeholder: "Describe your proposed solution",
required: true,
},
{
id: "pricing",
label: "Pricing",
type: "text",
placeholder: "Enter the proposed pricing or budget",
required: true,
},
{
id: "timeline",
label: "Timeline",
type: "text",
placeholder: "Enter the estimated project timeline",
required: true,
},
],
systemPrompt: `You are an expert sales proposal writer.
Given the client information,generate a professional proposal document.

Include:
Executive Summary
Problem Statement
Proposed Solution
Scope of Work
Pricing details
Timeline
Expected Outcomes
Next Steps

Keep the proposal professional,convincing and concise.`,
outputType:"markdown",
};

Loading