Przejdź do treści
Biblioteka skilli
Programowanie · Automatyzacja

salesforce-local-dev-loop

/salesforce-local-dev-loop

Buduje powtarzalną pętlę pracy w Salesforce DX z formatem source, testami syntetycznymi i autoryzowanym scratch orgiem lub sandboxem.

Licencja
MIT
Ostatnia zmiana repozytorium
26.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
2
Przestarzałość

Brak sygnałów. Repozytorium zmienione 26.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Buduje powtarzalną pętlę pracy w Salesforce DX z formatem source, testami syntetycznymi i autoryzowanym scratch orgiem lub sandboxem.

Wyzwalacze z opisu

build a Salesforce dev loop

Argumenty

/salesforce-local-dev-loop [project-path] [org-alias]
Oryginalny opis (EN)

Build a repeatable Salesforce DX development loop using source format, synthetic tests, and an authorized scratch org or sandbox. Use when changing metadata or integration code. Trigger with "build a Salesforce dev loop".

Jak działa

  1. Overview
  2. Prerequisites
  3. Tool Discipline
  4. Current Contract
  5. Authentication
  6. Instructions
  7. Approval Boundaries
  8. Output
  9. Error Handling
  10. Example
Sekcje z nagłówków SKILL.md, w oryginale · 67 linii, 452 słów
Podgląd SKILL.md
---
name: salesforce-local-dev-loop
description: 'Build a repeatable Salesforce DX development loop using source format, synthetic tests, and an authorized scratch org or sandbox. Use when changing metadata or integration code. Trigger with "build a Salesforce dev loop".'
argument-hint: "[project-path] [org-alias]"
allowed-tools: Read, Glob, Grep, WebFetch, Write, Edit
version: 1.8.0
author: Jeremy Longshore <jeremy@intentsolutions.io>
license: MIT
tags: [saas, salesforce, salesforce-dx, scratch-org, testing]
model: inherit
effort: high
compatibility: Designed for Claude Code; org creation, metadata deployment, and test-data loading require Dev Hub and administrator authorization
---
# Salesforce DX Local Development Loop

## Overview

Create a source-driven loop that separates static and synthetic checks from explicitly authorized org validation and leaves no unmanaged test data.

## Prerequisites

- A Salesforce DX project or an approved migration plan to source format
- An authorized Dev Hub and scratch-org definition, or a dedicated development sandbox
- Synthetic fixtures, test owner, cleanup policy, and current Salesforce CLI contract

## Tool Discipline

Use `Read`, `Glob`, and `Grep` to inspect approved repository and evidence files, `WebFetch` to re-check current first-party Salesforce documentation, and `Write` or `Edit` only for secretless plans, fixtures, configuration, and redacted receipts.

## Current Contract

Salesforce DX supports source-driven development and scratch orgs configured through project definitions; org availability, features, limits, duration, namespaces, and sandbox alternatives depend on the customer environment.

## Authentication

Use a named CLI alias backed by the approved OAuth path. Never commit authorization files, access tokens, private keys, usernames, org IDs, or generated user passwords.

## Instructions

1. Inspect project configuration, package directories, metadata ownership, API versions, hooks, and current CLI pin.
2. Choose a scratch org or development sandbox based on feature fidelity, data need, namespace, and lifecycle constraints.
3. Create synthetic fixtures and local contract tests that require no live org or secret.
4. Run formatting, static analysis, unit tests, schema checks, and metadata dependency checks locally.
5. With approval, create or authenticate the development org and deploy only the bounded source set.
6. Run Apex, Flow, Lightning, and integration tests applicable to the change; capture aggregate results and IDs only.
7. Delete synthetic data, close or expire temporary orgs, revoke temporary access, and record reproducible commands.

## Approval Boundaries

Do not create orgs, enable features, deploy metadata, load data, or change remote configuration without Dev Hub, admin, and component-owner approval.

## Output

Return the environment decision, pinned toolchain, source and fixture map, local and org test results, cleanup receipt, and remaining fidelity gaps.

## Error Handling

| Condition | Response |
|---|---|
| Scratch-org feature does not match production | Use an approved sandbox or revise the definition; do not weaken production metadata. |
| Deployment reports missing dependencies | Add the dependency explicitly or reduce the source set before retrying. |
| Test data cannot be proven synthetic | Stop and replace it before local export or CI use. |

## Example

A redacted completion receipt might look like this:

```text
project=sfdx; target=scratch-org; fixtures=synthetic; static=pass; deploy=validated; apex=pass; cleanup=complete
```

## Resources

- [Salesforce DX development model](https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_develop.htm)
- [Scratch org definition file](https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_scratch_orgs_def_file.htm)

## Next Steps

Run the workflow first in the lowest-risk authorized org and preserve its redacted receipt. Schedule a review against the next Salesforce seasonal release and the customer change calendar.

Wersje

W bazie nie ma innych skilli o nazwie salesforce-local-dev-loop.

Identyczna treść występuje jeszcze w 1 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.

Migawka bazy z 13.11.2026 · wersja paczki 4fa9120bd492 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100onenote-local-dev-loop
    Tworzy powtarzalną lokalną pętlę pracy nad integracją z OneNote z syntetycznymi danymi testowymi, makietami i zatwierdzonym delegowanym środowiskiem testowym, bez dotykania prawdziwych notatników.
  • 100adobe-local-dev-loop
    Buduje powtarzalną pętlę lokalnej pracy z adapterami Adobe na syntetycznych kontraktach, zanim dojdzie do wywołania zdalnego Runtime lub produktu.
  • 100salesforce-developer
    Buduje i modyfikuje rozwiązania Salesforce: klasy Apex, komponenty LWC, zapytania SOQL, Flows, wdrożenia Metadata API i pipeline DevOps.
  • 100cursor-local-dev-loop
    Optymalizuje lokalny przepływ pracy programisty w Cursor, np. pętlę developmentu i produktywność dzienną.
  • 90salesforce-architecture
    Pomaga w architekturze organizacji Salesforce: planowanie pojemności, przegląd bezpieczeństwa i udostępniania, wzorce integracji i dług techniczny.
  • 100salesforce-safe-delivery
    Pilnuje bezpiecznego wdrażania zmian w organizacji Salesforce: sandbox najpierw, weryfikacja na żywo, analiza wpływu i zgoda człowieka na każdą akcję produkcyjną. Przydaje się przy każdej zmianie.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.