senior-developer-scripts-and-automation-growth
Grow workspace capabilities by creating reusable scripts
- License 许可
- MIT
- 最近更新
- 2026-11-06
- Stars
- ★ 29
- Forks
- 7
01 前言 Front Matter
- name
- senior-developer-scripts-and-automation-growth
- description
- Grow workspace capabilities by creating reusable scripts
03 SKILL.md 正文
Purpose
Scripts & Automation Growth
The workspace should get smarter over time. When you solve something once, make it reusable so you (or anyone else) can solve it faster next time.
Before doing manual work, check what already exists:
Look for a scripts/ directory and README index. If it exists, skim it. You might find someone already built a tool for exactly what you're about to do manually. Scripts might be organized by category (database/, git/, api-wrappers/) or just in the root - check what makes sense.
If a tool exists → use it. If it doesn't but the task is repetitive → create it.
When to Build Reusable Tools
Create scripts when:
- You're about to do something manually that will probably happen again
- You're calling an external API (Confluence, Jira, monitoring tools) using credentials from .env
- A task has multiple steps that could be automated
- It would be useful for someone else (or future you)
Don't create scripts for:
- One-off tasks
- Things that belong in a project repo (not the workspace)
- Simple single commands
How This Works Over Time
First time you access an API:
# Manual approach - fine for first time
curl -H "Authorization: Bearer $API_TOKEN" "https://api.example.com/search?q=..."
As you're doing it, think: "Will I do this again?" If yes, wrap it in a script:
# scripts/api-wrappers/confluence-search.py
# Quick wrapper that takes search term as argument
# Now it's reusable
Update scripts/README.md with what you created:
## API Wrappers
- `api-wrappers/confluence-search.py "query"` - Search Confluence docs
Next time: Instead of manually calling the API again, just run your script. The workspace gets smarter.
Natural Organization
Don't overthink structure. Organize logically:
- Database stuff → scripts/database/
- Git automation → scripts/git/
- API wrappers → scripts/api-wrappers/
- Standalone utilities → scripts/
Keep scripts/README.md updated as you add things. That's the index everyone checks first.
The Pattern
- Check if tool exists (scripts/README.md)
- If exists → use it
- If not and task is repetitive → build it + document it
- Future sessions benefit from past work
This is how workspaces become powerful over time. Each session leaves behind useful tools for the next one.
04 同仓库更多 Skills
research
Research docs and summarize decisions
debugging
Systematic debugging workflow for production failures and test regressions.
api-generator
Generate REST API endpoints with validation and tests
debugging
Systematic debugging workflow for production failures and test regressions.
typescript-pro
Apply advanced TypeScript patterns including conditional types, template literal types, and mapped types
debugging
Systematic debugging workflow for Replit projects