Preface¶
When dealing with sticky keyholes, stuck latch bolts, or wanting to replace a lock cylinder in a rental, the common question isn’t just “should I replace it?”, but rather how to distinguish between replacing the cylinder or the entire lock body, how to measure dimensions, and whether a smart lock can be installed DIY. Online tutorials are often scattered, and pitfalls regarding security levels and incorrect sizing are easily overlooked.
Here we introduce the SkillHub community skill “Door Lock Replacement Tutorial”: simply provide the fault description, lock type, and measurement results to the Agent in a conversation. It will follow a fixed process to output diagnosis, purchasing, and disassembly/installation steps, while clearly identifying situations where you should call a locksmith instead of forcing a DIY job.
What is this¶
“Door Lock Replacement Tutorial” is an Agent Skill for life-service scenarios, located at @user_70c2f807/door-lock-replacement-tutorial, version 1.0.0, sourced from the community, and maintained by the publisher user_70c2f807. The Skill adopts the standard SKILL.md format and requires_api_key=false, requiring no additional API Key.
It solves the following issues: when users mention lock replacement, door lock faults, cylinder replacement, or smart lock installation feasibility, it helps the Agent judge the fault type, distinguish between replacing the cylinder or the lock body, guide specification measurement, provide DIY replacement steps and purchasing advice. The documentation also explicitly states scenarios that should be referred to professional channels, such as lockout services, complex lock bodies, and hole modification for certain smart locks.
Core Functions¶
The following capabilities are defined in the Skill’s SKILL.md. Once installed, the Agent executes steps and output templates based on them.
- Trigger & Boundary: Enabled when users mention lock replacement, broken door locks, lock replacement (English), smart lock installation, cylinder replacement, etc.; does not cover lockout services, safes, or car locks.
- Problem Diagnosis (Step 1): Confirms the fault phenomenon, lock type (knob lock / lever handle lock / mortise lock + cylinder, etc.), and whether it is an entry door or interior door, and judges whether to replace the cylinder or the entire lock body.
- Measurement & Purchasing (Step 2): Guides the measurement of the lock body strike plate and cylinder length, offset, etc.; explains the differences between Grade A/B/C cylinders; reminds users to measure before ordering.
- Replacement Operation (Step 3): Lists tools (e.g., Phillips/flat-head screwdrivers) and provides step-by-step instructions for removing the old cylinder, installing the new one, and key testing points.
- Structured Output: Outputs according to the “Door Lock Replacement Plan” template defined in the Skill, including diagnosis, DIY difficulty, measurement guide, purchasing table, disassembly/installation steps, acceptance checklist, and items to confirm before smart lock installation (door thickness, top/bottom bolts, strike plate, power connection, etc.).
- Errors & FAQ: Provides corresponding tips for being locked out, lock body replacement, unclear dimensions, multi-point locks (top/bottom bolts), and smart lock hole modification; FAQ covers cylinder grade identification, rental lock changes, lubrication, and online cylinder purchasing.
Output principles emphasize: recommending Grade C or higher cylinders for entry doors, specific measurement steps, distinguishing the difficulty between cylinder and lock body replacement, and suggesting brand installation services for complex smart locks.
Installation & Enablement¶
Install SkillHub CLI¶
If the CLI is not installed, you can check the version first:
command -v skillhub && skillhub --version
If not installed, follow the SkillHub official installation documentation for a complete installation (CLI + default Skills):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
To install only the CLI:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
For more complete priority source and first-time configuration instructions, see: SkillHub Installation & Priority Source Configuration.
Install this Skill¶
When installing, you must use --dir to point to the current Agent’s skills directory; otherwise, installing to the default ./skills/ might not be recognized. The installation command example for this Skill:
skillhub install door-lock-replacement-tutorial --namespace user_70c2f807 --dir <skills directory>
In Cursor, the common skills directory is:
~/.cursor/skills/
You can also provide the following prompt to an AI to let it complete the installation based on the official documentation:
Please install `@user_70c2f807/door-lock-replacement-tutorial` according to https://skillhub.cn/install/skillhub.md.
After installation, restart or refresh the Agent according to your client’s requirements to load the new Skill.
Typical Usage¶
The “Quick Start” examples in the Skill documentation can be used directly as conversation entry points, and the Agent will enter the diagnostic and guidance process. For example:
The door lock key is hard to use and feels gritty when turning. Do I need to replace the lock?
I want to upgrade the old lock to a Grade C cylinder. Can I do it myself?
I want to change the lock in my rental to ensure safety. How should I choose?
What is the problem if the door lock latch fails to pop out?
I want to install a smart lock. Is my door compatible?
Through the steps above, the Agent should complete problem diagnosis, measurement and purchasing instructions, and replacement operation guidance in sequence, and provide a plan according to the output format in SKILL.md (including measurement specifications such as common cylinder lengths of 60–80mm, Grade C entry door suggestions, installation and acceptance checklists, etc.). Users only need to supplement the actual lock type and measurement results in the conversation without needing to assemble prompt templates themselves.
Applicable Scenarios & Notes¶
Who it is for
- Residents or tenants who wish to replace lock cylinders themselves to reduce labor costs for on-site lock replacement.
- DIY users who need to confirm dimensions and security levels before purchasing to avoid buying the wrong specifications.
- Users who want to initially assess whether a smart lock is suitable for their door type before deciding whether to use brand installation services.
Limitations & Notes
- Locked out: The Skill explicitly guides contacting public security filed lockout services and does not provide lock-picking techniques.
- Security Level: Grade C cylinders are recommended for entry doors; safety levels should not be lowered during replacement.
- Dimensions: Lock body/cylinder specifications vary; you must measure physically before purchasing. If uncertain, measure first as required by the Skill rather than asking for model recommendations directly.
- Smart Locks: When involving power connection, drilling, or hole modification, the documentation suggests using brand-side installation services in most cases.
- Complex Situations: For overall lock body replacement, top/bottom bolts, etc., the Skill suggests hiring a professional locksmith.
SkillHub page statistics (based on scraped data): Category life-service, Rating 100000, Downloads 757, Installs 0; specific numbers may change with platform updates, please refer to SkillHub.
Conclusion¶
“Door Lock Replacement Tutorial” integrates diagnosis, measurement, purchasing, installation, and boundary explanations related to lock replacement into a reusable Agent process. It is suitable for environments supporting Skills (like Cursor), where users can simply describe door lock issues in natural language to get a structured DIY plan. Official Skill address: https://api.skillhub.cn/user_70c2f807/door-lock-replacement-tutorial; SkillHub display page: https://www.skillhub.cn/skills/user_70c2f807/door-lock-replacement-tutorial.