{"schema_version":1,"workflow_uuid":"f1f269b1-41e3-4586-8bb0-a671b38fa248","workflow_title":"Cursor Rules: Next.js — Best Practices for AI Coding","page_url":"https://tokrepo.com/en/workflows/cursor-rules-next-js-best-practices-ai-coding-f1f269b1","raw_url":"https://tokrepo.com/raw/cursor-rules-next-js-best-practices-ai-coding-f1f269b1","metadata_url":"https://tokrepo.com/metadata/cursor-rules-next-js-best-practices-ai-coding-f1f269b1.json","install_plan_url":"https://api.tokrepo.com/api/v1/tokenboard/workflows/install-plan?uuid=f1f269b1-41e3-4586-8bb0-a671b38fa248&target=codex","recommended_install":{"schema_version":1,"status":"stage","policy":"stage_only","install_mode":"stage_only","target":"codex","command":"npx -y tokrepo@latest install f1f269b1-41e3-4586-8bb0-a671b38fa248 --target codex","dry_run_command":"npx -y tokrepo@latest install f1f269b1-41e3-4586-8bb0-a671b38fa248 --target codex --dry-run --json","runtime_commands":{"codex":"npx -y tokrepo@latest install f1f269b1-41e3-4586-8bb0-a671b38fa248 --target codex","gemini":"npx -y tokrepo@latest install f1f269b1-41e3-4586-8bb0-a671b38fa248 --target gemini","project":"npx -y tokrepo@latest install f1f269b1-41e3-4586-8bb0-a671b38fa248"},"prompt":"Install and make this TokRepo asset usable: \"Cursor Rules: Next.js — Best Practices for AI Coding\".\n\nPage: https://tokrepo.com/en/workflows/cursor-rules-next-js-best-practices-ai-coding-f1f269b1\nUUID: f1f269b1-41e3-4586-8bb0-a671b38fa248\nTarget adapter: codex\nPolicy/mode: stage_only / stage_only\n\nRead these machine-facing entry points first:\n- metadata: https://tokrepo.com/metadata/cursor-rules-next-js-best-practices-ai-coding-f1f269b1.json\n- install contract: https://tokrepo.com/install-contract/cursor-rules-next-js-best-practices-ai-coding-f1f269b1.json\n- install plan: https://api.tokrepo.com/api/v1/tokenboard/workflows/install-plan?uuid=f1f269b1-41e3-4586-8bb0-a671b38fa248&target=codex\n- raw content: https://tokrepo.com/raw/cursor-rules-next-js-best-practices-ai-coding-f1f269b1\n\nCommands:\n- choose the current runtime; do not use unsupported CLI targets.\n- Codex: npx -y tokrepo@latest install f1f269b1-41e3-4586-8bb0-a671b38fa248 --target codex\n- Gemini CLI: npx -y tokrepo@latest install f1f269b1-41e3-4586-8bb0-a671b38fa248 --target gemini\n- Claude Code / project agent: run npx -y tokrepo@latest install f1f269b1-41e3-4586-8bb0-a671b38fa248 from the project root; add `--dry-run --json` first to inspect the plan.\n- add `--dry-run --json` to the chosen command first; after the plan allows it, run the chosen command.\n\nExecution rules:\n1. Run the install command to stage the asset safely.\n2. Read the staged README, install-plan, and entrypoint files.\n3. Activate scripts, MCP config, or global config only after user confirmation.\n4. Verify usability with the install-plan post_verify checks and the asset README.\n\nReport back with changed files, verification result, and how to use the asset next.","next_steps":["Run the install command to stage the asset safely.","Read the staged README, install-plan, and entrypoint files.","Activate scripts, MCP config, or global config only after user confirmation.","Verify usability with the install-plan post_verify checks and the asset README."],"success_check":["The asset is safely staged.","The agent can give clear activation steps from the staged content."]},"agent_metadata":{"asset_kind":"skill","target_tools":["cursor"],"install_mode":"single","entrypoint":"Cursor Rules: Next.js — Best Practices for AI Coding","risk_profile":{"executes_code":false,"modifies_global_config":false,"requires_secrets":[],"uses_absolute_paths":false,"network_access":true},"dependencies":{"npm":[],"pip":[],"brew":[],"system":[]},"content_hash":"579a6359250bdb48b0a2b536d58a14e106490b376bdea096cfef9b3a90860873","verification":{"commands":[],"expected_files":["Cursor Rules: Next.js — Best Practices for AI Coding"]}},"agent_fit":{"target":"codex","score":29,"status":"stage_only","policy":"stage_only","why":["target_tools does not include codex","asset_kind skill","install_mode stage_only","policy stage_only","metadata target_tools does not include codex","install_mode is stage_only","risk_profile.network_access is true","trust community"],"asset_kind":"skill","install_mode":"stage_only"},"trust":{"author_trust_level":"community","verified_publisher":false,"asset_signed_hash":"579a6359250bdb48b0a2b536d58a14e106490b376bdea096cfef9b3a90860873","signature_status":"hash_only","install_count":0,"report_count":0,"dangerous_capability_badges":["network_access"],"review_status":"unreviewed","signals":["asset has usage views","content hash available"]},"provenance":{"owner_uuid":"2660b0f3-4cb5-4d0f-8d9e-f2d70f5adc74","owner_name":"Cursor · Anysphere","source_url":"https://tokrepo.com/en/workflows/cursor-rules-next-js-best-practices-ai-coding-f1f269b1","content_hash":"579a6359250bdb48b0a2b536d58a14e106490b376bdea096cfef9b3a90860873","visibility":1,"created_at":"2026-03-29 22:43:37","updated_at":"2026-06-13 16:19:03"},"target_adapter":{"target":"codex","adapter":"skill-directory","root":"~/.codex/skills","entrypoint":"SKILL.md","manifest_path":"~/.codex/tokrepo/install-manifest.json","staging_root":"~/.codex/tokrepo/staged/f1f269b1-41e3-4586-8bb0-a671b38fa248","install_modes":["single","bundle","split","stage_only"],"activates_files":true},"install_plan":{"schema_version":2,"target":"codex","asset_uuid":"f1f269b1-41e3-4586-8bb0-a671b38fa248","asset_title":"Cursor Rules: Next.js — Best Practices for AI Coding","source_url":"https://tokrepo.com/en/workflows/cursor-rules-next-js-best-practices-ai-coding-f1f269b1","install_mode":"stage_only","entrypoint":"Cursor Rules: Next.js — Best Practices for AI Coding","preconditions":[{"type":"target_supported","status":"pass","message":"codex install target is supported"},{"type":"install_root","status":"pass","message":"~/.codex/skills for activated assets; ~/.codex/tokrepo/staged/f1f269b1-41e3-4586-8bb0-a671b38fa248 for staged assets"},{"type":"target_tool_metadata","status":"warn","message":"metadata target_tools does not include codex"},{"type":"content_hash","status":"pass","message":"asset metadata includes content_hash"},{"type":"trust_policy","status":"warn","message":"low trust publisher plus dangerous capability requires staging"},{"type":"policy_decision","status":"warn","message":"stage_only for f1f269b1-41e3-4586-8bb0-a671b38fa248 (stage_only)"}],"actions":[{"type":"stage_file","path":"~/.codex/tokrepo/staged/f1f269b1-41e3-4586-8bb0-a671b38fa248/Cursor Rules- Next.js — Best Practices for AI Coding","source_name":"Cursor Rules: Next.js — Best Practices for AI Coding","sha256":"8c67baa7c54321e0d69107b5ba1a4b8c7d68a4d8c66a4bbf51681bf8041450c8","bytes":1945,"risk":{"executes_code":false,"modifies_global_config":false,"requires_secrets":[],"uses_absolute_paths":false,"network_access":true},"if_exists":"overwrite"}],"policy_decision":{"decision":"stage_only","requires_confirmation":false,"reasons":["metadata target_tools does not include codex","install_mode is stage_only","risk_profile.network_access is true","low trust publisher plus dangerous capability requires staging"]},"requires_confirmation":false,"rollback":[{"type":"remove_file","path":"~/.codex/tokrepo/staged/f1f269b1-41e3-4586-8bb0-a671b38fa248/Cursor Rules- Next.js — Best Practices for AI Coding"}],"post_verify":[{"type":"file_sha256","path":"~/.codex/tokrepo/staged/f1f269b1-41e3-4586-8bb0-a671b38fa248/Cursor Rules- Next.js — Best Practices for AI Coding","sha256":"8c67baa7c54321e0d69107b5ba1a4b8c7d68a4d8c66a4bbf51681bf8041450c8"},{"type":"expected_file","path":"Cursor Rules- Next.js — Best Practices for AI Coding"}],"metadata":{"asset_kind":"skill","target_tools":["cursor"],"install_mode":"stage_only","entrypoint":"Cursor Rules: Next.js — Best Practices for AI Coding","risk_profile":{"executes_code":false,"modifies_global_config":false,"requires_secrets":[],"uses_absolute_paths":false,"network_access":true},"dependencies":{"npm":[],"pip":[],"brew":[],"system":[]},"content_hash":"579a6359250bdb48b0a2b536d58a14e106490b376bdea096cfef9b3a90860873","verification":{"commands":[],"expected_files":["Cursor Rules: Next.js — Best Practices for AI Coding"]}},"agent_fit":{"target":"codex","score":29,"status":"stage_only","policy":"stage_only","why":["target_tools does not include codex","asset_kind skill","install_mode stage_only","policy stage_only","metadata target_tools does not include codex","install_mode is stage_only","risk_profile.network_access is true","trust community"],"asset_kind":"skill","install_mode":"stage_only"},"trust":{"author_trust_level":"community","verified_publisher":false,"asset_signed_hash":"579a6359250bdb48b0a2b536d58a14e106490b376bdea096cfef9b3a90860873","signature_status":"hash_only","install_count":0,"report_count":0,"dangerous_capability_badges":["network_access"],"review_status":"unreviewed","signals":["asset has usage views","content hash available"]},"provenance":{"owner_uuid":"2660b0f3-4cb5-4d0f-8d9e-f2d70f5adc74","owner_name":"Cursor · Anysphere","source_url":"https://tokrepo.com/en/workflows/cursor-rules-next-js-best-practices-ai-coding-f1f269b1","content_hash":"579a6359250bdb48b0a2b536d58a14e106490b376bdea096cfef9b3a90860873","visibility":1,"created_at":"2026-03-29 22:43:37","updated_at":"2026-06-13 16:19:03"},"target_adapter":{"target":"codex","adapter":"skill-directory","root":"~/.codex/skills","entrypoint":"SKILL.md","manifest_path":"~/.codex/tokrepo/install-manifest.json","staging_root":"~/.codex/tokrepo/staged/f1f269b1-41e3-4586-8bb0-a671b38fa248","install_modes":["single","bundle","split","stage_only"],"activates_files":true},"evidence_bundle":{"acceptance_gate":{"recommended_action":"stage_or_request_confirmation","rule":"Agents should only activate an asset after evidence_bundle.integrity, policy_compatibility, rollback, and post_verify have been inspected.","status":"caution"},"asset_title":"Cursor Rules: Next.js — Best Practices for AI Coding","asset_uuid":"f1f269b1-41e3-4586-8bb0-a671b38fa248","eval_evidence":["https://tokrepo.com/evals/install-safety.json","https://tokrepo.com/evals/trust-evidence-coverage.json","https://tokrepo.com/evals/handoff-quality.json"],"generated_at":"2026-06-13T08:19:04Z","integrity":{"content_hash":"6c62139d7b3876f4b1c97776d265816b2402a7fba03ff0f94b5a2e45e277f15e","declared_content_hash":"579a6359250bdb48b0a2b536d58a14e106490b376bdea096cfef9b3a90860873","file_count":1,"hash_algorithm":"sha256","install_plan_hash":"7ccd5e6d00baf39fe54483eb01505d471cab6589d5ca01b85fe94649ac250e8a"},"policy_compatibility":{"permission_envelope":{"destructive":false,"executes_code":false,"file_count":1,"filesystem_write":["~/.codex/tokrepo/staged"],"global_config_write":false,"network":true,"requires_secrets":[],"uses_absolute_paths":false},"policy_decision":{"decision":"stage_only","requires_confirmation":false,"reasons":["metadata target_tools does not include codex","install_mode is stage_only","risk_profile.network_access is true","low trust publisher plus dangerous capability requires staging"]},"requires_confirmation":false,"target":"codex","trust_score_v2":{"recommended_action":"stage_or_request_confirmation","status":"caution","trust_score":60}},"provenance":{"asset_kind":"skill","asset_title":"Cursor Rules: Next.js — Best Practices for AI Coding","asset_uuid":"f1f269b1-41e3-4586-8bb0-a671b38fa248","computed_bundle_hash":"6c62139d7b3876f4b1c97776d265816b2402a7fba03ff0f94b5a2e45e277f15e","content_hash":"579a6359250bdb48b0a2b536d58a14e106490b376bdea096cfef9b3a90860873","created_at":"2026-03-29 22:43:37","generated_at":"2026-06-13T08:19:04Z","install_plan_hash":"7ccd5e6d00baf39fe54483eb01505d471cab6589d5ca01b85fe94649ac250e8a","owner_name":"Cursor · Anysphere","owner_uuid":"2660b0f3-4cb5-4d0f-8d9e-f2d70f5adc74","parent_uuid":"","schema_version":2,"source":"tokrepo_asset","source_url":"https://tokrepo.com/en/workflows/cursor-rules-next-js-best-practices-ai-coding-f1f269b1","updated_at":"2026-06-13 16:19:03","visibility":1},"sbom":{"asset_kind":"skill","asset_title":"Cursor Rules: Next.js — Best Practices for AI Coding","asset_uuid":"f1f269b1-41e3-4586-8bb0-a671b38fa248","capability_flags":{"destructive":false,"executes_code":false,"modifies_global_config":false,"network_access":true,"requires_secrets":[]},"content_hash":"6c62139d7b3876f4b1c97776d265816b2402a7fba03ff0f94b5a2e45e277f15e","dependencies":{"brew":[],"mcp":[],"npm":[],"pip":[],"system":[]},"files":[{"bytes":1945,"path":"~/.codex/tokrepo/staged/f1f269b1-41e3-4586-8bb0-a671b38fa248/Cursor Rules- Next.js — Best Practices for AI Coding","role":"supporting_file","sha256":"8c67baa7c54321e0d69107b5ba1a4b8c7d68a4d8c66a4bbf51681bf8041450c8","source_name":"Cursor Rules: Next.js — Best Practices for AI Coding"}],"format":"SBOM-lite","install_mode":"stage_only","schema_version":1,"target":"codex"},"schema":"https://tokrepo.com/schemas/agent-evidence-bundle.schema.json","schema_version":1,"schemas":{"asset_verification":"https://tokrepo.com/schemas/asset-verification.schema.json","evidence_bundle":"https://tokrepo.com/schemas/agent-evidence-bundle.schema.json","install_plan":"https://tokrepo.com/schemas/install-plan.schema.json","provenance":"https://tokrepo.com/schemas/provenance.schema.json","sbom":"https://tokrepo.com/schemas/agent-evidence-bundle.schema.json#/properties/sbom"},"signature_evidence":{"content_hash":"6c62139d7b3876f4b1c97776d265816b2402a7fba03ff0f94b5a2e45e277f15e","hash_algorithm":"sha256","install_plan_hash":"7ccd5e6d00baf39fe54483eb01505d471cab6589d5ca01b85fe94649ac250e8a","schema_version":1,"signed_hash":"579a6359250bdb48b0a2b536d58a14e106490b376bdea096cfef9b3a90860873","status":"hash_only","verification_notes":["hash_only evidence proves content integrity but not publisher identity unless an external signature verifies it"]},"source_url":"https://tokrepo.com/en/workflows/cursor-rules-next-js-best-practices-ai-coding-f1f269b1","target":"codex"},"sbom":{"asset_kind":"skill","asset_title":"Cursor Rules: Next.js — Best Practices for AI Coding","asset_uuid":"f1f269b1-41e3-4586-8bb0-a671b38fa248","capability_flags":{"destructive":false,"executes_code":false,"modifies_global_config":false,"network_access":true,"requires_secrets":[]},"content_hash":"6c62139d7b3876f4b1c97776d265816b2402a7fba03ff0f94b5a2e45e277f15e","dependencies":{"brew":[],"mcp":[],"npm":[],"pip":[],"system":[]},"files":[{"bytes":1945,"path":"~/.codex/tokrepo/staged/f1f269b1-41e3-4586-8bb0-a671b38fa248/Cursor Rules- Next.js — Best Practices for AI Coding","role":"supporting_file","sha256":"8c67baa7c54321e0d69107b5ba1a4b8c7d68a4d8c66a4bbf51681bf8041450c8","source_name":"Cursor Rules: Next.js — Best Practices for AI Coding"}],"format":"SBOM-lite","install_mode":"stage_only","schema_version":1,"target":"codex"},"signature_evidence":{"content_hash":"6c62139d7b3876f4b1c97776d265816b2402a7fba03ff0f94b5a2e45e277f15e","hash_algorithm":"sha256","install_plan_hash":"7ccd5e6d00baf39fe54483eb01505d471cab6589d5ca01b85fe94649ac250e8a","schema_version":1,"signed_hash":"579a6359250bdb48b0a2b536d58a14e106490b376bdea096cfef9b3a90860873","status":"hash_only","verification_notes":["hash_only evidence proves content integrity but not publisher identity unless an external signature verifies it"]},"provenance_v2":{"asset_kind":"skill","asset_title":"Cursor Rules: Next.js — Best Practices for AI Coding","asset_uuid":"f1f269b1-41e3-4586-8bb0-a671b38fa248","computed_bundle_hash":"6c62139d7b3876f4b1c97776d265816b2402a7fba03ff0f94b5a2e45e277f15e","content_hash":"579a6359250bdb48b0a2b536d58a14e106490b376bdea096cfef9b3a90860873","created_at":"2026-03-29 22:43:37","generated_at":"2026-06-13T08:19:04Z","install_plan_hash":"7ccd5e6d00baf39fe54483eb01505d471cab6589d5ca01b85fe94649ac250e8a","owner_name":"Cursor · Anysphere","owner_uuid":"2660b0f3-4cb5-4d0f-8d9e-f2d70f5adc74","parent_uuid":"","schema_version":2,"source":"tokrepo_asset","source_url":"https://tokrepo.com/en/workflows/cursor-rules-next-js-best-practices-ai-coding-f1f269b1","updated_at":"2026-06-13 16:19:03","visibility":1},"transitive_dependencies":null}}