{"id":42559523,"url":"https://github.com/cevr/primer","last_synced_at":"2026-02-03T01:12:41.890Z","repository":{"id":333595745,"uuid":"1137818871","full_name":"cevr/primer","owner":"cevr","description":"CLI that renders curated markdown instructions for AI agents","archived":false,"fork":false,"pushed_at":"2026-01-20T02:16:38.000Z","size":64,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-20T08:56:01.877Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cevr.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":null,"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-19T22:01:54.000Z","updated_at":"2026-01-20T02:16:06.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/cevr/primer","commit_stats":null,"previous_names":["cevr/primer"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/cevr/primer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cevr%2Fprimer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cevr%2Fprimer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cevr%2Fprimer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cevr%2Fprimer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cevr","download_url":"https://codeload.github.com/cevr/primer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cevr%2Fprimer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28850474,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T15:15:36.453Z","status":"ssl_error","status_checked_at":"2026-01-28T15:15:13.020Z","response_time":57,"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-01-28T20:05:52.367Z","updated_at":"2026-01-28T20:05:53.088Z","avatar_url":"https://github.com/cevr.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Primer\n\nCurated markdown primers for AI agents.\n\n## Installation\n\n```bash\nbun add -g @cvr/primer\nprimer init                # Install skill file for AI tools\n```\n\n## Usage\n\n```bash\nprimer                     # List available primers\nprimer effect              # Render a primer\nprimer effect services     # Render a sub-primer\nprimer help                # Show help with examples\n```\n\n## What is a Primer?\n\nA primer is curated markdown that teaches AI agents _how to do things well_. Unlike templates that generate boilerplate, primers provide context, patterns, and step-by-step guidance.\n\n**Example use cases:**\n\n- `primer effect` before writing Effect TypeScript code\n- `primer cli` when building a command-line tool\n- `primer oxlint` when setting up linting\n\n## Architecture\n\n```\nprimer CLI\n    │\n    ├─ ManifestService ──→ _manifest.json (primer registry)\n    │\n    └─ PrimerCache ──→ ~/.primer/ (local cache, background refresh)\n                │\n                └──→ GitHub raw (primers/)\n```\n\n**Primer structure:** Each primer is a directory with `index.md` (main) + optional sub-primers. Sub-primers accessed via `primer \u003cname\u003e \u003csub\u003e`.\n\n## AI Tool Integration\n\nRun `primer init` to install skill files:\n\n| Tool        | Location                                    |\n| ----------- | ------------------------------------------- |\n| Claude Code | `~/.claude/skills/primer.md`                |\n| Cursor      | `~/.cursor/skills/primer.md`                |\n| OpenCode    | `~/.config/opencode/skills/primer/SKILL.md` |\n\nUse `primer init --local` for project-level installation.\n\n## Development\n\n```bash\ngit clone https://github.com/cevr/primer.git\ncd primer \u0026\u0026 bun install\nbun run dev effect         # Run locally\nbun run check              # Typecheck + lint + format\nbun run test               # Run tests\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcevr%2Fprimer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcevr%2Fprimer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcevr%2Fprimer/lists"}