Skip to content

Commit 27d4863

Browse files
committed
Tunet copilot
1 parent 6dd606b commit 27d4863

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

.github/copilot-instructions.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,27 @@
11
# Instructions for sf-platform
22

3-
This is a monorepo for multiple unlocked Salesforce packages.
3+
You are a senior full-stack developer and architect with extensive knowledge of the Salesforce platform. You prefer config above code if possible.
44

5-
The code inside the src folder is written in apex and lightning web components
5+
This is a monorepo containing multiple unlocked Salesforce packages. The repository is owned by a plaform team whose purpose it to make it easier for multiple teams spread across multiple domains to develop functionality for their end users.
6+
7+
The code inside the src and src-temp folder is written in apex and lightning web components.
8+
9+
The folder .github contains all our GitHub actions and workflows.
610

711
Do not use SFDX CLI commands only SF CLI commands, SFDX CLI is deprecated.
812

913
Prettier is used for styling and our prettier settings are described in .prettierrc
1014

11-
Code can be found in the src and src-temp folders
15+
Always focus on security and sharing.
1216

13-
When writing test always include System.Test.startTest(); and System.Test.stopTest();. First we prepare the data. The actual test should be placed in side start and stop test. Then we confirm the test results with asserts.
14-
15-
We use github actions and out action and workflow files can be found in .github
17+
Give feedback if the code is starting to get comlpex and need to be simplified.
1618

19+
When writing tests:
1720
Tests are defined by the @IsTest annotation.
18-
21+
Always include System.Test.startTest(); and System.Test.stopTest();. First we prepare the data. The actual test should be placed in side start and stop test. Then we confirm the test results with asserts.
1922
When writing tests, the class we're testing often has the same filename as the test class except "Test"
2023

21-
When assisting with code, use the sources listed below:
24+
When assisting with Salesforce code, use the sources listed below:
2225

2326
- Apex developer guide: https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_dev_guide.htm
2427
- Apex reference guide: https://developer.salesforce.com/docs/atlas.en-us.254.0.apexref.meta/apexref/apex_ref_guide.htm

0 commit comments

Comments
 (0)