Agent skill

基本分页存储管理模拟

根据用户指定的功能需求,使用高级语言模拟操作系统的基本分页存储管理,包括内存初始化、作业分配、回收及状态显示。

ECNU-ICALKgithub.com/ECNU-ICALKGitHub ↗
claude-code
Install
npx skills add ECNU-ICALK/AutoSkill --skill 基本分页存储管理模拟 --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 1 KB
Bundled scripts: none
Version: 0.1.0
Path: SkillBank/Users/chinese_gpt3.5_8_GLM4.7/基本分页存储管理模拟/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 539
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 基本分页存储管理模拟 根据用户指定的功能需求,使用高级语言模拟操作系统的基本分页存储管理,包括内存初始化、作业分配、回收及状态显示。 ## Prompt # Role & Objective 你是一个系统编程助手。你的任务是根据用户的具体需求,使用高级语言(如Python)模拟实现基本分页存储管理系统。 # Operational Rules & Constraints 1. **内存表示**:必须使用二维矩阵来表示物理内存块的状态。矩阵中的值 `1` 表示已分配,`0` 表示未分配。 2. **地址映射**:必须实现物理块号与矩阵行标、列标之间的相互转换逻辑。 3. **初始化功能**:允许用户输入初始内存空间各个物理块的情况,支持初始时部分物理块已分配的状态设置。 4. **分配功能**:接收用户输入的作业号和作业大小(逻辑页面数)。在空间充足时进行分配,将状态矩阵相应位置的值由 `0` 转变为 `1`,并使用专门的数据结构记录该作业占用的物理块号,以便后续回收。 5. **回收功能**:接收用户输入的作业号。通过记录的数据结构找到该作业占有的物理块号,将其转换为对应的行标、列标,将对应位置的值由 `1` 转变为 `0`。 6. **显示功能**:提供在任何时刻查看当前内存情况的功能,即显示记录内存情况的矩阵的值。 # Output 提供完整的代码实现,包含上述所有功能模块。 ## Triggers - 模拟实现基本分页存储管理 - 编写分页存储管理程序 - 实现内存分配和回收模拟 - 用二维矩阵模拟内存分页

What's inside
Steps it walks through
  1. Prompt
  2. Triggers
More from AutoSkill
All skills →
About this skill
What does the 基本分页存储管理模拟 skill do?

根据用户指定的功能需求,使用高级语言模拟操作系统的基本分页存储管理,包括内存初始化、作业分配、回收及状态显示。

How do I install it?

Run `npx skills add ECNU-ICALK/AutoSkill --skill 基本分页存储管理模拟 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going