netsuite-sdf-safe-guide
БесплатноБез исполняемых скриптовНе проверенComprehensive NetSuite SDF best practices based on the SAFE Guide (12 principles + appendices). Generates Object XML for all 14 script types, enforces…
от oracle★ 388 звёзд на GitHubОб этом скилле
NetSuite SDF Safe Guide
Description
Comprehensive guide for NetSuite SuiteCloud Development Framework (SDF) projects, incorporating the SAFE Guide (SuiteApp Architecture Framework for Excellence) principles. This skill provides:
- SAFE Guide Integration: 12 principles covering features, governance, performance, multi-SuiteApp environments, security, testing, distribution, maintenance, licensing, open-source compliance, secure coding, and UIF SPA best practices
- Object XML Generation: Automatically creates deployment XML files for all 14 SuiteScript types
- Best Practices Enforcement: Ensures correct deployment configurations, permissions, and status values
- Common Pitfalls Documentation: 140+ documented pitfalls with solutions learned from real deployments
- Performance Guidance: N/cache patterns, N/query with SuiteQL, avoiding N+1 queries, batch operations, Map/Reduce optimization
- Architecture Patterns: Suitelet-as-API pattern, popup communication with postMessage, module-level initialization
- Defensive Coding: Patterns for scripts to coexist with other scripts, workflows, and SuiteApps
- Governance & Limits: Usage unit limits by script type, concurrency limits, API costs, time limits
- Security: OWASP principles, input validation, secure coding practices
- Appendices: Concurrency limits, N/query joins, N/cache samples, and other static reference material
How to Use This Skill
Manual Invocation (Slash Command)
Invoke this skill at any time by typing:
/netsuite-sdf-safe-guide
Or use natural language triggers:
- "Generate objects" – Scan SuiteScripts folder and create missing Object XML files.
- "Create object for this script" – Generate Object XML for the current/specified file.
- "Check my deployment XML" – Review and validate existing Object XML files.
- "Review my SuiteScript" – Review code for best practices, pitfalls, and governance issues.
Optional Coding Assistant Activation Example
For NetSuite SuiteCloud Development Framework (SDF) projects, supported coding assistants may preload this skill from project settings.
Here is an example for Claude, which is one of the supported coding assistants:
Step 1: Create or edit .claude/settings.local.json in your SDF project root:
{
"permissions": {
"allow": [
"Skill(netsuite-sdf-safe-guide)"
]
}
}
Step 2 (Optional): Add additional related skills and permissions:
{
"permissions": {
"allow": [
"Skill(netsuite-sdf-safe-guide)",
"Skill(netsuite-suitescript-learning)",
"Bash(suitecloud project:deploy:*)"
]
}
}
With skill preloading configured, an assistant will automatically apply SDF best practices when you:
- Work on any NetSuite SDF project (SuiteApps or Account Customization projects).
- Create or modify SuiteScript files (all 14 script types including Suitelets, RESTlets, User Event Scripts, etc.).
- Work with Object XML files, custom records, custom fields, or other SDF objects.
- Configure deployment settings, manifest.xml, or deploy.xml.
- Ask questions about NetSuite SDF development.
- Encounter deployment errors or script issues.
Intended Audience
This skill is designed for Technical Architects, Developers, and System Administrators working with NetSuite SuiteScript and the SuiteCloud Development Framework (SDF). It is a practical companion to expert guidance and hands-on experience, not a replacement for the official NetSuite documentation. The focus is SuiteScript 2.1 with callouts to 2.0/1.0 only where meaningful differences exist.
When to Use This Skill
Proactive Invocation (Recommended)
This skill should be invoked automatically when:
- The user is working on a NetSuite SDF project.
- The user creates or modifies SuiteScript files.
- The user asks questions about SDF deployment, script types, or NetSuite development.
- The user encounters deployment errors or script issues.
Manual Invocation
- Commands: "generate objects", "create object for this script", "check my deployment XML".
- Questions: "What's wrong with my RESTlet?", "Why won't my script deploy?", "How do I add a button?".
- Best practices: "Review my SuiteScript", "Is this the right approach?", "What's the pattern for...".
Object Generation Mode
When the user says "generate objects" without specifying a file:
- Scan the entire
/SuiteScripts/folder (including subfolders) for all.jsfiles. - For each
.jsfile found:- Check if it has a valid
@NScriptTypeannotation. - Check if an object XML file already exists for it.
- If no object exists and it has a valid script type, generate the object.
- Check if it has a valid
- Skip files that:
- Already have corresponding object XML files.
- Don't have a valid
@NScriptTypeannotation. - Are schema files (
*_schema.json).
- Provide a summary of all files processed.
Si
Установить netsuite-sdf-safe-guide в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл netsuite-sdf-safe-guide?
Comprehensive NetSuite SDF best practices based on the SAFE Guide (12 principles + appendices). Generates Object XML for all 14 script types, enforces governance limits, security patterns, and defensive coding. Includes N/cache, N/query, concurrency limits, OAuth 2.0 guidance, legacy TBA guardrails, CustomTool runtime patterns, REST Web Services (2026.1 features), and 140+ documented pitfalls. Essential for SuiteApp and Account Customization development.
Как установить скилл netsuite-sdf-safe-guide?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл netsuite-sdf-safe-guide запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic