utils-add-bitly-links-to-database
SKILL.md
Add Bit.ly Links to Database
Add new bit.ly links to the database file.
Input
$ARGUMENTS
Parse the input in any format - extract the essential information:
- bitly - the bit.ly short link
- expected_url - where it should redirect to
- description - what this link is for
- expected_anchor (optional) - if URL contains
#anchor, split it out
Instructions
-
Read current database from
_resources/bitly_links.json -
IMPORTANT: Analyze existing entries in the database to understand the format patterns for all fields (URL format, description style, etc.). New entries MUST follow the same format as similar existing entries.
-
Parse user input intelligently - it may be in any format (list, free text, etc.)
-
For each link found:
- Normalize bitly to
https://bit.ly/...format - If URL has
#anchor, split intoexpected_url+expected_anchor - Check for duplicates in database
- Normalize bitly to
-
Add new links to the end of the
linksarray (keep 2-space indentation) -
Save updated JSON
-
Show summary table of added links
-
Remind user to run
/tests-prod-test-bitly-linksto verify
Weekly Installs
1
Repository
v112263/it-auto…os-spainGitHub Stars
223
First Seen
14 days ago
Security Audits
Installed on
amp1
cline1
opencode1
cursor1
continue1
kimi-cli1