Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Update Sdlc Templates

ASecurity

Update .sdlc/templates/ with the latest canonical best practices, merging intelligently with any user customizations.

10 stars
0 votes
0 copies
0 views
Added 10/6/2026
documentationapidocumentation

Works with

api

Security Analysis

A100/100

Scanned 10/6/2026

$npx -y skills add tomzx/agents --skill update-sdlc-templates --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Update Sdlc Templates?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Update Sdlc Templates
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tomzx-update-sdlc-templates/badge)](https://www.skillsdirectory.com/skills/tomzx-update-sdlc-templates)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
name: update-sdlc-templates
description: Update .sdlc/templates/ with the latest canonical best practices, merging intelligently with any user customizations.
argument-hint: "[project-root]"
---

# Update SDLC Templates

Compares each file in `.sdlc/templates/` against the corresponding canonical template in `../sdlc/templates/` (relative to this skill).
Templates that the user has not modified are updated automatically.
Templates with user customizations are merged intelligently, preserving the user's additions while incorporating upstream structural improvements.

## Prerequisites

- Apply the shared SDLC conventions in `skills/sdlc/references/shared.md`.
- `.sdlc/templates/` directory exists (run `/initialize-sdlc-directory` first if not)
- The canonical templates at `../sdlc/templates/` relative to this skill file

## Steps

1. Determine the project root: use `$1` if provided, otherwise use the current working directory.

   **SDLC_DIR resolution:** Apply `sdlc/references/shared.md` for `.sdlc/templates/` paths (repo first, then `$SDLC_DIR/{owner}/{repository}/.sdlc/templates/`; mirror writes when set).

2. For each canonical template, read both versions:
   - **Canonical:** `../templates/<path>` (the upstream default)
   - **Installed:** `.sdlc/templates/<path>` (the project's copy, resolved via SDLC_DIR)

3. Classify each template into one of three states:

   | State | Condition | Action |
   |---|---|---|
   | **Up to date** | Installed matches canonical exactly | No action needed |
   | **Unmodified** | Installed differs from canonical but contains only placeholder text (no real content has been filled in) | Overwrite with canonical |
   | **Customized** | Installed has real content that differs from canonical | Merge (see below) |

4. For **customized** templates, perform an intelligent merge:
   - Preserve sections the user has written or renamed
   - Add new sections present in the canonical that are absent in the installed version
   - Update structural improvements (column renames, reordered frontmatter fields) without disturbing user content
   - If a merge would lose content or is ambiguous, report the conflict and leave the file unchanged

5. If any new canonical templates do not exist in `.sdlc/templates/` at all, create them (same as step 3 of `/initialize-sdlc-directory`).

6. Report the outcome for every template.

## Output Format

```
## SDLC templates updated

### Up to date (no changes)
- features/requirements.md

### Updated automatically (unmodified)
- features/tests.md  — added "Edge Cases" section

### Merged (customizations preserved)
- features/specification.md  — added "Constraints" section; kept your "API Contracts" section

### Conflicts (manual resolution required)
- features/plan.md  — upstream removed "Timeline" table; your version has content there. Resolve manually.

### New templates added
- features/documentation.md
```

## Merge Principles

- **Additive first:** only add; never remove a section the user has filled in.
- **Structural changes are safe:** renaming an empty column header, adding a new frontmatter field, or reordering empty sections can be applied without risk.
- **Content changes require judgement:** if canonical changed a section's purpose (not just its structure), surface it as a conflict rather than silently overwriting.
- **When in doubt, conflict:** a false conflict is easy to resolve; a silent data loss is not.

## Example Usage

**Scenario 1: Routine upgrade**
```
/update-sdlc-templates
```
Pulls in structural improvements from the latest canonical templates. User's project-specific content (filled-in sections, renamed columns) is preserved.

**Scenario 2: After cloning a new version of agents**
The canonical templates may have new sections or revised frontmatter.
Run `/update-sdlc-templates` to propagate changes to the project's `.sdlc/templates/` without discarding earlier customizations.

Attribution

tomzxtomzx
View sourceSee grades on GitHubMore from tomzx →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Context Fundamentals

Understand the components, mechanics, and constraints of context in agent systems. Use when designing agent architectures, debugging context-related failures, or optimizing context usage.

179001 votes

Architecture Diagram Creator

Create comprehensive HTML architecture diagrams with data flows, business context, and system architecture.

6661 votes

release-notes

Draft release notes and changelog entries from git history or merged PRs between two refs (tags/SHAs/branches), including breaking changes, migrations, and upgrade steps. Use when the user asks for release notes, changelog updates, or a GitHub Release draft.

1301 votes

docs-style-guide

Documentation style guide enforcer by @planetabhi. Applies and reviews the writing style guide when authoring or editing product documentation and tutorials. Use to check prose for voice, tense, word choice, inclusive language, formatting, code block, UI, Markdown, and number/date conventions.

11 votes

Docx

Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in W...

1798860 votes
View all in documentation →