Adjusts init message and example env file.

This commit is contained in:
Eyal Toledano
2025-03-22 02:12:31 -04:00
parent 0e05c152ca
commit a634bbf1b0
3 changed files with 13 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
# Required
ANTHROPIC_API_KEY=your-api-key-here # Format: sk-ant-api03-...
PERPLEXITY_API_KEY=pplx-abcde
PERPLEXITY_API_KEY=pplx-abcde # For research (recommended but optional)
# Optional - defaults shown
MODEL=claude-3-7-sonnet-20250219 # Recommended models: claude-3-7-sonnet-20250219, claude-3-opus-20240229
@@ -10,5 +10,4 @@ DEBUG=false # Enable debug logging (true/false)
LOG_LEVEL=info # Log level (debug, info, warn, error)
DEFAULT_SUBTASKS=3 # Default number of subtasks when expanding
DEFAULT_PRIORITY=medium # Default priority for generated tasks (high, medium, low)
PROJECT_NAME={{projectName}} # Project name for tasks.json metadata
PROJECT_VERSION={{projectVersion}} # Project version for tasks.json metadata
PROJECT_NAME={{projectName}} # Project name for tasks.json metadata

View File

@@ -1,11 +1,11 @@
{
"name": "claude-task-master",
"version": "1.6.2",
"description": "A task management system for AI-driven development with Claude",
"name": "task-master-ai",
"version": "0.9.5",
"description": "A task management system for ambitious AI-driven development that doesn't overwhelm and confuse Cursor.",
"main": "index.js",
"type": "module",
"bin": {
"claude-task-init": "scripts/init.js"
"task-master-init": "scripts/init.js"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",

View File

@@ -282,12 +282,15 @@ function createProjectStructure(projectName, projectDescription, projectVersion,
log('info', `${COLORS.green}${COLORS.bright}Project initialized successfully!${COLORS.reset}`);
log('info', '');
log('info', 'Next steps:');
log('info', '1. Create a .env file with your ANTHROPIC_API_KEY (see .env.example)');
log('info', '2. Add your PRD.txt to the /scripts directory');
log('info', '1. Rename .env.example to .env and add your ANTHROPIC_API_KEY and PERPLEXITY_API_KEY');
log('info', '2. Discuss your idea with AI, and once ready ask for a PRD, and save it as PRD.txt in the /scripts directory');
log('info', '3. Ask Cursor Agent to parse your PRD.txt and generate tasks');
log('info', '└── You can also manually run `npm run parse-prd -- --input=<your-prd-file.txt>` to generate tasks');
log('info', '4. Review the README.md file to learn how to use other commands via Cursor Agent.');
log('info', '');
log('info', '4. Ask Cursor to analyze the complexity of your tasks, which will generate a task-complexity-report.json file in /scripts for your review.');
log('info', '5. Ask Cursor which task is next and it will determine what to start with based on task statuses and dependencies.');
log('info', '6. Ask Cursor to expand any tasks that are too large in scope or complexity. The complexity report will be used to generate subtasks if it exists.');
log('info', '7. Ship it!');
log('info', '* Review the README.md file to learn how to use other commands via Cursor Agent.');
}
// Run the initialization if this script is executed directly