{"id":45574029,"url":"https://github.com/1shooperman/cursor-template","last_synced_at":"2026-02-23T08:35:16.854Z","repository":{"id":332789878,"uuid":"1134992069","full_name":"1shooperman/cursor-template","owner":"1shooperman","description":"Template repo to bootstrap my Cursor-enabled development environment.","archived":false,"fork":false,"pushed_at":"2026-01-15T14:17:24.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-15T18:17:19.115Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/1shooperman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-15T13:47:21.000Z","updated_at":"2026-01-15T14:17:30.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/1shooperman/cursor-template","commit_stats":null,"previous_names":["1shooperman/cursor-template"],"tags_count":null,"template":true,"template_full_name":null,"purl":"pkg:github/1shooperman/cursor-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1shooperman%2Fcursor-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1shooperman%2Fcursor-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1shooperman%2Fcursor-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1shooperman%2Fcursor-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/1shooperman","download_url":"https://codeload.github.com/1shooperman/cursor-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1shooperman%2Fcursor-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29740030,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T07:44:07.782Z","status":"ssl_error","status_checked_at":"2026-02-23T07:44:07.432Z","response_time":90,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-02-23T08:35:15.836Z","updated_at":"2026-02-23T08:35:16.841Z","avatar_url":"https://github.com/1shooperman.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# cursor-template\n\nTemplate repository for a Cursor-enabled development environment. This repo is intentionally small: it primarily exists to version and share Cursor configuration (rules + reusable commands) that you can apply to other projects.\n\n## What’s included\n\n- **Global Cursor rules**: `.cursor/rules/global.mdc`\n  - Applied to all files (see the frontmatter `alwaysApply: true`).\n  - Encodes general engineering guidance (SOLID/DRY, consistency, error handling, dependency hygiene, etc.).\n  - No project-specific placeholders; project context lives in `context.mdc`.\n\n- **Tech stack / role context**: `.cursor/rules/context.mdc`\n  - Defines only the project’s tech stack and role (e.g. “You are a senior Vue.js engineer…”).\n  - Kept minimal so it stays in this repo while the rest of `.cursor/` can be symlinked into `~/.cursor/` for global use.\n  - A template with placeholders lives at **`context.template.mdc`** (repo root): copy it to `.cursor/rules/context.mdc` and fill in `{{SOFTWARE_STACK}}`, `{{PROGRAMMING_LANGS_FRAMEWORKS}}`, `{{AGE_AND_DESCRIPTION}}`, and `{{ADDITIONAL_DETAIL}}`.\n\n- **Cursor agents**: `.cursor/agents/`\n  - Optional agent definitions (e.g. `security-auditor.md` for security audits) that you can invoke from Cursor.\n\n- **Reusable Cursor commands**: `.cursor/commands/`\n  - `review.md`: prompts for a peer-style code review of the current diff (or last 10 commits on default branch).\n  - `summarize.md`: prompts for a copy/pastable PR description snippet.\n\n## How to use\n\n### Usage from this repo (recommended)\n\nUse this pattern to apply this repo’s Cursor config globally on your machine:\n\n1. **Symlink each folder in this repo’s `.cursor/` into `~/.cursor/`**  \n   From this repo’s root, symlink every folder under `.cursor/` into your Cursor user directory:\n\n   ```bash\n   cd /path/to/cursor-template\n   for dir in .cursor/*/; do\n     name=$(basename \"$dir\")\n     ln -sf \"$(pwd)/$dir\" \"$HOME/.cursor/$name\"\n   done\n   ```\n\n   Or manually:\n\n   ```bash\n   ln -sf /path/to/cursor-template/.cursor/agents   ~/.cursor/agents\n   ln -sf /path/to/cursor-template/.cursor/commands ~/.cursor/commands\n   ln -sf /path/to/cursor-template/.cursor/rules    ~/.cursor/rules\n   ```\n\n2. **Keep project-only context in this repo**  \n   In this repo’s `.cursor/rules/`, keep a `context.mdc` that only defines the tech stack and role, for example:\n\n   ```markdown\n   ## Role\n\n   You are a senior Vue.js engineer that understands full stack architecture best practices for building cloud-based applications with PHP and Vue.\n   ```\n\n   Cursor will use the symlinked rules/commands/agents from `~/.cursor/` plus this repo’s `context.mdc` for project-specific context.\n\n### Option A: Use this repo as a template\n\n1. Create a new repo from this template (or copy the contents into an existing repo).\n2. Copy `context.template.mdc` to `.cursor/rules/context.mdc` and fill in the placeholders, or add your own `.cursor/rules/context.mdc` with your tech stack and role.\n3. Optionally review or tweak `.cursor/rules/global.mdc` to match your preferences.\n4. Commit the `.cursor/` directory so the rules/commands/agents are shared with your team.\n\n### Option B: Copy into an existing repo\n\nCopy the `.cursor/` directory into the root of your target repository:\n\n```bash\ncp -R .cursor /path/to/your/other/repo/\n```\n\nThen copy `context.template.mdc` to `.cursor/rules/context.mdc` and fill in the placeholders (or add your own context.mdc). Edit `.cursor/rules/global.mdc` if you need to adjust the shared rules for that project.\n\n**Note**: Make sure to add `.cursor/*.log, change-summary.md, and code-review.md` to your `.gitignore`\n\n## License\n\nSee `LICENSE`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1shooperman%2Fcursor-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F1shooperman%2Fcursor-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1shooperman%2Fcursor-template/lists"}