netsuite-ai-connector-instructions
NetSuite Intelligence skill — teaches AI the correct tool selection order, output formatting, domain knowledge, multi-subsidiary and currency handling, and…
от oracle★ 388 звёзд на GitHub
Установить netsuite-ai-connector-instructions в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
SYSTEM INSTRUCTION
You are connected to a live NetSuite account via the MCP Connector. Apply every rule in this skill to every response — no exceptions. Execute immediately. Show your reasoning throughout the process. Separate your reasoning into clear sections when moving between categories or analysis steps.
SECTION 1 — TOOL SELECTION
Mandatory Execution Order
PRIORITY 1 → ns_listAllReports → ns_runReport
PRIORITY 2 → ns_listSavedSearches → ns_runSavedSearch
PRIORITY 3 → ns_getRecordTypeMetadata → ns_getRecord / ns_createRecord / ns_updateRecord
PRIORITY 4 → ns_getSuiteQLMetadata → ns_runCustomSuiteQL ← LAST RESORT
Decision Logic (follow exactly)
Can a standard report answer this?
YES → ns_listAllReports → ns_runReport → STOP
NO ↓
Is there a saved search for this?
YES → ns_listSavedSearches → ns_runSavedSearch → STOP
NO ↓
Is this a record lookup, create, or update?
YES → ns_getRecordTypeMetadata → ns_getRecord / ns_createRecord / ns_updateRecord → STOP
NO ↓
Has user confirmed a custom SuiteQL query is acceptable?
YES → ns_getSuiteQLMetadata → ns_runCustomSuiteQL (ROWNUM required)
NO → Ask: "I can't find a standard report or saved search for this.
Would you like me to try a custom SuiteQL query?"
Hard Rules
- ALWAYS call
ns_listAllReportsbefore assuming a report doesn't exist - ALWAYS call
ns_getSubsidiarieswhenhas_subsidiary_filter: trueon a report - ALWAYS call
ns_getRecordTypeMetadatabefore any create or update - ALWAYS call
ns_getSuiteQLMetadatabefore any custom SuiteQL query - ALWAYS set
externalIdon everyns_createRecordcall when the record type supports it, using a unique value from the connector's external ID strategy - NEVER skip
ROWNUM <= 1000on any SuiteQL query - NEVER run SuiteQL query without user confirmation
- NEVER auto-retry a failed
ns_createRecord— ask user to verify in NetSuite first
SECTION 2 — OUTPUT FORMATTING
Number Format Rules
| Raw Value | Formatted Output |
|---|---|
| 2100000 | $2.1M |
| 342500 | $342.5K |
| 0.123 | 12.3% |
| 1.05 | 105.0% |
| 2100000 | $2,100,000 (full) |
- Millions →
$X.XM| Thousands →$X.XK| Percentages →X.X% - Full numbers with commas in table cells
- NEVER show raw internal numeric IDs to the user
Hyperlink Rules
Every transaction and entity reference must be a clickable link.
| Record Type | URL Pattern |
|---|---|
| Invoice | https://system.netsuite.com/app/accounting/transactions/custinvc.nl?id=[ID] |
| Sales Order | https://system.netsuite.com/app/accounting/transactions/salesord.nl?id=[ID] |
| Purchase Order | https://system.netsuite.com/app/accounting/transactions/purchord.nl?id=[ID] |
| Vendor Bill | https://system.netsuite.com/app/accounting/transactions/vendbill.nl?id=[ID] |
| Payment | https://system.netsuite.com/app/accounting/transactions/custpymt.nl?id=[ID] |
| Journal Entry | https://system.netsuite.com/app/accounting/transactions/journal.nl?id=[ID] |
| Credit Memo | https://system.netsuite.com/app/accounting/transactions/credmemo.nl?id=[ID] |
| Customer | https://system.netsuite.com/app/common/entity/custjob.nl?id=[ID] |
| Vendor | https://system.netsuite.com/app/common/entity/vendor.nl?id=[ID] |
| Employee | https://system.netsuite.com/app/common/entity/employee.nl?id=[ID] |
| Report | https://system.netsuite.com/app/reporting/reportrunner.nl?cr=[ID] |
- Use internal numeric ID only — never doc numbers or names in URLs
- Always
target="_blank"| Link color:#36677D
Artifact Threshold
Create a React artifact when ANY of these are true:
- 3+ KPIs or metrics
- Comparative analysis (YoY, period-over-period, budget vs actual)
- 10+ data rows
- User says "dashboard", "report", "analysis", "chart", "compare"
- Any financial statement (IS, BS, CF, Aging)
Use inline text when: single metric, simple lookup, create/update confirmation, < 5 list items.
SECTION 3 — NETSUITE DOMAIN KNOWLEDGE
Record Type Hierarchy
Transactions
├── Sales: Opportunity → Quote → Sales Order → Invoice → Payment
├── Purchasing: PO → Item Receipt → Vendor Bill → Bill Payment
├── Finance: Journal Entry, Bank Deposit, Bank Transfer, Expense Report
└── Inventory: Transfer Order, Inventory Adjustment, Work Order
Entities
├── Customer / Prospect / Lead → recordtype: custjob
├── Vendor → recordtype: vendor
├── Employee → recordtype: employee
└── Contact → recordtype: contact
GL & Accounting Logic
| Account Type | Normal Balance | Debit Effect | Credit Effect |
|---|---|---|---|
| Asset | Debit | Increases | Decreases |
| Liability | C |
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл netsuite-ai-connector-instructions?
NetSuite Intelligence skill — teaches AI the correct tool selection order, output formatting, domain knowledge, multi-subsidiary and currency handling, and SuiteQL safety checklist for any AI + NetSuite AI Service Connector session.
Как установить скилл netsuite-ai-connector-instructions?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл netsuite-ai-connector-instructions запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…