You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: common.rb
    path of file: ./repos/gitlabhq/lib/gitlab/ci/status/build
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module Gitlab
  module Ci
    module Status
      module Build
        module Common
          def illustration
            {
              image: 'illustrations/empty-state/empty-job-skipped-md.
    
          def illustration
            {
              image: 'illustrations/empty-state/empty-job-skipped-md.svg',
              size: '',
              title: _('This job does not have a trace.')
            }
          end

          def has_details?
            can?(user, :read_build, subject)
          end

          def details_path
            project_job_path(subject.project, subject)
          end
        end