Cursor Project Scanner
Audit Cursor configuration health and identify configuration gaps across projects. Ensure all projects have optimal Cursor configuration.
Audit Cursor IDE configurations across projects. Scan multiple projects to identify missing or outdated .cursor/rules files, generate compliance reports, and ensure consistent Cursor setup across your development environment with automated health checks.
Capabilities
Use cases
Try it
Example prompts to use with this skill
Scan all my projects for Cursor configuration
#!/bin/bash
PROJECTS_DIR="$HOME/projects"
for project in "$PROJECTS_DIR"/*; do
if [ -d "$project" ]; then
echo "Checking: $(basename "$project")"
if [ -d "$project/.cursor" ]; then
echo " ✓ .cursor directory found"
if [ -f "$project/.cursor/rules" ]; then
echo " ✓ .cursor/rules file exists"
else
echo " ✗ Missing .cursor/rules file"
fi
else
echo " ✗ No Cursor configuration found"
fi
fi
done
The script checks each project for Cursor configuration and reports any gaps.Generate a compliance report for Cursor configurations
import os
import json
from pathlib import Path
from datetime import datetime
class CursorScanner:
def scan_project(self, project_path):
result = {
'name': project_path.name,
'has_cursor_dir': (project_path / '.cursor').exists(),
'has_rules': (project_path / '.cursor' / 'rules').exists(),
'status': 'missing'
}
if result['has_rules']:
result['status'] = 'healthy'
elif result['has_cursor_dir']:
result['status'] = 'partial'
return result
def generate_report(self, projects_dir):
results = []
for item in Path(projects_dir).iterdir():
if item.is_dir():
results.append(self.scan_project(item))
return {
'generated': datetime.now().isoformat(),
'projects': results,
'summary': {
'total': len(results),
'healthy': sum(1 for r in results if r['status'] == 'healthy')
}
}
scanner = CursorScanner()
report = scanner.generate_report(os.path.expanduser('~/projects'))
print(json.dumps(report, indent=2))
The script creates a JSON report showing configuration health across all projects.Add to your AI assistant
Choose your AI assistant and run the command in your terminal
curl -fsSL https://raw.githubusercontent.com/n3wth/newth-skills/main/skills/cursor-project-scanner.md -o ~/.claude/skills/cursor-project-scanner.mdCopycurl -fsSL https://raw.githubusercontent.com/n3wth/newth-skills/main/skills/cursor-project-scanner.md -o ~/.cursor/skills/cursor-project-scanner.mdCopyDiscussions
Sign in with GitHub to join the discussion.
Loading...
Related skills
Cursor Project Bootstrapper
Create new Cursor workspaces with pre-configured rules, extensions, and settings. Automate workspace initialization for different project types with context-aware configuration.
Settings Distribution Manager
Deploy Cursor settings and rules to your entire team with version management. Standardize Cursor configuration across development teams with managed rollouts and automated updates.