SCRIPTING HELP: State that seals learned skills until recovery

Hey everyone,

I'm a noob. ATM I only know how to make custom windows so I thought I'd try and learn something new. Problem is, I don't really know where to start. I have an idea of how it should work but I'm unsure if this is a good way of going about it:

Code:
class Game_CustomStateEffects < Game_BattlerBase
  #----
  # seal skills
  # - disable learned skills based on specific or random SkillID or TypeID
  # - disable a specific number of skills
  #----
  #
 
  def get_learnedskills
    #checks all currently learned skills and their type
  end
 
  def sealskill (SkillID)
    #disables specific skill based on ID
  end
 
  def sealskilltype (SkilltypeID)
    #disables skill type based on ID
  end
 
  def sealrandomskill (x,SkilltypeID)
    #seals x number of skills at random, limited to type
  end
 
end

Original thread: https://forums.rpgmakerweb.com/threads/scripting-help-state-that-seals-learned-skills-until-recovery.132076/