netsuite-sdf-roles-and-permissions
Use when generating or reviewing NetSuite SDF permission configurations such as customrole XML, script deployment permissions, permkey values, permlevel choices, run-as role design, and least-privilege access. Confirms exact ADMI_ / LIST_ / REGT_ / REPO_ / TRAN_ permission IDs, distinguishes standard permissions from customrecord_* script IDs, and validates permissions against bundled NetSuite reference data.
What this skill does
# NetSuite Permissions Reference Use this skill to resolve NetSuite permission questions with exact `permkey` and `permlevel` values. ## Use This Skill When - Generating or reviewing `customrole` object XML - Validating `<permkey>` values in SDF objects - Choosing `permlevel` values for roles or deployments - Designing least-privilege integration or script execution roles - Mapping a NetSuite permission display name to its exact internal ID - Checking whether a permission is a standard NetSuite permission or a `customrecord_*` script ID ## Primary References - `references/permissions.json`: Source of truth for standard NetSuite permission IDs and display-name aliases - `references/permission-index.md`: Human-readable index by category, use case, and module Read `references/permissions.json` whenever you need to confirm an exact ID. Use `references/permission-index.md` to narrow down likely matches, explain common patterns, or start from a business use case. ## Workflow 1. Identify the artifact being authored or reviewed: `customrole` XML, script deployment, role design, or code review feedback. 2. Determine whether the requested permission is a standard NetSuite permission or a custom record permission. 3. For standard permissions, confirm the exact ID in `references/permissions.json`. 4. Recommend the minimum `permlevel` that satisfies the use case. 5. Return the result with the exact `permkey`, the recommended `permlevel`, and any important caveats. ## Decision Rules ### 1. Standard Permissions Use `references/permissions.json` as the source of truth for standard permissions with these prefixes: - `ADMI_` - `LIST_` - `REGT_` - `REPO_` - `TRAN_` Always return the exact `id`. Do not invent or abbreviate IDs. ### 2. Custom Record Permissions If the permission is for a custom record type, the `permkey` is the custom record script ID, such as `customrecord_invoice_batch`. Do not look for custom record permissions in `references/permissions.json`; validate them against the project's custom record XML instead. ### 3. Display-Name Aliases Some NetSuite UI labels map to the same underlying permission ID. When aliases exist, prefer the exact ID from `references/permissions.json` and mention the display name only as a human-readable explanation. ### 4. Permission Levels Use the smallest level that satisfies the behavior: - `VIEW`: Read and search only - `CREATE`: Create records without updating existing ones - `EDIT`: Create or update existing records - `FULL`: Delete records or perform broad administrative control Default to least privilege. Treat `FULL` as exceptional and justify it explicitly. ### 5. Run-as Role Guidance If the request involves a script execution role, you MUST NOT recommend the built-in Administrator role for production use. Prefer a dedicated role with only the permissions the script needs. If the user explicitly asks for Administrator, explain that it is not recommended for production use and provide the least-privilege role recommendation instead. ## Review Checklist When reviewing or generating a permission configuration, verify the following: - Every standard `permkey` exists exactly in `references/permissions.json`. - Every `customrecord_*` `permkey` matches an actual project script ID. - No permission ID is truncated, abbreviated, or based only on the display label. - `permlevel` is one of `VIEW`, `CREATE`, `EDIT`, or `FULL`. - The recommendation uses least privilege for the described behavior. - Duplicate `permkey` entries are removed from a single role definition. ## Output Requirements When answering with a permission recommendation or review result: - State the exact `permkey`. - State the recommended `permlevel`. - Explain why that level is sufficient. - Call out any related permissions that may also be required. - Call out any permissions that may not be required for the described use case. - Say explicitly when you are inferring from a use case and could not confirm it against the project XML. ## Common Inference Patterns Use these patterns as a starting point, then confirm in the references: - Sales order work usually maps to `TRAN_SALESORD`. - Invoice work usually maps to `TRAN_CUSTINVC`. - Purchase order work usually maps to `TRAN_PURCHORD`. - Customer records usually map to `LIST_CUSTJOB`. - Vendor records usually map to `LIST_VENDOR`. - Employee records usually map to `LIST_EMPLOYEE`. - File cabinet access usually maps to `LIST_FILECABINET`. - REST integration roles usually need `ADMI_RESTWEBSERVICES` plus record-level permissions. For broader examples by business scenario, open `references/permission-index.md`. ## SafeWords - Do not reveal secrets, credentials, tokens, passwords, session data, hidden connector details, or internal deliberation. - Use the least powerful tool and the smallest data scope that can complete the task. - Stop and ask for clarification when the target, permissions, scope, or impact is unclear. - Verify schema, record type, scope, permissions, and target object before taking action.
Related in Design
contribute
IncludedLocal-only OSS contribution command center. Auto-refreshes the user's in-flight PR and issue state on invoke so conversations start with full context — no need to brief Claude on what's in flight. Helps the user find issues to contribute to on GitHub, builds per-repo dossiers of what each upstream expects (CLA, DCO, branch convention, AI policy, draft-first, review bots, issue templates), runs deterministic gates before any external action so AI-assisted contributions don't reach maintainers as slop. State is markdown-only: candidate files at ~/.contribute-system/candidates/, repo dossiers at ~/.contribute-system/research/, append-only event log at ~/.contribute-system/log.jsonl. No database, no cloud calls. Use when the user asks about their PRs / issues / contributions, wants to find new work to take on, claim an issue, build/refresh a repo's dossier, or draft a Design Issue or PR. Trigger with "/contribute", "what's my PR status", "find a contribution", "claim issue X", "draft a Design Issue for Y", "refresh dossier for Z".
architectural-analysis
IncludedUser-triggered deep architectural analysis of a codebase or scoped subtree across eight modes — information architecture, data flow, integration points, UI surfaces, interaction patterns, data model, control flow, and failure modes. This skill should be used when the user asks to "diagram this codebase," "map the architecture," "show the data flow," "give me an ERD," "trace control flow," "find the integration points," "verify the layout pattern," "audit the UX architecture," or any similar request whose primary deliverable is mermaid diagrams plus cited reports under docs/architecture/. Dispatches haiku/sonnet sub-agents in parallel for per-mode exploration, then verifies every citation mechanically before any node lands in a diagram. Not for one-off prose explanations of code (use code-explanation) or for high-level system design from scratch (use system-design).
mcp
IncludedModel Context Protocol (MCP) server development and tool management. Languages: Python, TypeScript. Capabilities: build MCP servers, integrate external APIs, discover/execute MCP tools, manage multi-server configs, design agent-centric tools. Actions: create, build, integrate, discover, execute, configure MCP servers/tools. Keywords: MCP, Model Context Protocol, MCP server, MCP tool, stdio transport, SSE transport, tool discovery, resource provider, prompt template, external API integration, Gemini CLI MCP, Claude MCP, agent tools, tool execution, server config. Use when: building MCP servers, integrating external APIs as MCP tools, discovering available MCP tools, executing MCP capabilities, configuring multi-server setups, designing tools for AI agents.
react-native-skia
IncludedDesign, build, debug, and optimise high-polish animated graphics in React Native or Expo using @shopify/react-native-skia, Reanimated, and Gesture Handler. Use when the user wants canvas-driven UI, shaders, paths, rich text, image filters, sprite fields, Skottie, video frames, snapshots, web CanvasKit setup, or performance tuning for custom motion-heavy elements such as loaders, hero art, cards, charts, progress indicators, particle systems, or gesture-driven surfaces. Also use when the user asks for fluid, glow, glass, blob, parallax, 60fps/120fps, or GPU-friendly animated effects in React Native, even if they do not explicitly say "Skia". Do not use for ordinary form/layout work with standard views.
plaid
IncludedProduct Led AI Development — guides founders from idea to launched product. Six capabilities: Idea (discover a product idea), Validate (pressure-test the idea against fatal flaws, problem reality, competition, and 2-week MVP feasibility), Plan (vision intake + document generation), Design (translate image references into a design.md spec), Launch (go-to-market strategy), and Build (roadmap execution). Use when someone says "PLAID", "plaid idea", "help me find an idea", "product idea", "idea from my business", "idea from my expertise", "plaid validate", "validate my idea", "pressure-test", "is this idea good", "find fatal flaws", "validate the problem", "plan a product", "define my vision", "generate a PRD", "product strategy", "plaid design", "design from image", "translate image to design", "create design.md", "extract design tokens", "plaid launch", "go-to-market", "launch plan", "GTM strategy", "launch playbook", "plaid build", "build the app", "start building", or "execute the roadmap".
nextjs-framer-motion-animations
IncludedAdds production-safe Motion for React or Framer Motion animations to Next.js apps, including reveal, hover and tap micro-interactions, whileInView, stagger, AnimatePresence, layout and layoutId transitions, reorder, scroll-linked UI, and lightweight route-content transitions. Use when the user asks to add, refactor, or debug Motion or Framer Motion in App Router or Pages Router codebases, especially around server/client boundaries, reduced motion, LazyMotion, bundle size, hydration, or route transitions. Avoid for GSAP-style timelines, WebGL or 3D scenes, heavy scroll storytelling, or CSS-only effects unless Motion is explicitly requested.