File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -133,6 +133,35 @@ This repository has been approved by Hacktoberfest in spirit of learning source
133133
134134That's it! ** For detailed contribution instructions, please read our [ CONTRIBUTING.md] ( CONTRIBUTING.md ) guide before submitting.**
135135
136+
137+ 📝 Code Snippet Submission Template
138+
139+ To help maintain consistency, please use the following structure when adding a new snippet:
140+
141+ Snippet Name: <Descriptive name >
142+ Category: <Core APIs | Server-Side | Client-Side | Modern Development | Integration | Specialized Areas>
143+ Description: <Brief summary of what the snippet does >
144+ Usage: <Step-by-step instructions to use the snippet >
145+ Code File(s):
146+ - snippet_file.js # main snippet
147+ - variant.js # optional variants
148+ Tags: <keywords to help search >
149+ Author: <Your GitHub username >
150+
151+
152+ Example:
153+
154+ Snippet Name: GlideRecord Query Optimization
155+ Category: Core APIs
156+ Description: Shows how to optimize GlideRecord queries for better performance.
157+ Usage: Copy the snippet into a Background Script or Script Include and adjust table/fields as needed.
158+ Code File(s):
159+ - basic_query.js
160+ - optimized_query.js
161+ Tags: GlideRecord, Performance, Optimization
162+ Author: @yourusername
163+
164+
136165### What makes a good contribution?
137166
138167- ** Useful snippets** that solve common ServiceNow development challenges
You can’t perform that action at this time.
0 commit comments