agentleFS
peopleforresterpeopleforrester/claude-dotfiles/skills/workflow/deploy/SKILL.md

deploy

Skill3 starsChanged 8 months agoMITView on GitHub

Guide through a safe deployment process with verification

  • Commits and pushes

100 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use azure-kusto-graph, azure-kusto-irql and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • MicrosoftSkill

    azure-kusto-graph

    Build and query Kusto graphs from natural language. Covers transient graphs (make-graph), persistent graph models/snapshots, pattern matching (graph-match), shortest paths, connected components, and graph-to-table export. Generates the edges-first thinking: define edges, define node lookups, union, make-graph. WHEN: make-graph, graph-match, graph-shortest-paths, graph-to-table, graph-mark-components, persistent graph, graph model, graph snapshot, build a graph from data, find paths between nodes, pattern matching in graph, connected components, transient graph, Kusto graph, KQL graph.

    Also in 3 projects that use this

  • MicrosoftSkill

    azure-kusto-irql

    Compose IRQL (Incident Response Query Language) queries for Kusto cybersecurity investigations. Translates natural language hunting questions into composable IRQL pipelines using Get_*, Extract_*, and Enrich_* functions. WHEN: IRQL query, security hunt, threat hunting KQL, incident response query, compose hunting pipeline, failed logins, phishing investigation, lateral movement, process execution, file creation events.

    Also in 3 projects that use this

  • pvnarpSkill

    incident

    Guides incident response and post-mortem analysis. Covers triage, mitigation, root cause analysis, and prevention. Use when responding to active incidents, writing post-mortems, or improving incident processes.

    Also in 7 projects that use this

  • ww-w-aiSkill

    starter

    Static web development guide for beginners. Covers HTML/CSS/JavaScript and Next.js App Router basics. Project initialization with "init starter". Triggers: static website, portfolio, landing page, HTML CSS, beginner, 정적 웹, 포트폴리오, 초보자, 静的サイト, 初心者, 静态网站, 初学者, sitio web estático, site statique, statische Website, sito web statico Do NOT use for: fullstack apps (use $dynamic), enterprise (use $enterprise).

    Also in 3 projects that use this

  • +8 more from microsoft

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 85 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Always have a rollback ready:

    line 117
  2. Distinctive:

    Document any manual steps needed

    line 186
  3. Distinctive:

    Keep deploys small and frequent

    line 187

“Common” is measured: kept by at least 6 in 10 of the 85 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/deploy - Deployment Workflow

Guide through a safe deployment process.

Usage

/deploy [environment]
/deploy staging
/deploy production

Pre-Deployment Checklist

1. Code Readiness

## Pre-Deploy Checks

### Code
- [ ] All tests passing
- [ ] No linting errors
- [ ] Code reviewed and approved
- [ ] No console.log or debug statements
- [ ] Feature flags configured correctly

### Git
- [ ] On correct branch
- [ ] Branch up to date with main
- [ ] No merge conflicts
- [ ] Commit messages are clear

2. Environment Verification

### Environment: [staging/production]
- [ ] Environment variables set
- [ ] Secrets/credentials valid
- [ ] Database migrations ready
- [ ] External service dependencies available

3. Deployment Steps

Provide environment-specific steps:

Staging Deployment

# 1. Ensure tests pass
npm test

# 2. Build the application
npm run build

# 3. Run database migrations (if any)
npm run db:migrate

# 4. Deploy to staging
git push origin staging
# or: npm run deploy:staging

# 5. Verify deployment
curl https://staging.example.com/health

Production Deployment

# 1. Final verification
npm test
npm run lint
npm run typecheck

# 2. Create release tag
git tag -a v1.2.3 -m "Release v1.2.3"
git push origin v1.2.3

# 3. Deploy
git push origin main
# or: npm run deploy:production

# 4. Monitor deployment
# Watch logs, metrics, error rates

4. Post-Deployment Verification

## Post-Deploy Verification

### Health Checks
- [ ] Application is responding
- [ ] Health endpoint returns 200
- [ ] Key API endpoints working

### Smoke Tests
- [ ] User can log in
- [ ] Core functionality works
- [ ] No increase in error rates

### Monitoring
- [ ] Check error tracking (Sentry, etc.)
- [ ] Check application logs
- [ ] Check metrics dashboard
- [ ] Check alert systems

5. Rollback Plan

Always have a rollback ready:

## Rollback Procedure

If issues are detected:

### Immediate Rollback
```bash
# Revert to previous version
git revert HEAD
git push origin main

# Or deploy previous tag
git checkout v1.2.2
npm run deploy:production

Database Rollback (if needed)

# Rollback last migration
npm run db:rollback

Communication

  • Notify team in #deployments
  • Update status page if customer-facing
  • Document incident

## Deployment Log Template

```markdown
## Deployment: [Date] [Version]

**Deployer**: [Name]
**Environment**: [staging/production]
**Start Time**: [HH:MM]
**End Time**: [HH:MM]

### Changes Included
- [Feature/fix 1]
- [Feature/fix 2]

### Pre-Deploy Status
- Tests: ✅ Passing
- Build: ✅ Successful
- Migrations: ✅ Ready

### Deployment Status
- [ ] Deployed successfully
- [ ] Health checks passing
- [ ] Smoke tests passing

### Issues Encountered
- [None / Description of issues]

### Rollback Required
- [ ] Yes / [x] No

### Notes
[Any additional observations]

Tips

  • Deploy during low-traffic periods
  • Have team members available during deploy
  • Monitor for at least 15 minutes after deploy
  • Document any manual steps needed
  • Keep deploys small and frequent

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.