Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PatrickJS/awesome-cursorrules
/ functions
Functions
104 in github.com/PatrickJS/awesome-cursorrules
⨍
Functions
104
◇
Types & classes
0
↓ 59 callers
Function
write
(root, filePath, content)
scripts/check-repo-hygiene.test.mjs:15
↓ 40 callers
Function
write
(root, filePath, content)
scripts/check-repo-security.test.mjs:14
↓ 23 callers
Function
makeFixture
()
scripts/check-repo-hygiene.test.mjs:11
↓ 23 callers
Function
run
(root, args = [])
scripts/check-repo-hygiene.test.mjs:21
↓ 22 callers
Function
makeFixture
()
scripts/check-repo-security.test.mjs:10
↓ 22 callers
Function
run
(root, args = [])
scripts/check-repo-security.test.mjs:20
↓ 18 callers
Function
addFailure
({ ruleId, title, file, problem, why, fix })
scripts/check-repo-hygiene.mjs:150
↓ 12 callers
Function
inRange
(value, min, max)
scripts/check-repo-hygiene.mjs:775
↓ 10 callers
Function
write
(root, filePath, content)
scripts/check-repo-concerns.test.mjs:19
↓ 7 callers
Function
run
(args = [])
scripts/check-pr-author.test.mjs:11
↓ 6 callers
Function
jobBlock
(jobName, nextJobName)
scripts/workflow-security.test.mjs:16
↓ 6 callers
Function
write
(root, filePath, content)
scripts/check-awesome-list.test.mjs:15
↓ 5 callers
Function
makeFixture
()
scripts/check-repo-concerns.test.mjs:15
↓ 5 callers
Function
run
(entrypoint, root, args = [])
scripts/check-repo-concerns.test.mjs:25
↓ 4 callers
Function
fail
(message)
scripts/check-pr-author.mjs:156
↓ 4 callers
Function
githubRulesPrefix
(repository = DEFAULT_REPOSITORY, branch = DEFAULT_BRANCH)
scripts/repo-config.mjs:15
↓ 4 callers
Function
makeFixture
()
scripts/check-awesome-list.test.mjs:11
↓ 4 callers
Function
makeFixture
()
scripts/convert-readme-links.test.mjs:13
↓ 4 callers
Function
run
(root)
scripts/check-awesome-list.test.mjs:21
↓ 4 callers
Function
run
(root, args)
scripts/convert-readme-links.test.mjs:27
↓ 4 callers
Function
write
(root, filePath, content)
scripts/cleanup-legacy-artifacts.test.mjs:13
↓ 4 callers
Function
write
(root, filePath, content)
scripts/convert-readme-links.test.mjs:17
↓ 3 callers
Function
cleanupLegacyArtifacts
({ root = process.cwd(), artifacts = defaultLegacyArtifacts, } = {})
scripts/cleanup-legacy-artifacts.mjs:10
↓ 3 callers
Function
escapeRegExp
(value)
scripts/check-awesome-list.mjs:126
↓ 3 callers
Function
githubBlobPrefix
(repository = DEFAULT_REPOSITORY, branch = DEFAULT_BRANCH)
scripts/repo-config.mjs:7
↓ 3 callers
Function
read
(root, filePath)
scripts/convert-readme-links.test.mjs:23
↓ 2 callers
Function
describeConcerns
(selected)
scripts/check-repo-hygiene.mjs:124
↓ 2 callers
Function
extractSection
(markdown, heading)
scripts/check-awesome-list.mjs:115
↓ 2 callers
Function
githubRawPrefix
(repository = DEFAULT_REPOSITORY, branch = DEFAULT_BRANCH)
scripts/repo-config.mjs:11
↓ 2 callers
Function
hasNetworkEgressPattern
(content)
scripts/check-repo-hygiene.mjs:572
↓ 2 callers
Function
hasSensitiveCredentialPattern
(content)
scripts/check-repo-hygiene.mjs:578
↓ 2 callers
Function
isAgentInstructionFile
(file)
scripts/check-repo-hygiene.mjs:410
↓ 2 callers
Function
isCanonicalMdcRule
(file)
scripts/check-repo-hygiene.mjs:400
↓ 2 callers
Function
makeFixture
()
scripts/cleanup-legacy-artifacts.test.mjs:9
↓ 2 callers
Function
normalizeShellContinuations
(content)
scripts/check-repo-hygiene.mjs:767
↓ 2 callers
Function
parseConcerns
(value)
scripts/check-repo-hygiene.mjs:104
↓ 2 callers
Function
stripYamlQuotes
(value)
scripts/check-repo-hygiene.mjs:880
↓ 2 callers
Function
validReadme
(entry = `- [Rule](${githubRulesPrefix()}example.mdc) - Example rule content.\n`)
scripts/check-awesome-list.test.mjs:28
↓ 1 callers
Function
accountAgeDays
(createdAt, nowValue)
scripts/check-pr-author.mjs:129
↓ 1 callers
Function
checkContentsHierarchy
(readme, contents)
scripts/check-awesome-list.mjs:84
↓ 1 callers
Function
checkEntryDescriptions
(readme)
scripts/check-awesome-list.mjs:130
↓ 1 callers
Function
checkIssueTemplateGuardrails
()
scripts/check-repo-hygiene.mjs:313
↓ 1 callers
Function
checkPromptCredentialExfiltration
(file, content)
scripts/check-repo-hygiene.mjs:512
↓ 1 callers
Function
checkPromptSafety
(candidateFiles)
scripts/check-repo-hygiene.mjs:298
↓ 1 callers
Function
checkPromptUnicode
(file, content)
scripts/check-repo-hygiene.mjs:428
↓ 1 callers
Function
checkPromptUnsafeDeveloperCommands
(file, content)
scripts/check-repo-hygiene.mjs:585
↓ 1 callers
Function
checkReadme
()
scripts/check-awesome-list.mjs:38
↓ 1 callers
Function
checkReadme
()
scripts/check-repo-hygiene.mjs:194
↓ 1 callers
Function
checkReadmeLinks
(readme)
scripts/check-repo-hygiene.mjs:224
↓ 1 callers
Function
checkReadmeOnlyExternalListings
(files, diff)
scripts/check-repo-hygiene.mjs:895
↓ 1 callers
Function
checkReadmeSections
(readme)
scripts/check-repo-hygiene.mjs:203
↓ 1 callers
Function
checkReadmeStructure
(readme)
scripts/check-awesome-list.mjs:51
↓ 1 callers
Function
checkRuleFiles
(candidateFiles)
scripts/check-repo-hygiene.mjs:259
↓ 1 callers
Function
checkRuleFrontmatter
(file, content)
scripts/check-repo-hygiene.mjs:779
↓ 1 callers
Function
checkRuleLinks
(readme)
scripts/check-awesome-list.mjs:157
↓ 1 callers
Function
checkTokRepoHostedDiscoveryConsent
(file, content)
scripts/check-repo-hygiene.mjs:732
↓ 1 callers
Function
classifyPromptCodePoint
(codePoint)
scripts/check-repo-hygiene.mjs:458
↓ 1 callers
Function
extractEntries
(readme)
scripts/check-awesome-list.mjs:146
↓ 1 callers
Function
extractMarkdownLinks
(text)
scripts/check-awesome-list.mjs:176
↓ 1 callers
Function
extractMarkdownLinks
(text)
scripts/check-repo-hygiene.mjs:246
↓ 1 callers
Function
extractRuleInstructionContexts
(content)
scripts/check-repo-hygiene.mjs:540
↓ 1 callers
Function
failureBlocks
(stderr)
scripts/check-repo-hygiene.test.mjs:28
↓ 1 callers
Function
fetchGitHubUser
(username)
scripts/check-pr-author.mjs:100
↓ 1 callers
Function
formatCodePoint
(codePoint)
scripts/check-repo-hygiene.mjs:771
↓ 1 callers
Function
formatFailure
(failure)
scripts/check-repo-hygiene.mjs:160
↓ 1 callers
Function
formatUsage
(only)
scripts/check-repo-hygiene.mjs:86
↓ 1 callers
Function
hasCredentialTransferIntentPattern
(content)
scripts/check-repo-hygiene.mjs:554
↓ 1 callers
Function
hasHighRiskLocalCredentialPattern
(content)
scripts/check-repo-hygiene.mjs:566
↓ 1 callers
Function
hasMandatoryHostedTokRepoDiscovery
(content)
scripts/check-repo-hygiene.mjs:747
↓ 1 callers
Function
hasOutOfScopeSupportAcknowledgement
(content)
scripts/check-repo-hygiene.mjs:381
↓ 1 callers
Function
hasRuleFileCredentialExfiltrationPattern
(content)
scripts/check-repo-hygiene.mjs:531
↓ 1 callers
Function
hasTokRepoConsentAndRedactionLanguage
(content)
scripts/check-repo-hygiene.mjs:758
↓ 1 callers
Function
isAllowlisted
(username, allowlist)
scripts/check-pr-author.mjs:148
↓ 1 callers
Function
isBidirectionalTextControl
(codePoint)
scripts/check-repo-hygiene.mjs:474
↓ 1 callers
Function
isDisallowedControlCharacter
(codePoint)
scripts/check-repo-hygiene.mjs:484
↓ 1 callers
Function
isExternalOrAnchor
(target)
scripts/check-repo-hygiene.mjs:255
↓ 1 callers
Function
isInvisibleUnicode
(codePoint)
scripts/check-repo-hygiene.mjs:492
↓ 1 callers
Function
isPromptSafetyFile
(file)
scripts/check-repo-hygiene.mjs:404
↓ 1 callers
Function
isRuleFile
(file)
scripts/check-repo-hygiene.mjs:387
↓ 1 callers
Function
isSelfRepositoryListing
(line)
scripts/check-repo-hygiene.mjs:916
↓ 1 callers
Function
listFiles
(startDir)
scripts/check-repo-hygiene.mjs:170
↓ 1 callers
Function
listIssueForms
(issueTemplateDir)
scripts/check-repo-hygiene.mjs:371
↓ 1 callers
Function
looksLikeAiErrorMessage
(content)
scripts/check-repo-hygiene.mjs:395
↓ 1 callers
Function
markdownAnchor
(heading)
scripts/check-awesome-list.mjs:106
↓ 1 callers
Function
parseArgs
(argv)
scripts/check-awesome-list.mjs:25
↓ 1 callers
Function
parseArgs
(argv)
scripts/convert-readme-links.mjs:34
↓ 1 callers
Function
parseArgs
(argv)
scripts/cleanup-legacy-artifacts.mjs:45
↓ 1 callers
Function
parseArgs
(argv)
scripts/check-repo-hygiene.mjs:65
↓ 1 callers
Function
parseArgs
(argv)
scripts/check-pr-author.mjs:45
↓ 1 callers
Function
parseFrontmatter
(content)
scripts/check-repo-hygiene.mjs:848
↓ 1 callers
Function
parseMinimumAge
(value)
scripts/check-pr-author.mjs:121
↓ 1 callers
Function
readFrontmatterField
(frontmatter, field)
scripts/check-repo-hygiene.mjs:859
↓ 1 callers
Function
readLines
(filePath)
scripts/check-repo-hygiene.mjs:139
↓ 1 callers
Function
readOptional
(filePath)
scripts/check-repo-hygiene.mjs:146
↓ 1 callers
Function
readUserJson
(filePath)
scripts/check-pr-author.mjs:92
↓ 1 callers
Function
relativeToRoot
(filePath)
scripts/check-repo-hygiene.mjs:190
↓ 1 callers
Function
resolveLocalArtifact
(repoRoot, artifact)
scripts/cleanup-legacy-artifacts.mjs:30
↓ 1 callers
Function
resolveUser
(args)
scripts/check-pr-author.mjs:73
↓ 1 callers
Function
stripLinkTargets
(markdown)
scripts/check-awesome-list.mjs:80
↓ 1 callers
Function
toAbsoluteLinks
(markdown, prefix)
scripts/convert-readme-links.mjs:55
next →
1–100 of 104, ranked by callers