Grant Project Generator - LLM Instructions
Task
Generate a structured JSON file containing grant-eligible projects and tasks for Legit.Health's department planning.
Context
I work for Legit.Health. I am the manager of the [XXXXXX] deparment.
Check out our website to see what we do: https://legit.health/
Also check the instructions for use: https://apidocs-draft.legit.health/
My boss asked me what projects do I have in mind for the coming years, so she can ask for grants and funding. Now, I will describe the projects I have in mind and then offer some clarifications.
I have created this [spreadsheet/list] containing the projects and tasks I have in mind for my department.
Schema Definition
Project Object
interface Project {
id: string; // Unique identifier (e.g., "ENS-CERT")
title: string; // Concise project name
description: string; // 1-2 sentence overview
priority: "high" | "medium" | "low";
estimatedStartDate: string; // ISO 8601 date format (YYYY-MM-DD)
estimatedDuration: string; // e.g., "12 months", "24 months"
totalEstimatedCost: number; // Sum of all task costs
tasks: Task[]; // Array of project tasks
}
Task Object
interface Task {
id: string; // Unique identifier (e.g., "ENS-001")
title: string; // Concise task name
description: string; // Specific deliverables
needsSubcontractorHiring: boolean;
needsNewEmployeeHiring: boolean;
needsExistingEmployees: boolean;
hoursRequired: number; // Total hours (>0)
costEstimation: number; // EUR amount (>0)
purpose: Purpose[]; // Multiple selection allowed
targetCountry: Country; // Single selection
plCategory: PLCategory; // Single selection
}
Enumerations
Purpose (multiple selection)
"business_development"
"regulatory_requirement"
"research_development"
Country (single selection)
"US"
,"ES"
,"FR"
,"DE"
,"IT"
,"UK"
,"unspecified"
P&L Category (single selection)
- Infrastructure:
"variable_hosting"
,"fixed_hosting"
,"equipment_setup"
- Development:
"product_dev_consulting"
,"data_annotation"
,"dataset_acquisition"
,"prototype_development"
- IP & Compliance:
"patents_ip"
,"licenses_certifications"
,"clinical_validation"
- Marketing:
"pr_communications"
,"lead_generation"
,"website_sales_infra"
,"sales_tools"
,"collateral_material"
- Admin:
"admin_office"
,"admin_travel"
,"admin_hr"
,"admin_advisors"
,"admin_legal"
,"admin_funds"
,"admin_other"
Business Rules
Resource Allocation
- At least one of
needsSubcontractorHiring
,needsNewEmployeeHiring
, orneedsExistingEmployees
must betrue
- If
hoursRequired > 0
, at least one hiring/employee flag must betrue
Purpose Classification
Activity Type | Primary Purpose | Examples |
---|---|---|
Documentation creation | research_development | Technical docs, usability studies |
Evidence generation | research_development | Clinical trials, validation studies |
Certification fees | regulatory_requirement | FDA submission, CE marking, SOC 2 audit |
Market expansion | business_development | New country launch, partnership setup |
Validation Rules
hoursRequired
must be > 0 if any resource flag istrue
costEstimation
must include all costs (labor + external)totalEstimatedCost
must equal sum of all taskcostEstimation
values- Task
id
must be unique within project - At least one
purpose
must be selected per task
Example Output
{
"projects": [
{
"id": "ENS-CERT",
"title": "ENS Certification",
"description": "Achieve Spanish National Security Scheme certification for public healthcare contracts",
"priority": "high",
"estimatedStartDate": "2025-01-15",
"estimatedDuration": "12 months",
"totalEstimatedCost": 285000,
"tasks": [
{
"id": "ENS-001",
"title": "Security gap analysis",
"description": "Comprehensive assessment of current vs. required security measures",
"needsSubcontractorHiring": true,
"needsNewEmployeeHiring": false,
"needsExistingEmployees": true,
"hoursRequired": 200,
"costEstimation": 20000,
"purpose": ["research_development", "regulatory_requirement"],
"targetCountry": "ES",
"plCategory": "product_dev_consulting"
},
{
"id": "ENS-002",
"title": "Certification audit fees",
"description": "Payment to accredited certification body for ENS audit",
"needsSubcontractorHiring": false,
"needsNewEmployeeHiring": false,
"needsExistingEmployees": true,
"hoursRequired": 40,
"costEstimation": 15000,
"purpose": ["regulatory_requirement"],
"targetCountry": "ES",
"plCategory": "licenses_certifications"
}
]
}
]
}
Input Processing
When provided with unstructured project descriptions:
- Identify discrete projects based on major objectives
- Break each project into measurable tasks
- Infer resource requirements from task descriptions
- Apply business rules for purpose classification
- Calculate costs based on provided estimates or industry standards
- Validate output against schema and rules