Skip to content

feat: add prompt for claude code to include context when generating tasks#1092

Merged
Crunchyman-ralph merged 3 commits into
nextfrom
feat/add.code.context.claude.code.p1
Aug 6, 2025
Merged

feat: add prompt for claude code to include context when generating tasks#1092
Crunchyman-ralph merged 3 commits into
nextfrom
feat/add.code.context.claude.code.p1

Conversation

@Crunchyman-ralph

@Crunchyman-ralph Crunchyman-ralph commented Aug 6, 2025

Copy link
Copy Markdown
Collaborator

What type of PR is this?

  • 🐛 Bug fix
  • ✨ Feature
  • 🔌 Integration
  • 📝 Docs
  • 🧹 Refactor
  • Other:

Description

Related Issues

How to Test This

tm parse-prd
  • Check if the parse prd using the claude code ai provider is trying to re-create already existing boilerplate code like intializing nextjs or something like that

Expected result:

Contributor Checklist

  • Created changeset: npm run changeset
  • Tests pass: npm test
  • Format check passes: npm run format-check (or npm run format to fix)
  • Addressed CodeRabbit comments (if any)
  • Linked related issues (if any)
  • Manually tested the changes

Changelog Entry


For Maintainers

  • PR title follows conventional commits
  • Target branch correct
  • Labels added
  • Milestone assigned (if applicable)

Summary by CodeRabbit

Summary by CodeRabbit

  • Chores
    • Refactored imports to use static rather than dynamic loading for configuration functions across task management modules.
    • Updated unit tests to mock additional configuration provider functions without changing test behavior.

@changeset-bot

changeset-bot Bot commented Aug 6, 2025

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 0cd2093

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai

coderabbitai Bot commented Aug 6, 2025

Copy link
Copy Markdown
Contributor

Walkthrough

The update refactors import statements by replacing dynamic imports with static imports for provider-related functions across multiple task-manager scripts. Corresponding unit tests were updated to mock the newly statically imported functions. No changes were made to logic, functionality, or exported/public entities.

Changes

Cohort / File(s) Change Summary
Task Manager Scripts - Static Imports
scripts/modules/task-manager/analyze-task-complexity.js, scripts/modules/task-manager/expand-task.js, scripts/modules/task-manager/parse-prd.js
Replaced dynamic imports of provider-related functions with static imports at the top of the modules; logic unchanged.
Unit Tests - Mock Updates
tests/unit/scripts/modules/task-manager/expand-task.test.js, tests/unit/scripts/modules/task-manager/parse-prd.test.js
Extended mocks for config-manager.js to include getMainProvider and getResearchProvider functions; no test logic changes.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Note

⚡️ Unit Test Generation is now available in beta!

Learn more here, or try it out under "Finishing Touches" below.

✨ Finishing Touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/add.code.context.claude.code.p1

🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@Crunchyman-ralph Crunchyman-ralph changed the title chore: run format feat: add prompt for claude code to include context when generating tasks Aug 6, 2025
@Crunchyman-ralph Crunchyman-ralph merged commit 59f7676 into next Aug 6, 2025
4 checks passed
Crunchyman-ralph added a commit to iamladi/claude-task-master that referenced this pull request Aug 11, 2025
Crunchyman-ralph added a commit to iamladi/claude-task-master that referenced this pull request Aug 11, 2025
stephanschielke pushed a commit to stephanschielke/cursor-task-master that referenced this pull request Aug 22, 2025
stephanschielke pushed a commit to stephanschielke/cursor-task-master that referenced this pull request Aug 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant