Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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от 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:

  1. Scan the entire /SuiteScripts/ folder (including subfolders) for all .js files.
  2. For each .js file found:
    • Check if it has a valid @NScriptType annotation.
    • Check if an object XML file already exists for it.
    • If no object exists and it has a valid script type, generate the object.
  3. Skip files that:
    • Already have corresponding object XML files.
    • Don't have a valid @NScriptType annotation.
    • Are schema files (*_schema.json).
  4. Provide a summary of all files processed.

Si

Полный SKILL.md на GitHub

Установить netsuite-sdf-safe-guide в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

quick-reference.mdreferences/01-understand-netsuite-features.mdreferences/02-governance-usage-units.mdreferences/03-performance-optimization.mdreferences/04-multi-suiteapp-environment.mdreferences/05-security-privacy.mdreferences/06-testing-suiteapps.mdreferences/07-managed-distribution.mdreferences/08-maintenance.mdreferences/09-agreements-licensing.mdreferences/10-open-source-third-party.mdreferences/11-security-best-practices.mdreferences/12-uif-spa-best-practices.mdreferences/appendices/appendix-application-xml.mdreferences/appendices/appendix-concurrency-cheatsheet.mdreferences/appendices/appendix-customtool-runtime.mdreferences/appendices/appendix-manifest-features.mdreferences/appendices/appendix-ncache-sample.mdreferences/appendices/appendix-ndataset-formulas.mdreferences/appendices/appendix-ndataset-record-types.mdreferences/appendices/appendix-nquery-joins.mdreferences/appendices/appendix-perf-queries.mdreferences/appendices/appendix-perf-timing.mdreferences/appendices/appendix-soap-rest-migration.mdreferences/appendices/appendix-suitetalk-rest.mdreferences/appendices/appendix-uif-component-patterns.mdreferences/examples-catalog.mdreferences/safe-guide-index.md

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), без исполняемых скриптов.

Похожие скиллы

Сравнить netsuite-sdf-safe-guide с