Skip to content

chore: update Cursor rules and commands for modularized CLI - #2493

Merged
shafeeqd959 merged 5 commits into
developmentfrom
v1-cursor-rules-update
Apr 2, 2026
Merged

chore: update Cursor rules and commands for modularized CLI#2493
shafeeqd959 merged 5 commits into
developmentfrom
v1-cursor-rules-update

Conversation

@shafeeqd959

@shafeeqd959shafeeqd959 commented Mar 25, 2026

Copy link
Copy Markdown
Contributor

Update all Cursor configuration files based on this repository's actual structure and patterns. This repository is a modularized monorepo with 6 packages (contentstack, contentstack-auth, contentstack-config, contentstack-command, contentstack-utilities, contentstack-dev-dependencies).

Changes:

  • Updated .cursor/rules/README.md with accurate package overview and rule loading behavior specific to this monorepo structure
  • Rewrote dev-workflow.md to reflect actual monorepo patterns, pnpm workspace setup, and 6-package structure
  • Updated typescript.mdc with actual tsconfig settings (strict: false, target: es2017, commonjs module)
  • Updated testing.mdc for Mocha/Chai patterns (removed Sinon references not heavily used in this repo)
  • Updated oclif-commands.mdc with actual command structure and patterns from this CLI
  • Deleted contentstack-cli.mdc (not applicable - no import/export modules)
  • Updated code-review.md with checklist for modularized CLI packages
  • Updated execute-tests.md with correct package names and monorepo patterns

All rules now match the actual repository structure and development patterns, enabling more effective AI assistance in Cursor.

Update all Cursor configuration files based on this repository's actual
structure and patterns. This repository is a modularized monorepo with 6
packages (contentstack, contentstack-auth, contentstack-config,
contentstack-command, contentstack-utilities, contentstack-dev-dependencies).
Changes:
- Updated .cursor/rules/README.md with accurate package overview and
rule loading behavior specific to this monorepo structure
- Rewrote dev-workflow.md to reflect actual monorepo patterns,
pnpm workspace setup, and 6-package structure
- Updated typescript.mdc with actual tsconfig settings (strict: false,
target: es2017, commonjs module)
- Updated testing.mdc for Mocha/Chai patterns (removed Sinon references
not heavily used in this repo)
- Updated oclif-commands.mdc with actual command structure and patterns
from this CLI
- Deleted contentstack-cli.mdc (not applicable - no import/export modules)
- Updated code-review.md with checklist for modularized CLI packages
- Updated execute-tests.md with correct package names and monorepo patterns
All rules now match the actual repository structure and development
patterns, enabling more effective AI assistance in Cursor.
Made-with: Cursor
@shafeeqd959
shafeeqd959 marked this pull request as ready for review March 25, 2026 07:42
@shafeeqd959
shafeeqd959 requested a review from a team as a code ownerMarch 25, 2026 07:42
@github-actions

Copy link
Copy Markdown

🔒 Security Scan Results

ℹ️ Note: Only vulnerabilities with available fixes (upgrades or patches) are counted toward thresholds.

Check TypeCount (with fixes)Without fixesThresholdResult
🔴 Critical Severity0010✅ Passed
🟠 High Severity0325✅ Passed
🟡 Medium Severity045500✅ Passed
🔵 Low Severity001000✅ Passed

⏱️ SLA Breach Summary

⚠️ Warning: The following vulnerabilities have exceeded their SLA thresholds (days since publication).

SeverityBreaches (with fixes)Breaches (no fixes)SLA Threshold (with/no fixes)Status
🔴 Critical0015 / 30 days✅ Passed
🟠 High0030 / 120 days✅ Passed
🟡 Medium0690 / 365 days⚠️ Warning
🔵 Low00180 / 365 days✅ Passed

ℹ️ Vulnerabilities Without Available Fixes (Informational Only)

The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:

  • Critical without fixes: 0
  • High without fixes: 3
  • Medium without fixes: 45
  • Low without fixes: 0

⚠️ BUILD PASSED WITH WARNINGS - SLA breaches detected for issues without available fixes

Consider reviewing these vulnerabilities when fixes become available.

@shafeeqd959
shafeeqd959 requested a review from a team as a code ownerApril 1, 2026 12:44
@shafeeqd959
shafeeqd959 changed the base branch from v1-dev to developmentApril 1, 2026 12:45
@github-actions

Copy link
Copy Markdown

🔒 Security Scan Results

ℹ️ Note: Only vulnerabilities with available fixes (upgrades or patches) are counted toward thresholds.

Check TypeCount (with fixes)Without fixesThresholdResult
🔴 Critical Severity0010✅ Passed
🟠 High Severity016525✅ Passed
🟡 Medium Severity1212500✅ Passed
🔵 Low Severity001000✅ Passed

⏱️ SLA Breach Summary

⚠️ Warning: The following vulnerabilities have exceeded their SLA thresholds (days since publication).

SeverityBreaches (with fixes)Breaches (no fixes)SLA Threshold (with/no fixes)Status
🔴 Critical0015 / 30 days✅ Passed
🟠 High0030 / 120 days✅ Passed
🟡 Medium0690 / 365 days⚠️ Warning
🔵 Low00180 / 365 days✅ Passed

ℹ️ Vulnerabilities Without Available Fixes (Informational Only)

The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:

  • Critical without fixes: 0
  • High without fixes: 165
  • Medium without fixes: 212
  • Low without fixes: 0

⚠️ BUILD PASSED WITH WARNINGS - SLA breaches detected for issues without available fixes

Consider reviewing these vulnerabilities when fixes become available.

cs-raj
cs-raj previously approved these changes Apr 1, 2026
@github-actions

Copy link
Copy Markdown

🔒 Security Scan Results

ℹ️ Note: Only vulnerabilities with available fixes (upgrades or patches) are counted toward thresholds.

Check TypeCount (with fixes)Without fixesThresholdResult
🔴 Critical Severity0010✅ Passed
🟠 High Severity194125❌ Failed
🟡 Medium Severity19548500✅ Passed
🔵 Low Severity001000✅ Passed

⏱️ SLA Breach Summary

⚠️ Warning: The following vulnerabilities have exceeded their SLA thresholds (days since publication).

SeverityBreaches (with fixes)Breaches (no fixes)SLA Threshold (with/no fixes)Status
🔴 Critical0015 / 30 days✅ Passed
🟠 High0030 / 120 days✅ Passed
🟡 Medium0690 / 365 days⚠️ Warning
🔵 Low00180 / 365 days✅ Passed

ℹ️ Vulnerabilities Without Available Fixes (Informational Only)

The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:

  • Critical without fixes: 0
  • High without fixes: 1
  • Medium without fixes: 48
  • Low without fixes: 0

❌ BUILD FAILED - Security checks failed

Please review and fix the security vulnerabilities before merging.

@github-actions

Copy link
Copy Markdown

🔒 Security Scan Results

ℹ️ Note: Only vulnerabilities with available fixes (upgrades or patches) are counted toward thresholds.

Check TypeCount (with fixes)Without fixesThresholdResult
🔴 Critical Severity0010✅ Passed
🟠 High Severity0025✅ Passed
🟡 Medium Severity147500✅ Passed
🔵 Low Severity001000✅ Passed

⏱️ SLA Breach Summary

⚠️ Warning: The following vulnerabilities have exceeded their SLA thresholds (days since publication).

SeverityBreaches (with fixes)Breaches (no fixes)SLA Threshold (with/no fixes)Status
🔴 Critical0015 / 30 days✅ Passed
🟠 High0030 / 120 days✅ Passed
🟡 Medium0690 / 365 days⚠️ Warning
🔵 Low00180 / 365 days✅ Passed

ℹ️ Vulnerabilities Without Available Fixes (Informational Only)

The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:

  • Critical without fixes: 0
  • High without fixes: 0
  • Medium without fixes: 47
  • Low without fixes: 0

⚠️ BUILD PASSED WITH WARNINGS - SLA breaches detected for issues without available fixes

Consider reviewing these vulnerabilities when fixes become available.

naman-contentstack
naman-contentstack previously approved these changes Apr 2, 2026
@github-actions

Copy link
Copy Markdown

🔒 Security Scan Results

ℹ️ Note: Only vulnerabilities with available fixes (upgrades or patches) are counted toward thresholds.

Check TypeCount (with fixes)Without fixesThresholdResult
🔴 Critical Severity0010✅ Passed
🟠 High Severity0125✅ Passed
🟡 Medium Severity148500✅ Passed
🔵 Low Severity001000✅ Passed

⏱️ SLA Breach Summary

⚠️ Warning: The following vulnerabilities have exceeded their SLA thresholds (days since publication).

SeverityBreaches (with fixes)Breaches (no fixes)SLA Threshold (with/no fixes)Status
🔴 Critical0015 / 30 days✅ Passed
🟠 High0030 / 120 days✅ Passed
🟡 Medium0690 / 365 days⚠️ Warning
🔵 Low00180 / 365 days✅ Passed

ℹ️ Vulnerabilities Without Available Fixes (Informational Only)

The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:

  • Critical without fixes: 0
  • High without fixes: 1
  • Medium without fixes: 48
  • Low without fixes: 0

⚠️ BUILD PASSED WITH WARNINGS - SLA breaches detected for issues without available fixes

Consider reviewing these vulnerabilities when fixes become available.

@shafeeqd959
shafeeqd959 merged commit ba44e31 into developmentApr 2, 2026
10 checks passed
@shafeeqd959
shafeeqd959 deleted the v1-cursor-rules-update branch April 2, 2026 07:59
Sign up for freeto 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.

4 participants

@shafeeqd959@cs-raj@naman-contentstack@harshitha-cstk