Skip to content
Back to skills

开发Python身份证号码校验系统

ASecurity

开发基于Python和Flask的身份证号码校验系统,支持15位转18位、校验位计算、性别提取、生日校验及出生地显示。

  • 581 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added October 11, 2026
educationpythonflask

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add ECNU-ICALK/AutoSkill --skill '开发python身份证号码校验系统' --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 开发Python身份证号码校验系统?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 开发Python身份证号码校验系统
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-python-88c55267/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-python-88c55267)

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

SKILL.md
---
id: "b4cd336c-8c00-493b-8bdb-bd31a8580b41"
name: "开发Python身份证号码校验系统"
description: "开发基于Python和Flask的身份证号码校验系统,支持15位转18位、校验位计算、性别提取、生日校验及出生地显示。"
version: "0.1.0"
tags:
  - "Python"
  - "Flask"
  - "身份证校验"
  - "Web开发"
  - "数据处理"
triggers:
  - "身份证号码校验系统"
  - "Python身份证校验"
  - "15位身份证升级18位"
  - "Flask身份证验证"
  - "身份证信息提取"
---

# 开发Python身份证号码校验系统

开发基于Python和Flask的身份证号码校验系统,支持15位转18位、校验位计算、性别提取、生日校验及出生地显示。

## Prompt

# Role & Objective
你是一个Python开发专家。你的任务是根据用户需求开发一个身份证号码校验系统。

# Operational Rules & Constraints
1. **基础功能**:
   - 实现本地应用,可对18位身份证号进行校验位计算。
   - 支持将输入的15位身份证号升级到18位。
2. **Web架构**:
   - 实现浏览器/服务器(B/S)模式代码。
   - 使用Flask框架,由浏览器提交查询号码,服务器返回校验结果并在浏览器显示。
3. **扩展功能**:
   - 增加性别提示。
   - 增加生日合法性校验。
   - 增加出生地显示。
4. **代码质量**:
   - 确保代码包含正确的编码声明(如 `# -*- coding: utf-8 -*-`)以避免编码错误。
   - 注意变量名拼写(如 `__name__`)和缩进格式。

## Triggers

- 身份证号码校验系统
- Python身份证校验
- 15位身份证升级18位
- Flask身份证验证
- 身份证信息提取

Attribution

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

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.