Skip to content

Commit 69db86a

Browse files
authored
Refactoring Code Snippets (#1631)
This PR implements a major repository reorganization to align with the updated contribution guidelines and improve the overall structure of the ServiceNow Developer Program's Code Snippets Repository. Key Changes 🗂️ Repository Structure Overhaul: Reorganized all 900+ code snippets into the standardized 6 top-level categories as defined in the updated contribution guidelines 📋 Enhanced Documentation: Added comprehensive AGENTS.md file with detailed repository guidelines, development standards, and contribution requirements 🔧 Configuration Updates: Updated Agent settings and GitHub workflow configurations 📁 Category Standardization: Moved all existing snippets from previous directory structure to the new mandatory category structure: Core ServiceNow APIs/ (GlideRecord, GlideAjax, GlideDateTime, etc.) Server-Side Components/ (Business Rules, Script Includes, Background Scripts, etc.) Client-Side Components/ (Client Scripts, UI Actions, Catalog Client Scripts, etc.) Modern Development/ (Service Portal, NOW Experience, GraphQL, etc.) Integration/ (REST APIs, Import Sets, Mail Scripts, etc.) Specialized Areas/ (CMDB, ITOM, Performance Analytics, etc.) Technical Improvements 📝 Documentation Standardization: All code snippets now follow consistent README.md documentation patterns 🔍 Improved Discoverability: Better categorization makes finding relevant code examples more intuitive ⚡ Enhanced Maintainability: Clearer structure reduces contribution friction and improves code review process 🛡️ Quality Enforcement: Updated guidelines ensure higher code quality and consistency across all contributions Breaking Changes Directory Structure: All file paths have changed due to reorganization Navigation: Links and bookmarks to specific snippets will need to be updated Contribution Process: New submissions must follow the mandatory 6-category structure This refactoring establishes a solid foundation for the repository's continued growth while maintaining the high-quality, practical ServiceNow development examples that make this resource valuable to the community.
1 parent 9021722 commit 69db86a

File tree

2,132 files changed

+5510
-5338
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,132 files changed

+5510
-5338
lines changed

.claude/settings.local.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"permissions": {
3+
"allow": [
4+
"Bash(find:*)",
5+
"Bash(ls:*)",
6+
"Bash(mkdir:*)",
7+
"Bash(mv:*)",
8+
"Bash(rmdir:*)"
9+
],
10+
"deny": []
11+
}
12+
}

AGENTS.md

Lines changed: 118 additions & 0 deletions

CONTRIBUTING.md

Lines changed: 43 additions & 23 deletions

0 commit comments

Comments
 (0)